cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
582
Views
0
Helpful
1
Replies

NAT redirection ports

sagemsct
Level 1
Level 1

Hello,

I use a 2600 series router.

The first interface is connected to Internet with public @ip (ex : 34.1.1.1) and the second interface in my private network (ex : 192.168.11.0/255.255.255.0).

I use NAT between those 2 networks :

ip nat pool test 34.1.1.1 34.1.1.1 netmask 255.255.255.252

ip nat inside source list 1 pool test overload

access-list 1 permit 192.168.11.0 0.0.0.255 log

I want that all frames from Internet which have 34.1.1.1 as @ip dest and 9999 as port dest should be transfer to 192.168.11.5 in port 8888.

Is it possible and if it's, how ????

Thanks a lot.

1 Reply 1

msdonahue
Level 1
Level 1

Yes it is possible. Use the following command

ip nat outside source static tcp(or udp) 34.1.1.1 9999 192.168.11.5 8888

and that will do the trick.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: