How to disable IPSec on Mac

In some rare case, neither the PandaPow application nor the PPTP nor L2TP/IPSec work. Then you’ll need to switch to a pure L2TP tunnel.


On Mac you do this by setting up L2TP connections as described here. Note that if you download the config file, you’ll have some PPTP connections and some L2TP connections. You’ll only want to use the L2TP connections.


Next, in order for this to work, you’ll need to disable IPSec. This can be done as follows:

  1. Open a Terminal window (Applications > Utilities > Terminal )
  2. In the terminal, issue the following commands, each one followed by Enter:

echo "plugin L2TP.ppp" > options
echo l2tpnoipsec >> options
sudo cp options /etc/ppp/


  1. To complete the last command above, you’ll need to enter your computer password


Now connect to PandaPow via L2TP and it should work.