Annotation of embedaddon/strongswan/testing/tests/swanctl/ip-two-pools-db/pretest.dat, revision 1.1.1.1
1.1 misho 1: moon::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql > /etc/db.d/ipsec.sql
2: moon::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
3: moon::ipsec pool --add extpool --start 10.3.0.1 --end 10.3.1.244 --timeout 48 2> /dev/null
4: moon::ipsec pool --add intpool --start 10.4.0.1 --end 10.4.1.244 --timeout 0 2> /dev/null
5: moon::ipsec pool --addattr dns --server PH_IP_VENUS --pool intpool --identity venus.strongswan.org 2> /dev/null
6: moon::ipsec pool --addattr dns --server PH_IP_ALICE --pool intpool --identity alice@strongswan.org 2> /dev/null
7: moon::ipsec pool --addattr dns --server PH_IP_WINNETOU --pool extpool 2> /dev/null
8: moon::ipsec pool --statusattr 2> /dev/null
9: moon::ip route add 10.3.0.0/16 via PH_IP_MOON
10: moon::ip route add 10.4.0.0/16 via PH_IP_MOON1
11: moon::iptables-restore < /etc/iptables.rules
12: carol::iptables-restore < /etc/iptables.rules
13: dave::iptables-restore < /etc/iptables.rules
14: alice::iptables-restore < /etc/iptables.rules
15: venus::iptables-restore < /etc/iptables.rules
16: moon::systemctl start strongswan
17: carol::systemctl start strongswan
18: dave::systemctl start strongswan
19: alice::systemctl start strongswan
20: venus::systemctl start strongswan
21: moon::expect-connection int
22: moon::expect-connection ext
23: carol::expect-connection home
24: carol::swanctl --initiate --child home 2> /dev/null
25: dave::expect-connection home
26: dave::swanctl --initiate --child home 2> /dev/null
27: alice::expect-connection home
28: alice::swanctl --initiate --child home 2> /dev/null
29: venus::expect-connection home
30: venus::swanctl --initiate --child home 2> /dev/null
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>