NAT Question

Answered Question
Nov 19th, 2009

I have two LAN devices (192.168.1.18 and 192.168.1.19) that must appear to the outside world as a single public IP address (say 100.100.100.100). I got that part down, but the problem is that I also need inbound port specific mappings.

Inbound, I would need ports 25, 3389, 80, 443 to come inbound on 100.100.100.100.100 to 192.168.1.18. This is the part I'm having trouble with configuring.

Help appreciated.

Thank you in advance.

This is on a Cisco 1800 equivalent router.

I have this problem too.
0 votes
Correct Answer by Marcos Hernandez about 7 years 3 weeks ago

You will need to add something like this:

ip nat inside source static tcp 192.168.1.18 XX interface FastEthernet0/0 XX

where "XX" is the TCP port in question and FE0/0 is the WAN inteface. Also, if you have an ACL applied to your WAN interface, you will have to allow that port in the inbound direction.


Hope this helps,


Marcos

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Marcos Hernandez Fri, 11/20/2009 - 13:18

You will need to add something like this:

ip nat inside source static tcp 192.168.1.18 XX interface FastEthernet0/0 XX

where "XX" is the TCP port in question and FE0/0 is the WAN inteface. Also, if you have an ACL applied to your WAN interface, you will have to allow that port in the inbound direction.


Hope this helps,


Marcos