Virtiual MachinePosted: November 7, 2008
Today’s SYA710 Lab was about Virtual Machine. It was a nice experience while setup as FreeBSD virtual machine & configure that virtual machine so that user should be able to login to matrix account.
Host fedora machine is set to forward packets
#echo 1 > /proc/sys/net/ipv4/ip_forward
Then setup NAT Table
iptables -t nat -A POSTROUTING -o eth1 -J MASQUERADE
Add route on virtual machine to fedora
route add 0.0.0.0 192.168.122.1.
I was able to ssh FreeBsd virtual machine from host machine as well as from another machine from network by setting up tunnel. (Prof Raymond Chain who Helps alot)
the command was
ssh -L 9022:192.168.122.2:22 firstname.lastname@example.org
the X window was working.
Thanks to prof Raymond chain & Johan Selmys