ulio
February 2, 2025, 9:26pm
1
How to just drop port 80? As I see, luci and Gl gui accessible via HTTPS. Can I just drop port 80 for all, but for 192.168.8.1 redirect to HTTPS automatically?
For example:
1.2.3.4:80 -> DROP
192.168.8.1:80 -> redirect to HTTPS
192.168.8.1 PING -> DROP (drop only to router, between devices i need it)
@alzhao can you help me?
bruce
February 3, 2025, 8:52am
2
You can close the web server 80 listening: vi /etc/nginx/conf.d/gl.conf
You can create the port forwarding rule for the redirection on GL GUI > NETWORK > Port Forwarding, HTTP at port 80 to HTTPS at port 443:
the external port to 80, set the internal port to 443, and select the protocol TCP, the target IP address to your router IP address.
ulio
February 3, 2025, 1:13pm
4
bruce:
You can close the web server 80 listening: vi /etc/nginx/conf.d/gl.conf
You can create the port forwarding rule for the redirection on GL GUI > NETWORK > Port Forwarding, HTTP at port 80 to HTTPS at port 443:
Can you explain more detailed?
I need to block port 80 to admin panel even in LAN, not to get errors automatically update to HTTPS
admon
February 3, 2025, 2:40pm
5
You can't block port 80 and still want a redirect to 443.
Port 80 is needed for the redirect.