]>
Commit | Line | Data |
---|---|---|
10c7ca23 AS |
1 | alice::iptables-restore < /etc/iptables.rules |
2 | carol::iptables-restore < /etc/iptables.rules | |
3 | dave::iptables-restore < /etc/iptables.rules | |
4 | alice::cat /etc/tnc_config | |
5 | carol::cat /etc/tnc_config | |
6 | carol::echo 0 > /proc/sys/net/ipv4/ip_forward | |
7 | dave::echo aabbccddeeff11223344556677889900 > /var/lib/dbus/machine-id | |
8 | dave::cat /etc/tnc_config | |
ab8ed95b | 9 | alice::sed -i "s/NOW/`date +%s`/g" /etc/pts/data1.sql |
f3d96b7b | 10 | alice::sed -i "s/DEBIAN_VERSION/10/" /etc/pts/data1.sql |
10051b01 TB |
11 | alice::cd /usr/local/share/strongswan/templates/database/imv; cat tables.sql data.sql /etc/pts/data1.sql | sqlite3 /etc/db.d/config.db |
12 | alice::chgrp -R www-data /etc/db.d/config.db; chmod -R g+w /etc/db.d/config.db | |
470e61ae | 13 | alice::/usr/local/bin/init_tnc |
6aa77031 AS |
14 | alice::rm /etc/swanctl/x509/aliceCert.pem |
15 | alice::rm /etc/swanctl/rsa/aliceKey.pem | |
13a3f20f | 16 | alice::systemctl start apache2 |
35392aa8 | 17 | alice::systemctl start strongswan |
c423d0e8 | 18 | alice::swanctl --load-creds |
10c7ca23 | 19 | winnetou::ip route add 10.1.0.0/16 via 192.168.0.1 |
10c7ca23 AS |
20 | dave::ip route add 10.1.0.0/16 via 192.168.0.1 |
21 | dave::cat /etc/pts/options | |
a3b35386 | 22 | dave::/usr/local/bin/pt-tls-client --optionsfrom /etc/pts/options |
2382d45b AS |
23 | carol::ip route add 10.1.0.0/16 via 192.168.0.1 |
24 | carol::cat /etc/pts/options | |
a3b35386 | 25 | carol::/usr/local/bin/pt-tls-client --optionsfrom /etc/pts/options |