Hello,
I managed to use ipchains and ipmasqadm portfw (port forwarding) so that:
- my LAN is masqueraded to access the outside network (i.e. Internet)
- a host from the outside can access the Web server in the LAN using the
port forwarding
Web server (LAN) private IP address: 192.168.1.1
Port forwarding rule: 111.222.333.1 / 80 (public) -> 192.168.1.1 / 80 (LAN)
My problem is:
if I open my browser on the web server (LAN) or
any client host in the LAN
and want to access the site
www.test.com which IP address is 111.222.333.1,
the port forwarding doesn't work to say:
111.222.333.1 / 80 redirected to
192.168.1.1 / 80
Is there a way to solve this problem?
cheers
Guillaume