summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu-ifup1
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
105echo 1 > /proc/sys/net/ipv4/ip_forward 105echo 1 > /proc/sys/net/ipv4/ip_forward
106echo 1 > /proc/sys/net/ipv4/conf/$TAP/proxy_arp
106$IPTABLES -P FORWARD ACCEPT 107$IPTABLES -P FORWARD ACCEPT
107 108
108echo $TAP 109echo $TAP