×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

port forwarding

Unanswered Question
Oct 19th, 2005
User Badges:
  • Gold, 750 points or more

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
ankurbhasin Wed, 10/19/2005 - 00:33
User Badges:
  • Red, 2250 points or more

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 Wed, 10/19/2005 - 00:42
User Badges:
  • Red, 2250 points or more

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



jackko Wed, 10/19/2005 - 06:04
User Badges:
  • Gold, 750 points or more

e.g

ip nat inside source static tcp 22 22 extendable

access-list permit tcp any host eq 22

Actions

This Discussion