cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
755
Views
0
Helpful
6
Replies

Port Static Mapping from Global to Private IP

rwaqanitoga
Beginner
Beginner

Hi,

I am trying to do a port mapping from a gloabal serial interface a private address on the LAN.

Adding the first one was ok. The problem comes when trying to add e a similar statement using the same port on a diffirent LAN IP as seen below.

ip nat inside source static tcp 192.168.0.6 4899 202.16.xxx.xxx 4899 extendable

ip nat inside source static tcp 192.168.0.50 4899 202.16.xxx.xxx 4899 extendable

error %similar static entry (192.168.0.6  -> 202.16.xxx.xxx) already exits

Any way around this problem will be much appreciated.

Regards,

Ruveni

2 Accepted Solutions

Accepted Solutions

Hi,

If they are used simultaneously the easiest way is to give them different ports from outside.

ip nat inside source static tcp 192.168.0.6 4899 202.16.xxx.xxx 4899 extendable

ip nat inside source static tcp 192.168.0.50 4899 202.16.xxx.xxx 4898 extendable

If this is for radmin just setup the radmin client to connect to port 4899 on 202.16.xxx.xxx. And the client for the other to connect to port 4898 on 202.16.xxx.xxx. On inside lan you do not have to change the ports, just when you connect from outside.

Please rate if helpful.

Best regards,

Alex

View solution in original post

Hi,

ip nat inside source static tcp 192.168.0.6 4899 202.16.xxx.xxx 4899 extendable

ip nat inside source static tcp 192.168.0.50 4899 202.16.xxx.xxx 4900 extendable

Regards.

Alain

Don't forget to rate helpful posts.

View solution in original post

6 Replies 6

Alexander Maroukian
Participant
Participant

Hi Ruveni,

What are you trying to achieve? As it looks you are trying to get on the same port two different hosts? What is your goal? E.g. Now if you map port 80 on your outside ip to two machines how can the router knows to which web server to redirect request?

Best regards,

Alex

Hi Alex,

Basically I would like to access port 4899 to hosts on the LAN with IPs 192.168.0.6 and 192.168.0.50

How can this be configured ...any way around?

Thanks,

Ruveni

Hi,

If they are used simultaneously the easiest way is to give them different ports from outside.

ip nat inside source static tcp 192.168.0.6 4899 202.16.xxx.xxx 4899 extendable

ip nat inside source static tcp 192.168.0.50 4899 202.16.xxx.xxx 4898 extendable

If this is for radmin just setup the radmin client to connect to port 4899 on 202.16.xxx.xxx. And the client for the other to connect to port 4898 on 202.16.xxx.xxx. On inside lan you do not have to change the ports, just when you connect from outside.

Please rate if helpful.

Best regards,

Alex

Cheers Alex,

Yes, that is exact. But only have to access the two different ports from out the internet...Was not think of that possibility.

Kind regards,

Ruveni

Hi,

ip nat inside source static tcp 192.168.0.6 4899 202.16.xxx.xxx 4899 extendable

ip nat inside source static tcp 192.168.0.50 4899 202.16.xxx.xxx 4900 extendable

Regards.

Alain

Don't forget to rate helpful posts.

Hi Alan,

Thanks for the counter support...Correct ans as well..!!

Cheers,

Ruveni

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: