commit | e3a00513c3b725c68c744cc3404c669679e10669 | [log] [tgz] |
---|---|---|
author | Andy Bavier <acb@cs.princeton.edu> | Mon Mar 28 14:40:30 2016 -0400 |
committer | Andy Bavier <acb@cs.princeton.edu> | Mon Mar 28 14:40:30 2016 -0400 |
tree | ac9e9416102fa7e0973ae156883de19368895a20 | |
parent | 0830b403cb361daa466e1885df3dc158aabe81ea [diff] |
Turn on IP forwarding
diff --git a/scripts/compute-ext-net.sh b/scripts/compute-ext-net.sh index af0d2a2..762d37f 100755 --- a/scripts/compute-ext-net.sh +++ b/scripts/compute-ext-net.sh
@@ -9,3 +9,4 @@ ifconfig veth1 up brctl addif databr veth0 iptables -t nat -A POSTROUTING -s 10.168.0.0/24 \! -d 10.168.0.0/24 -j MASQUERADE +sysctl -w net.ipv4.ip_forward=1