File: roadinit.sh

package info (click to toggle)
libreswan 5.2-2.3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 81,644 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 (11 lines) | stat: -rwxr-xr-x 448 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
/testing/guestbin/swan-prep --nokeys
../../guestbin/wait-until-alive 192.0.2.254
iptables -A INPUT -i eth0 -s 192.0.2.254 -p icmp -j DROP
iptables -I INPUT -m policy --dir in --pol ipsec -j ACCEPT
../../guestbin/ping-once.sh --down 192.0.2.254
ipsec start
../../guestbin/wait-until-pluto-started
../../guestbin/ip.sh route get to 192.1.2.23
# this test need --verbose to see source address selection
ipsec auto --add --verbose road
echo "initdone"