It's extremely possible, probably a bad idea, but very possible. Just make all networks you wish to be routable available to the VM in question, and if it's pure routing you want, you only need to set ip_forward to 1 in /etc/sysctl.conf and reboot and it's done. You may want some iptables rules aroudn it to suit, but there's nothing else to it low down.
|