Works from the inside but not from the outside
For me it works from tha LAN side (port 81) but not from the WAN side (port 80). I am redirected to the Wireless Home Gateway Admin pages. :confused:
Any ideas ?
Quote:
Originally Posted by alpha5
Code:
iptables -D INPUT -j DROP
iptables -A INPUT -p tcp --dport 81 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 80 -j DNAT --to-destination 192.168.1.1:81
iptables -A INPUT -j DROP
Also don't get it to work
Quote:
Originally Posted by Bartjuh
I can't get it to work :(
I use the v1.9.2.7 CR4 [Oleg] firmware on a asus wl500gx
The directory sbin in /usr/local does not exist standard... :confused:
So i have created it. Then created the files within, checked with cat, flashfs'd, and rebooted. Checked again, all ok.
Tried different versions, including the one with the loop in it.
ect.......
so the same problem, please give a solution :confused:
port 80 instead of port 81
i have the same pb as ARNOLDM
i can't access to the web server by the port 80. I'm always redirected to the admin web page.
and i can't use the port 81, because the Firewall in my compagny block this port
Can you tell me how i can use the port 80 for my web server ?
thanks
Webserver on port 80: solution with virtual server
I had the same problem initially. My solution was to create an item in the virtual server list (WL500g web page > NAT Settings > Virtual server)
with:
Port range: 80
Local IP: the local (LAN side) IP address of your ASUS (f.i. 192.168.1.1)
Local port: the internal port you defined for the web server, f.i. 81
Protocol: TCP
It works for me. Try it ! No risk...