Hi,
I have a linux router and I run a web server behind it as well as use the NAT-ing for web surfing from behind the firewall.
The web server is accessible on port 80 through the linux router/NAT from Internet only. I cannot access it from the local LAN. I can only access it if I go directly to the server's IP address.
I can't figure out what would be the rule in my IPTABLES to forward or redirect traffic incomming from 192.168.1.0/0 to the external interface and back to my 192.168.1.x which is my web server.
I know I could set my host file to do that on all my workstations but I would rather not.
Thank you
I have a linux router and I run a web server behind it as well as use the NAT-ing for web surfing from behind the firewall.
The web server is accessible on port 80 through the linux router/NAT from Internet only. I cannot access it from the local LAN. I can only access it if I go directly to the server's IP address.
I can't figure out what would be the rule in my IPTABLES to forward or redirect traffic incomming from 192.168.1.0/0 to the external interface and back to my 192.168.1.x which is my web server.
I know I could set my host file to do that on all my workstations but I would rather not.
Thank you