Hi ,
i have a ubuntu 11.04 host with vmware server 2.0.2 and a m0n0wall firewall as a guest.
the host has two nic eth0, eth1.
eth0 is connected to the ADSL modem/router ie the internet
eth1 is connected to switch to my 'internal' clients
i've installed two vmnets (vmnet0 -> eth0 and vmnet2 -> eth1) both the them type bridged.
the m0n0wall's WAN is on vmnet0 and LAN on vmnet2
on he LAN subnet the m0n0wall acts as a dhcp server with DNS forwarding so clients behind the firewall can access the internet.
for testing i have two more guests one on vmnet0 and one on vmnet2
everything works fine so far.
But there are a couple of things i still don't quite understand:
1. Why can't i see vmnet0 or vmnet2 in the ifconfig -a list ?
2. this is the main question.
i want to control all traffic that comes into eth0 ie from outside:
- no packet should really reach the host
- packets destined to the vms on vmnet0 should be passed on
- packets destined to the subnet should pass through the monowall first.
I looked at modifiying the routing table but you need to specify an interface... but since vmnet0 isn't even listed i don't thing that would work.
would apprecieate help to get me started.
cheers,
Michael