extending debian...changing webmin port doesn't work

Discussion in 'HOWTO-Related Questions' started by fresco, Aug 21, 2011.

  1. fresco

    fresco New Member

    Hi, sorry if I've wrongly commented on the tutorial, this should the appropriate place.
    I've followed the perfect debian server with ispconfig3 tutorial, then the SSL post on faqforge, and everything went ok on my virtualized server and on the online one. Once it gets to changing default port for webmin, activating it on ispconfig firewall, restarting webmin and apache, and no way, the page I get on the browser (url is https://x.x.x.x:1888) is (Chrome in this case, but the timeout is consistent for all browsers.

    Error 118 (net::ERR_CONNECTION_TIMED_OUT)

    I've checked with a netstat, but the port is listening

    tcp 0 0 0.0.0.0:18888 0.0.0.0:* LISTEN 32521/perl

    udp 0 0 0.0.0.0:18888 0.0.0.0:* 32521/perl

    an iptables list gives this response

    <code> Chain INPUT (policy DROP)

    target prot opt source destination

    DROP tcp -- anywhere loopback/8

    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED

    ACCEPT all -- anywhere anywhere

    DROP all -- base-address.mcast.net/4 anywhere

    PUB_IN all -- anywhere anywhere

    PUB_IN all -- anywhere anywhere

    PUB_IN all -- anywhere anywhere

    PUB_IN all -- anywhere anywhere

    DROP all -- anywhere anywhere

    Chain FORWARD (policy DROP)

    target prot opt source destination

    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED

    DROP all -- anywhere anywhere

    Chain OUTPUT (policy ACCEPT)

    target prot opt source destination

    PUB_OUT all -- anywhere anywhere

    PUB_OUT all -- anywhere anywhere

    PUB_OUT all -- anywhere anywhere

    PUB_OUT all -- anywhere anywhere

    Chain INT_IN (0 references)

    target prot opt source destination

    ACCEPT icmp -- anywhere anywhere

    DROP all -- anywhere anywhere

    Chain INT_OUT (0 references)

    target prot opt source destination

    ACCEPT icmp -- anywhere anywhere

    ACCEPT all -- anywhere anywhere

    Chain PAROLE (15 references)

    target prot opt source destination

    ACCEPT all -- anywhere anywhere

    Chain PUB_IN (4 references)

    target prot opt source destination

    ACCEPT icmp -- anywhere anywhere icmp destination-unreachable

    ACCEPT icmp -- anywhere anywhere icmp echo-reply

    ACCEPT icmp -- anywhere anywhere icmp time-exceeded

    ACCEPT icmp -- anywhere anywhere icmp echo-request

    PAROLE tcp -- anywhere anywhere tcp dpt:ftp-data

    PAROLE tcp -- anywhere anywhere tcp dpt:ftp

    PAROLE tcp -- anywhere anywhere tcp dpt:ssh

    PAROLE tcp -- anywhere anywhere tcp dpt:smtp

    PAROLE tcp -- anywhere anywhere tcp dpt:domain

    PAROLE tcp -- anywhere anywhere tcp dpt:www

    PAROLE tcp -- anywhere anywhere tcp dpt:pop3

    PAROLE tcp -- anywhere anywhere tcp dpt:imap2

    PAROLE tcp -- anywhere anywhere tcp dpt:https

    PAROLE tcp -- anywhere anywhere tcp dpt:mysql

    PAROLE tcp -- anywhere anywhere tcp dpt:http-alt

    PAROLE tcp -- anywhere anywhere tcp dpt:tproxy

    PAROLE tcp -- anywhere anywhere tcp dpt:8000

    PAROLE tcp -- anywhere anywhere tcp dpt:18888

    PAROLE tcp -- anywhere anywhere tcp dpt:webmin

    ACCEPT udp -- anywhere anywhere udp dpt:domain

    ACCEPT udp -- anywhere anywhere udp dpt:mysql

    DROP icmp -- anywhere anywhere

    DROP all -- anywhere anywhere

    ...

    </code>

    So, everything seems in order, what could it be stopping me from accessing webmin from alternative port? Please consider that default port works, and all other services work, since I've followed letter by letter you instructions...

    Did I forget anything? Where could I look?port works, and all other services work, since I've followed letter by letter you instructions...

    Did I forget anything? Where could I look?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you try to disable the firewall for testing purposes? Did you check your logs files for errors?
     
  3. fresco

    fresco New Member

    I've tried disabling the firewall, changing port number n times, the only way to access webmin is to go back to the 10000 port on miniserv.conf
    I've checked all the logs on /var/logs but no one seems to show anything useful.
    Which one precisely should I look into?
    Webmin interface also doesn't help in finding useful info (one I got back to port 10000).
    I would like to change ispconfig port as well, but don't want to incur in the same issue...
     
  4. falko

    falko Super Moderator ISPConfig Developer

Share This Page