cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3411
Views
5
Helpful
3
Replies

bidirectional NAT ?

Hi experts!

I need to do static NAT in two directions! I have a router cisco 881 with IOS ver 12.4T(24). I need to do this:

ip nat inside source static tcp 192.168.3.1 5001 interface fastEthernet 4 5001

and

ip nat inside source static tcp 192.168.3.1 5001 interface vlan 2 5001

int vlan 1

ip nat inside

int vlan 2

ip nat outside

int fa 4

ip nat outside

Is there some way to work both rules together ?

If this is not possible pls give some suggestions how to do this ? I need to have access on port 5001 from internet (fa 4 ) and from vlan 2 at the same time ?

Thanks in adv!

1 Accepted Solution

Accepted Solutions

Peter,

Router will not allow you to do that.

Let's use an extendable command to make the router clears a bit of confusing things. (grin)

ip nat inside source static tcp 192.168.3.1 5001 5001 extendable

ip nat inside source static tcp 192.168.3.1 5001 5001 extendable

Please let us know how things work out.

Toshi

View solution in original post

3 Replies 3

Peter,

Router will not allow you to do that.

Let's use an extendable command to make the router clears a bit of confusing things. (grin)

ip nat inside source static tcp 192.168.3.1 5001 5001 extendable

ip nat inside source static tcp 192.168.3.1 5001 5001 extendable

Please let us know how things work out.

Toshi

Hey thank you Toshi, that works great! What actually this command extendable does? Thank you again!

Peter,

I'm glad to know you're happy with that.

#######

Extendable" static translations:

The extendable keyword allows the user to configure several ambiguous static translations, where an ambiguous translations are translations with the same local or global address.

#######

Actually the extendable keyword translates the packet with full extended parameters to get rid of ambiguity. It includes things like IP/Port of source and destination.

HTH,

Toshi

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: