Port Forward for Outside Access - Changing Ports


 

Dan Seaver

New member
In preparing to forward the ports for outside WLan access, I noticed that the default webserver ports are 80 and 443. Is there a way to change these port numbers as I already have them forwarded on my router to another PC.

Thanks,

Dan
 
Your router should have the ability to forward from one port to another, e.g. forward port 1234 on the firewall to port 80 on the rPi.

The ports can also be changed by editing /etc/config/lucid or you can add additional ports using uci from the command line (change the ports obviously)
Code:
uci add_list lucid.http.address=80
uci add_list lucid.https.address=443
uci commit lucid
 
Thanks Bryan! I didn't realize I had that option in my router. I have a dlink and it looks like they refer to this as a virtual server.

Thanks again!

Dan
 

 

Back
Top