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 e4c3dafeef..0926faf439 100755 --- a/scripts/runqemu-ifup +++ b/scripts/runqemu-ifup | |||
@@ -109,6 +109,7 @@ $ROUTE add -host 192.168.7.$dest $TAP | |||
109 | $IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$n/32 | 109 | $IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$n/32 |
110 | $IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$dest/32 | 110 | $IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$dest/32 |
111 | echo 1 > /proc/sys/net/ipv4/ip_forward | 111 | echo 1 > /proc/sys/net/ipv4/ip_forward |
112 | echo 1 > /proc/sys/net/ipv4/conf/$TAP/proxy_arp | ||
112 | $IPTABLES -P FORWARD ACCEPT | 113 | $IPTABLES -P FORWARD ACCEPT |
113 | 114 | ||
114 | echo $TAP | 115 | echo $TAP |