File: westrun.sh

package info (click to toggle)
libreswan 5.2-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 81,632 kB
  • sloc: ansic: 129,988; sh: 32,018; xml: 20,646; python: 10,303; makefile: 3,022; javascript: 1,506; sed: 574; yacc: 511; perl: 264; awk: 52
file content (8 lines) | stat: -rwxr-xr-x 343 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
ipsec whack --impair suppress_retransmits
ipsec whack --impair helper_thread_delay:0 # do the timewarp
ipsec auto --up westnet-eastnet-subnets
ipsec whack --trafficstatus
# test return code for --down when using aliases
ipsec auto --down westnet-eastnet-subnets || echo "return code failed - should be 0"
ipsec status | grep westnet
echo done