cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
259
Views
0
Helpful
3
Replies

port forwarding

m.sir
Level 7
Level 7

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 3

ankurbhasin
Level 9
Level 9

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

spremkumar
Level 9
Level 9

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

e.g

ip nat inside source static tcp 22 22 extendable

access-list permit tcp any host eq 22

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: