From: Andreas Steffen Date: Sun, 23 Dec 2012 17:46:50 +0000 (+0100) Subject: Disable IPv4 forwarding on carol in order to pass tnc/tnccs-20-os scenario X-Git-Tag: 5.0.2rc1~1^2~33 X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=commitdiff_plain;h=9c36018cc73c606bc5ce883d6ba169ed70ab3449 Disable IPv4 forwarding on carol in order to pass tnc/tnccs-20-os scenario --- diff --git a/testing/tests/tnc/tnccs-20-os/posttest.dat b/testing/tests/tnc/tnccs-20-os/posttest.dat index 7cebd7f..c166c17 100644 --- a/testing/tests/tnc/tnccs-20-os/posttest.dat +++ b/testing/tests/tnc/tnccs-20-os/posttest.dat @@ -4,3 +4,4 @@ dave::ipsec stop moon::/etc/init.d/iptables stop 2> /dev/null carol::/etc/init.d/iptables stop 2> /dev/null dave::/etc/init.d/iptables stop 2> /dev/null +carol::echo 1 > /proc/sys/net/ipv4/ip_forward diff --git a/testing/tests/tnc/tnccs-20-os/pretest.dat b/testing/tests/tnc/tnccs-20-os/pretest.dat index 208f9da..58634a8 100644 --- a/testing/tests/tnc/tnccs-20-os/pretest.dat +++ b/testing/tests/tnc/tnccs-20-os/pretest.dat @@ -1,6 +1,7 @@ moon::/etc/init.d/iptables start 2> /dev/null carol::/etc/init.d/iptables start 2> /dev/null dave::/etc/init.d/iptables start 2> /dev/null +carol::echo 0 > /proc/sys/net/ipv4/ip_forward moon::cat /etc/tnc_config carol::cat /etc/tnc_config dave::cat /etc/tnc_config