Reset a VPN via script
From Tech-Wiki
Revision as of 14:45, 25 June 2018 by Fabricio.Lima (Talk | contribs)
This script will change context to your VSX system then clear the IPsec SA for the specific peer
#!/bin/sh source /etc/profile.d/vsenv.sh vsenv 2 vpn shell /tunnels/delete/IKE/peer/[peer ip] vpn shell /tunnels/delete/IPsec/peer/[peer ip]