mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
runqemu-ifup: enable arp proxying
This allows core-image-sato to access the WAN. Thanks to Dexuan Cui for proposing this fix. Fixes [YOCTO #2329] (From OE-Core rev: 680a94c378f20c00e8bee0575b8922bccc008fec) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
67c7bc5e6c
commit
309b2c090e
@@ -103,6 +103,7 @@ $ROUTE add -host 192.168.7.$dest $TAP
|
||||
$IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$n/32
|
||||
$IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$dest/32
|
||||
echo 1 > /proc/sys/net/ipv4/ip_forward
|
||||
echo 1 > /proc/sys/net/ipv4/conf/$TAP/proxy_arp
|
||||
$IPTABLES -P FORWARD ACCEPT
|
||||
|
||||
echo $TAP
|
||||
|
||||
Reference in New Issue
Block a user