new host networking and iptables
Posted: 29. Jan 2009, 12:34
Hi,
I'm using virtualbox on linux to run some linux guests.
I trust guests os less than host os. So I want to have strict firewall rules managed from my host. Currently, I'm using virtualbox 1.6.6 and I'm using the usual bridge settings stuff. I firewall rules with ebtables.
Now, I'm trying virtualbox 2.1.2 and host networking configuration seems more simple: if just choose eth0 interface, virtualbox network seems to work fine. Problem is, I just can't manage to set firewall rules from my host. Even if I block everything
I can't access anything from my host anymore, but traffic from my guest in not blocked at all.
So, do you known how to block guest traffic from my host when using simple host networking in virtualbox 2.1.2 ?
Thanks
I'm using virtualbox on linux to run some linux guests.
I trust guests os less than host os. So I want to have strict firewall rules managed from my host. Currently, I'm using virtualbox 1.6.6 and I'm using the usual bridge settings stuff. I firewall rules with ebtables.
Now, I'm trying virtualbox 2.1.2 and host networking configuration seems more simple: if just choose eth0 interface, virtualbox network seems to work fine. Problem is, I just can't manage to set firewall rules from my host. Even if I block everything
Code: Select all
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
So, do you known how to block guest traffic from my host when using simple host networking in virtualbox 2.1.2 ?
Thanks