summaryrefslogtreecommitdiff
path: root/testing/tests/tnc/tnccs-20-os/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/tnc/tnccs-20-os/pretest.dat')
-rw-r--r--testing/tests/tnc/tnccs-20-os/pretest.dat14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/tests/tnc/tnccs-20-os/pretest.dat b/testing/tests/tnc/tnccs-20-os/pretest.dat
new file mode 100644
index 000000000..8169afab2
--- /dev/null
+++ b/testing/tests/tnc/tnccs-20-os/pretest.dat
@@ -0,0 +1,14 @@
+moon::iptables-restore < /etc/iptables.rules
+carol::iptables-restore < /etc/iptables.rules
+dave::iptables-restore < /etc/iptables.rules
+carol::echo 0 > /proc/sys/net/ipv4/ip_forward
+moon::cat /etc/tnc_config
+carol::cat /etc/tnc_config
+dave::cat /etc/tnc_config
+moon::ipsec start
+carol::ipsec start
+dave::ipsec start
+carol::sleep 1
+carol::ipsec up home
+dave::ipsec up home
+dave::sleep 1