firewall config to allow traffic from/to a VirtualBox bridge
Hi !
I am trying Innotek VirtualBox and I setup the network in bridge mode, following their tips. The network for the guest system works only if I disable the host iptables (service iptables stop). So, the question is How to setup FC8 iptables to allow traffic to/from this bridge ? I am using the default firewall configuration provided by system-config-firewall. The FC8 host machine is not a server, so there is no services and open ports in this machine. I try to mark br0 and eth0 as "Trusted interfaces", no luck. I searched for a solution and no luck either. I have no proficiency with iptables, and don't know how to create a rule to allow all traffic from/to this brigde. I hope a network master over there can help me ! Code:
[root@babylon5 ~]# ifconfig -a |
Not sure how you do it on the command line, but just run system-config-securitylevel-tui and make br0 a trusted device. Problem solved.
|
I already did that, and this didn't worked !
Quote:
Code:
# iptables-save | grep br0 If I stop the firewall with "service iptables stop" the virtual machine get immediate access. |
I had exactly the same problem. The network was working, but the guest could not get access to other machines (neither on LAN nor on internet). It was indeed caused by firewall.
I use Mepis v. 7.0, and Virtualbox-OSE v. 1.6.2 with host networking. I have guarddog installed as firewall managing GUI, but real filtering is done by iptables. I just followed guarddog help for setting up rules for router (Virtualbox host becomes a router for guests) to allow traffic between computers in my LAN (192.168.1.0/24). It generated following set of rules: Code:
root@jl-desktop-mepis:/home/jlm# iptables -L If someone uses Virtualbox NAT networking, there is good guide at http://www.virtualbox.org/wiki/Advan...tworking_Linux |
All times are GMT -5. The time now is 12:23 AM. |