cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3698
Views
10
Helpful
5
Replies

Classic DMVPN over IPSec. Force UDP/4500 instead ESP?

Hi, we've got classic DMVPN scheme with central router and spokes, all IOS routers.

One of remote sites has bad ISP, which filters GRE and ESP (i beleive they filter all except tcp, udp and icmp).

Is there any way to force spoke using udp/4500 instead ESP?

Any over suggestions? Spoke's IP is dynamic, and changes over time.

1 Accepted Solution

Accepted Solutions

Jennifer Halim
Cisco Employee
Cisco Employee

The router should already have NAT-T enabled by default, but if it is disabled, then you can configure the following:

crypto ipsec nat-transparency

View solution in original post

5 Replies 5

Jennifer Halim
Cisco Employee
Cisco Employee

The router should already have NAT-T enabled by default, but if it is disabled, then you can configure the following:

crypto ipsec nat-transparency

There is NO NAT in fact. So they do not negotiate NAT-T, and use ESP.

"Correct answer" clicked unintentionally.

Ahh, if there is NO NAT in the path then it would not negotiate NAT-T.

Unfortunately you can't force encapsulation of ESP when there is no NAT device in the path.

Is there anyway you can place your DMVPN router behind a router that performs NAT?

There is no other router at site and that would be bad solution anyway.

Just encase anyone else runs into this issue the only way i have found to force nat-t for DMVPN is to setup a loop back and set it up for nat and use this as the source for the tunnel.

This way you don't need another router you are doing the nat and DMVPN inside the one router.

I would still like to know if there is any way to not use ESP but UDP encapsulation directly as this would be useful for strange location like cloud vm providers and some parts of the world (china). Rather than force a spoke to be behind nat wen really the issue is that ESP is blocked.

Cheers