I wanted to install NGINX om my RT-AX82U, and used these instructions:
My firewall /jffs/scripts/firewall-start script is as follows:
#!/bin/sh
iptables -I INPUT -p tcp --dport 80 -j ACCEPT
iptables -I INPUT -p tcp --dport 443 -j ACCEPT
I must be overlooking something, as the NGINX works ok inport 80 from the LAN side but when I want to access using the WAN side (using hotspot on my phone or antoher internt connection, , unfortunatly it does not work.
So how to make port 80/443 directly accessible from the WAN side? (I know I could try port forwarding)
My firewall /jffs/scripts/firewall-start script is as follows:
#!/bin/sh
iptables -I INPUT -p tcp --dport 80 -j ACCEPT
iptables -I INPUT -p tcp --dport 443 -j ACCEPT
I must be overlooking something, as the NGINX works ok inport 80 from the LAN side but when I want to access using the WAN side (using hotspot on my phone or antoher internt connection, , unfortunatly it does not work.
So how to make port 80/443 directly accessible from the WAN side? (I know I could try port forwarding)
Last edited: