Hi
I am trying to dnat port 80 from an network interface (eth0) to a virtual 
machine guest's host only interface.

The host machine uses shorewall and the zone file looks like this:
fw              firewall
net             ipv4
vh              ipv4

interfaces:
net     eth0
vh      vboxnet0

policy:
fw             all             ACCEPT
all             all             DROP

my dnat rule:
DNAT            net     vh:192.168.56.2:22        tcp     2222

Connecting to the guest from the host works fine.
I can see the traffic on port 2222 hitting the eth0 interface but nothing is 
relayed to the guest on the virtual network.

What am I missing??

Thanks Göran


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to