the simplest way to achieve this is to use a tool like firestarter to enabled ip forwarding and masquerading on the ubuntu box. It's fairly simple to make lower level changes to achieve this, often only 3 lines or so, but firestarter would wrap it up nicely.
|