diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu-ifup | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup index f80538f53c..1f1b4c81bb 100755 --- a/scripts/runqemu-ifup +++ b/scripts/runqemu-ifup | |||
@@ -103,6 +103,7 @@ $ROUTE add -host 192.168.7.$dest $TAP | |||
103 | $IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$n/32 | 103 | $IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$n/32 |
104 | $IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$dest/32 | 104 | $IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$dest/32 |
105 | echo 1 > /proc/sys/net/ipv4/ip_forward | 105 | echo 1 > /proc/sys/net/ipv4/ip_forward |
106 | echo 1 > /proc/sys/net/ipv4/conf/$TAP/proxy_arp | ||
106 | $IPTABLES -P FORWARD ACCEPT | 107 | $IPTABLES -P FORWARD ACCEPT |
107 | 108 | ||
108 | echo $TAP | 109 | echo $TAP |