just run "sysctl -w net.ipv4.ip_forward = 1" and that'll do it. This isn't windows... no extra gimmicks required.
note that you will need two different subnets, one for each side of the box, and the router will need to know the route back to the XP subnet via the centos box. you may wish to simplify things by also use ip masquerading, which you'll find plenty of one liners for both here and google.
Last edited by acid_kewpie; 01-11-2009 at 08:42 AM.
|