double natting
Hi,
I am currently running a windows 2003 server in VMware, and have enabled all packet forwarding from it:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
which means all packets from the windows 2003 server (vmnet8 interface) are going to the physical interface (eth0) correctly.
recently I have wanted to open an FTP client in the virtual server. and for that I need to forward all packets going from my eth0 interface to the vmnet8 interface (if the port is 21).
Does anyone know if it is possible? and if so how?
Thanks.
Last edited by TommyMcCole; 08-14-2010 at 06:42 PM.
|