File: westrun.sh

package info (click to toggle)
libreswan 4.3-1%2Bdeb11u4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 62,688 kB
  • sloc: ansic: 108,293; sh: 25,973; xml: 11,756; python: 10,230; makefile: 1,580; javascript: 1,353; yacc: 825; sed: 647; perl: 584; lex: 159; awk: 156
file content (8 lines) | stat: -rwxr-xr-x 229 bytes parent folder | download
1
2
3
4
5
6
7
8
ipsec auto --up westnet-eastnet
ping -n -c 4 -I 192.0.1.254 192.0.2.254
ipsec whack --trafficstatus
# cause cleartext failure
ip xfrm policy flush
# should cause failures on east
ping -n -c 4 -I 192.0.1.254 192.0.2.254
echo done