I have a 1711 router with IOS v. 12.3, and I need to place a web server in the
same LAN where users' PCs are connected to the internet and forward the ports
80 and 1433 from internet to the web server (address 192.168.1.177).
FastEthernet0 has an address 188.8.131.52 and is connected to the internet.
FastEthernet1 is tied to vlan10 and has an address 192.168.1.1. It is
connected to the LAN.
I have this NAT configuration for th LAN PCs to access the internet, and it
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat pool overld1 184.108.40.206 220.127.116.11 prefix-length 24
ip nat inside source list 1 pool overld1 overload
ip route 0.0.0.0 0.0.0.0 18.104.22.168
This is how I tried to forward port 80 but it had no effect:
ip nat inside source static tcp 192.168.1.177 80 22.214.171.124 80 extendable
I read somewhere that when there are access lists, they should include the
port to forward. I tried to do that but either my syntax was wrong or I don't
still understand how it works.
So, how do I forward a port to a LAN machine when there are already other user
PCs in the same LAN using an internet connection?
Thanks in advance.