ipsec down con(x); ipsec up con(x)
#! /bin/sh/usr/local/sbin/configctl ipsec stop/usr/local/sbin/ipsec stop/usr/bin/killall charon/usr/local/sbin/configctl ipsec start
ipsec down con1-000ipsec up con1-000
/usr/local/opnsense/scripts/ipsec/connect.py/usr/local/opnsense/scripts/ipsec/disconnect.py
Code: [Select]/usr/local/opnsense/scripts/ipsec/connect.py/usr/local/opnsense/scripts/ipsec/disconnect.py(these are IMHO called by the WebUI)
ipsec down con1; ipsec up con1