Nat issues.

Answered Question
Jul 12th, 2007
User Badges:

Hello. I have a cisco 2811 router with an adsl connection.In the local LAN there is a Linksys load balancer which connects the local lan with the router.However there is a server which connects directly to the router and i want to be able to forward some ports to this server.The router ip is 192.168.10.1 the linksys ip is 192.168.10.2 and the server ip is 192.168.10.213.I want to forward port 2000 and 85 to be sent to the server and not to the Linksys (local LAN).There is already a NAT translation for internet access.Any ideas how can i do that???Any help will be welcome.Thanks in advance.

Correct Answer by Edison Ortiz about 10 years 1 week ago

Can you post your current template so I can work from that ?


Basically, you need to create an ACL and then a nat source list.



access-list 100 permit tcp 192.168.10.213 eq 2000 any

access-list 100 permit udp 192.168.10.213 eq 2000 any

access-list 100 permit tcp 192.168.10.213 eq 85 any

access-list 100 permit udp 192.168.10.213 eq 85 any


ip nat inside source list 100 interface [external interface] overload

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Edison Ortiz Thu, 07/12/2007 - 09:30
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Can you post your current template so I can work from that ?


Basically, you need to create an ACL and then a nat source list.



access-list 100 permit tcp 192.168.10.213 eq 2000 any

access-list 100 permit udp 192.168.10.213 eq 2000 any

access-list 100 permit tcp 192.168.10.213 eq 85 any

access-list 100 permit udp 192.168.10.213 eq 85 any


ip nat inside source list 100 interface [external interface] overload

bjornarsb Sat, 07/14/2007 - 04:01
User Badges:
  • Bronze, 100 points or more

Hi,


Or like this:

ip nat inside source static 192.168.10.213 172.16.10.X


or


this

ip nat inside source static tcp 192.168.10.213 2000 172.16.10.8 2000



HTH


BR,

Bjornarsb


Actions

This Discussion