Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

crypto isakmp key 1234 hostname DYNDNSNAME no-xauth

I'm trying to establish a VPN Tunnel with a router having a dynamic IP. I'm using DDNS.

Using

"crypto isakmp key xxx hostname xxx no-xauth"

in my central cisco router (2811, IOS 12.4) i always get the error

"No pre-shared Key with (IPADDRESS of the router)"

If I use "

crypto isakmp key 1234 address (IPADDRESS of the router) no-xauth"

everything works fine.

Seems like the cisco is not resolving the DNS. But when I do a telnet on the cisco and a ping at DYNDNSNAME the Hostname is resolved and the ping works fine.

Any idea why it won't work?

1 REPLY
New Member

Re: crypto isakmp key 1234 hostname DYNDNSNAME no-xauth

Try debugging the crypto and provide some debugg information

906
Views
0
Helpful
1
Replies
CreatePlease to create content