I am trying to configure port forwarding on a Cisco 891F router given by an ISP and directly connected to servers in the 192.168.170.0/24 network. The ISP recommended using the ip nat inside source static tcp 192.168.170.108 8080 1.2.3.4 8080 extendable
but this along with other rules to the other servers are not functioning.
Internet has been configured using a standard access-list and changing the config may log everyone connected remotely out.
What ip nat
commands can I use to achieve Port Forwarding to the servers via the public IP?
Part of the Router Config
ip nat inside source list 1 interface GigabitEthernet8 overload
ip nat inside source static tcp 192.168.170.108 8080 1.2.3.4 8080 extendable
ip nat inside source static tcp 192.168.170.100 9000 1.2.3.4 9000 extendable
ip route 0.0.0.0 0.0.0.0 1.2.3.1
!
!
access-list 1 permit 192.168.170.0 0.0.0.255
`