VPN – Fixing Random IPsec VPN Tunnel Drops in Pfsense 2.02

freebsdipsecpfsensevpn

Ipsec vpn tunnels got disconnected randomly but when we restart raccon all tunnel will come up again with out any issue.I would like to know a permanent fix for this.

These are the logs:

racoon: ERROR: phase2 negotiation failed due to send error. 4ca6a54e16755b0b:5e5f8815483f5a75:0000abbe
racoon: [Off]: INFO: initiate new phase 2 negotiation: x.x.x.x[500]<=>x.x.x.x[500]
racoon: ERROR: failed to start post getspi.
racoon: ERROR: phase2 negotiation failed due to send error. 4ca6a54e16755b0b:5e5f8815483f5a75:0000d553
racoon: [Off]: INFO: initiate new phase 2 negotiation: x.x.x.x[500]<=>x.x.x.x[500]
racoon: ERROR: failed to start post getspi.

Best Answer

Looks like what happens when you have a misconfigured PPTP server and a client disconnects. PPTP server should never use a real assigned IP as its server IP.