OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / openswan / testing / pluto / ikev2-algo-01-modp2048-initiator / westinit.sh
1 : ==== start ====
2 TESTNAME=ikev2-algo-01-modp2048-initiator
3 source /testing/pluto/bin/westlocal.sh
4
5 # confirm that the network is alive
6 ping -n -c 1 192.0.2.254
7 # make sure that clear text does not get through
8 iptables -A INPUT -i eth1 -s 192.0.2.0/24 -j DROP
9 # confirm with a ping to east-in
10 ping -n -c 1 192.0.2.254
11
12 ipsec setup start
13 ipsec whack --whackrecord /var/tmp/ikev2.record
14 ipsec auto --add westnet--eastnet-ikev2
15 ipsec auto --status
16 /testing/pluto/bin/wait-until-pluto-started
17
18 echo done
19