On 19 October 2010 11:58, Bryce Stenberg <[email protected]> wrote: > Hi, > > I hope this is simple question... > > I'm trying to set up a very basic install of Ubuntu Server 10.04 to act > as a basic router for a virtual network setup. > I just want all traffic passed from host-only network side of this > virtual server to go out through its external interface (which is a > NAT'd and handled by VirtualBox).
In non-virtual environments at least, my personal experience has told me using Ubuntu as a dumb/headless router is a bad idea. I used one for a good 4 months and had constant issues with it that were impossible to resolve, and nobody I talked to had any idea how to solve. The biggest of which is ubuntu didn't really work well at being a headless box that no humans directly interact with. For some reason I can't work out, the machine would randomly drop into some suspend state, dropping all network activity, and losing track of time , for which the only solution was to physically access the machine and press any key on the keyboard to bring it back. This problem happened even when I was sshed into the machine and actually using it to run IRSSI in a screen session, so *shrug*. My personal recommendation, and recommendation of a few I know who work in sysadmin, is to use openbsd for network routing. It is surprisingly straight forward no-fuss "Just edit some simple text files" and you're pretty much set. Nat is a little interesting, but its yet again, edit one file, add one line to it, and you're pretty much set, no dicking around with crazy 10 step iptables. Its been painless and with absolutely no problems since I switched. -- Kent perl -e "print substr( \"edrgmaM SPA nocomil.i...@tfrken\", \$_ * 3, 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );" http://kent-fredric.fox.geek.nz _______________________________________________ Linux-users mailing list [email protected] http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
