From 5b663953974425df724b42992b9de5a037e63772 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 5 Apr 2008 08:51:24 +0000 Subject: [PATCH] trying without shutting down firewall --- system/template-qemu/qemu-bridge-init | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/system/template-qemu/qemu-bridge-init b/system/template-qemu/qemu-bridge-init index 879d1c2..7b3c016 100755 --- a/system/template-qemu/qemu-bridge-init +++ b/system/template-qemu/qemu-bridge-init @@ -82,8 +82,8 @@ start () { # xxx this is *wrong* # wipe the host firewall otherwise the guest qemu can't access the LAN - echo "Wiping the firewall..." - iptables -F + # echo "Wiping the firewall..." + # iptables -F } @@ -96,13 +96,8 @@ add () { echo "Activating link for $INTERFACE_LAN..." /sbin/ip link set $INTERFACE_LAN up sleep 1 - echo "Adding $INTERFACE_BRIDGE to $INTERFACE_BRIDGE" + echo "Adding $INTERFACE_LAN to $INTERFACE_BRIDGE" brctl addif $INTERFACE_BRIDGE $INTERFACE_LAN - # putting a virtual interface in promisc mode seems like an odd thing to do - # echo "Activating promiscuous mode on $INTERFACE_LAN ..." - # /sbin/ifconfig $INTERFACE_LAN 0.0.0.0 promisc up - # sleep 1 - echo "Done." } -- 2.43.0