iptables: send all incoming traffic to virtual machine
I have a firewall (Endian) running in a VirtualBox VM.
How can I send all incoming traffic on my WAN-interface of my host-system (CentOS 5.2) to my Virtual Machine ? My Firewall-VM uses the physical interface. I do not want access from the internet to my host system. All traffic needs to be filtered by my firewall (guest system). Could I block everything on my host-system ? I choose not to have a dedicated firewall, but I am bugged with the security-aspects of my setup. |
I think you have it backwards. When you turn on your computer, which OS comes up first? The host or the guest? Ideally, which ever is the first you want that as the firewall.
|
Quote:
So how then do I reject all traffic on my host (Centos 5.3) ? |
This explains how to setup the firewall in CentOS:
http://wiki.centos.org/HowTos/Network/IPTables The documentation includes this basic example. This will block any external incoming connections unless they were initiated by your computer. Code:
#!/bin/bash |
All times are GMT -5. The time now is 09:12 PM. |