Cisco IPSec VPN Automatic Routing Table

What’s wrong?

In PPTP/L2TP world:

But Cisco IPSec just ignore these files, why?

After doing some Googling, I figured out the difference:

And, here is the solution

Base environment configure

sudo cp /etc/racoon/racoon.conf{,.bak}
sudo mkdir /etc/racoon/remote
sudo sh -c 'echo "include \"/etc/racoon/remote/*.conf\" ;" >> /etc/racoon/racoon.conf'
sudo cp /var/run/racoon/YOUR_VPN_SERVER_IP.conf /etc/racoon/remote/
script "/etc/ppp/ip-up" phase1_up;	
script "/etc/ppp/ip-down" phase1_down;

Comments

comments powered by Disqus