Skip to contentSkip to conversation

iptables in virtual machine

DISCUSSION Dan Cardamore 2 participants 2 messages Nov 22, 2004

lore
Share & tools
lore
#0 lore raw

Is it possible to have the virtual systems create their own firewalls using iptables. Every time my virtual machines call it they get:
root@tiny ~ # iptables -L
modprobe: could not parse modules.dep

iptables v1.2.11: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Thanks,

Dan
--
Dan Cardamore
[email protected]

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#1 lore raw
Quoted 8 lines

Is it possible to have the virtual systems create their own firewalls using iptables. Every time my virtual machines call it they get:
root@tiny ~ # iptables -L
modprobe: could not parse modules.dep

iptables v1.2.11: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Sounds like you need to compile your guest kernel with iptables support and install the relevant modules.

It should work fine.

Best,
Ian

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/