From: Colin Patrick Mccabe Date: Wed, 20 Jun 2012 00:52:40 +0000 (-0700) Subject: vm-common.sh: enable ip forwarding just in case X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feb108f20ae15b0bd47ce11fc6e382013876aa86;p=cmccabe-bin vm-common.sh: enable ip forwarding just in case Signed-off-by: Colin McCabe --- diff --git a/vm-common.sh b/vm-common.sh index d702b80..2c57b05 100644 --- a/vm-common.sh +++ b/vm-common.sh @@ -4,6 +4,7 @@ die() { } run_vm() { + sysctl -w net.ipv4.ip_forward=1 || die "failed to enable ip_forward" ID=$1 shift NARGS=$@