Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Translate Random TCP port to a single TCP port using IOS router

Hi,

My name is Zulkarnain Kamaludin from Kuala Lumpur, Malaysia. I have setup as follows: Users from outside networks need to communicate with inside host. The inside host only open a single TCP port let says port 15000 and only can talk to the TCP port 15000. The problem is the users outside is opening randomly TCP port and I need to translate this random ports to TCP port 15000. Can it be achieve? Thanks in advance.

rgds,

Zulkarnain Kamaludin

2 REPLIES
New Member

Re: Translate Random TCP port to a single TCP port using IOS rou

Hi

         Let me brief your question there is one server inside you network which is running service with tcp port 15000 , Outside users want to

access this service from there workstation. I hope this is your requirement  then configure the static nat your device

If it is firewall you can use this command static ( inside,outside) xxx(outsideip) xxxx(serverip) -the configure the access-rule in the outside interface

all tcp port 15000

if it is router use this ip nat inside source static serverip outside(transating ip)

and

under the inside interface

ip nat inside

under the outside interface

ip nat outside

i hope this your requirement if not please clarify youre requirement

thanks

Cisco Employee

Re: Translate Random TCP port to a single TCP port using IOS rou

Hello,

Unfortunately, it does not look like an IOS router can do what you are looking for. You could try a firewall (ASA) with 8.3 code where there is a workaround to acheive this.

Hope this helps.

Regards,

NT

209
Views
0
Helpful
2
Replies
CreatePlease login to create content