cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10933
Views
10
Helpful
4
Replies

SSH TCP port forwarding

yves.haemmerli
Level 1
Level 1

Does IOS support SSH TCP port forwarding ?

Thank you,

Yves

4 Replies 4

m.singer
Level 4
Level 4

I think yes Cisco IOS support SSH and TCP port forwarding.The following document explains u how to enable Secure Shell on Cisco IOS routerd and switches.I think this would help you clearly.

http://www.cisco.com/en/US/tech/tk583/tk617/technologies_tech_note09186a00800949e2.shtml#testingauth

johansens
Level 4
Level 4

I don't think so... it would really be a stupid move of Cisco to allow this... however I could see the use for it.. :)

As the 12.4 IOS Security Configuration guide says:

"Secure Shell - Restrictions - Execution shell is the only application supported."

http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a00804fdef2.html#wp1001119

Did it help?

kogels
Level 1
Level 1

Hi,

If you mean fordward a request on a internet router1, port 22, to a private router2/gw ,port 22, using nat, try this:

ip nat inside source static tcp 22 22 extendable

Rene


@kogels wrote:

 

ip nat inside source static tcp 22 22 extendable

 

 


This command has several issues. First you need to specify the address of router2 somewhere. Second the first port listed shouldn’t be 22, because that would conflict with SSH (if it’s enabled) on router1.

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: