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.

New Member

Limitations On Natting

I have a static public ip address that i have natted from a private ip address.

When i try to directly connect to that public ip address from inside my network it will not allow me to(Im using ssh). But when i connect via the hostname it will connect automatically.

IM having trouble understanding the reason why it will not work.

Thanks in advanced for any answers.

Everyone's tags (1)
2 REPLIES
New Member

Limitations On Natting

Hi

first disable telnet, then enable only ssh then it will work , you can login the device with hostname if you are using telnet,

just disable to the dns lookup

by using no ipdomain-lookup

Re:Limitations On Natting

You cannot connect to the public IP address from behind the router due to a limitation of NAT. It's called hairpinning, and it's not supported. When you connect via hostname, the router intercepts the DNS reply, and knowing there is a NAT for that public IP address, it rewrites the DNS reply with the internal IP before sending it to your workstation.

Regards,
Mike

Sent from Cisco Technical Support Android App

167
Views
0
Helpful
2
Replies
CreatePlease login to create content