summaryrefslogtreecommitdiff
path: root/scripts/vyatta-vpn-op.pl
AgeCommit message (Collapse)Author
2016-05-11Bring the VPN tunnel down and up as opposed to commenting it out in the ↵Jeff Leung
ipsec.conf file Commenting out the tunnel and restoring it does not reset the tunnel. Use the ipsec commands to actually bring it down and back up to properly reset the tunnel.
2012-09-19Bugfix 8376: Add vti as an option under 'reset vpn ipsec-peer'Saurabh Mohan
Add a new cli 'reset vpn ipsec-peer <peer-ip> vti'.
2011-10-27Bugfix 7574: Fix output to match command structure for restart vpn and reset vpnJohn Southworth
(cherry picked from commit dc6d6a389a1648ebd3240691d76edf7fa523d05d)
2011-02-07Bugfix 5802: add auto-update feature, for Dynamic DNS peersJohn Southworth
2010-01-12fix show vpn commands to work with strongswanMohit Mehta
(cherry picked from commit 32927e013922e1a79b0f214773e2500a1260871a)
2010-01-12fix op-mode commands for migration to strongswanMohit Mehta
* use `ipsec update` instead of openswan's `ipsec auto` commands to make 'clear vpn ipsec-peer <> tunnel <>' work * no `ipsec barf` in strongswan. instead use detailed version of the command status i.e. `ipsec statusall` for 'show vpn debug detail' * use strongswan's syntax for `ipsec rereadall` and `ipsec status` (cherry picked from commit 2c5e47cc7871bc7da84f3a14398b15cf3b1da352)
2009-10-09* Fix Bug 4017 Add the ability to restart individual IPSec tunnelsMohit Mehta
added new operational mode commands - clear vpn ipsec-peer peer <peer> # clear all tunnels for given peer clear vpn ipsec-peer peer <peer> tunnel <tunnel> # clear specific tunnel If peer is 0.0.0.0/any/@id then tunnel is brought down and loaded again but connection is not initiated as remote end could be multiple end-points The remote ends will bring up the tunnel when they get/detect tunnel down * don't call script with sudo from templates. use sudo in script where needed * script clean up
2008-03-17Fix 2838: Clearing VPN process starts VPN , even if not configured.Stig Thormodsrud
- fix sloppy script which dies with "Unknown op" on valid ops. - use vyatta config rather than ipsec.conf to determine if running
2008-02-22Initialize variable and check for invalid args.Marat Nepomnyashy
2008-02-22Fixed-up operator commands 'clear vpn ipsec-process' and 'show vpn debug ↵Marat Nepomnyashy
detail' so that they no longer require sudo password.