1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Changing ports for httpd

Discussion in 'HyperWRT Firmware' started by slack---line, Sep 27, 2007.

  1. slack---line

    slack---line LI Guru Member


    I like the idea of using th WRT54G (v1.1) as a simple web-server and have followed the instructions in this thread to get things going.

    I can access the web-site on the port I set from the Internal network no problem but can't access it from outside.

    I've tried the iptables rule given in the above thread to set things up to work externally, i.e.

    iptables -I INPUT -p tcp --dport 8080 -j ACCEPT

    but I still get "Connection Refused" when I attempt to connect from outside.

    What I'd really like to do is set things up so that the default admin httpd starts on a port other than 80 and then allow the uncrippled httpd that I've installed for serving pages to the wider world to run on the default port of 80.

    Unfortunately I've little experience with IP tables, and searching the forums seems to be leading me round in circles.

    So can anyone advise on how to modify the port that the admin httpd is started on?

    Thanks in advance,


Share This Page