Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
Gold

port forwarding

Hello,

i need access from internet to computer behind router(3660). PC has private IP address and I need access to this via port 22. I have no free public IP - so only one public IP is outside IP of router. SO i need if i ssh from internet to public IP of router to be redirect to private IP of PC

THX

3 REPLIES

Re: port forwarding

Hi M,

I think you have to configure NAT statement for this to translae your wan ip tp lan private ip and allow port 22 via access list.

something like this

ip nat outside destination static

on serial interface

ip nat outside

on ethernet interface

ip nat inside

also configure an extended access list to allow port 22 and apply on serial interface.

HTH

Ankur

Re: port forwarding

hi

you can configure up the same using Port address translation for that particular ip.

You can map the particular port of the private ip to the public ip of the router..

do refer the link which has similar config setup inline with your requirement..

http://cisco.com/en/US/tech/tk175/tk15/technologies_configuration_example09186a0080093e51.shtml

regds

Gold

Re: port forwarding

e.g

ip nat inside source static tcp 22 22 extendable

access-list permit tcp any host eq 22

117
Views
0
Helpful
3
Replies
CreatePlease to create content