From: Sam Hartman Date: Sat, 25 Aug 2007 20:01:44 +0000 (-0400) Subject: set forwarding to 1 before changing the other settings X-Git-Tag: sipb-xen-dom0/2.2~1 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/commitdiff_plain/e65b5654a4a8163002c2c5b2e1d2fa411a7418c9 set forwarding to 1 before changing the other settings as changing forwarding frobs a lot of global state svn path=/trunk/packages/sipb-xen-dom0/sipb-xen-dom0/; revision=94 --- diff --git a/debian/sipb-xen-dom0.init b/debian/sipb-xen-dom0.init index a74c43b..a726848 100644 --- a/debian/sipb-xen-dom0.init +++ b/debian/sipb-xen-dom0.init @@ -3,10 +3,10 @@ set -e case $1 in start) + echo 1 >/proc/sys/net/ipv4/ip_forward for foo in all default; do echo 1 >/proc/sys/net/ipv4/conf/$foo/rp_filter echo 1 >/proc/sys/net/ipv4/conf/$foo/proxy_arp done - echo 1 >/proc/sys/net/ipv4/ip_forward ;; esac