How to Ensure Openswan Starts When Rebooting



How to Ensure Openswan Starts When Rebooting

If your VPN subsection in the /etc/ipsec.conf file contains the line auto=add, then IPSec only authorizes but doesn't establish the connection at startup. You'll have to use the ipsec auto --up <vpn-name> command to start it manually.

You must change this to auto=start for Openswan to start the VPN automatically when IPSec restarts or when the system reboots.