This is what I did :
on FreeBSD :
/etc/rc.conf :
ifconfig_em0="inet 192.168.1.5 netmask 255.255.255.0"
defaultrouter="192.168.1.10"
On Ubuntu :
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A PREROUTING -t nat -p tcp -d 192.168.1.10 -j DNAT
--to-destination 192.168.1.5
iptables -A
So. Please help me further...
Let's say that the IP number assigned to Ubuntu is 192.168.1.9,on FreeBSD I
do :
/etc/rc.conf :
defaultrouter="192.168.1.9"
? even if the VM starts after the booting of FreeBSD ?
About configuring the DNAT iptables rule I have no idea. Please help me to
Hi Mario
You can set the ip if the Ubuntu machine as the default route on the
freeBSD host.
This will take all the traffic oroginating in freeBSD host through the
warp-tunnel.
And configure a DNAT iptables rule in the Ubuntu machine to return the
traffic back to freeBSD machine.
This way you