I have 2 ethernet cards in a linux box and want to set it up as a router. I know how to filter incoming and/or outgoing packets, but how do I get the incoming packets to go out the outgoing interface?
Agreed. Upgrade to the 2.4.x (2.4.10 as of today) series of kernels and get yourself the newest version of iptables. It replaced ipchains with the 2.4.x series of kernels.
Check out http://ipmasq.cjb.net for the official IP Masquerading HOWTO. Download it onto one of your machines (they have it in a ton of formats) so that you can refer back to it while offline/configuring. They provide a few examples on rulesets (both ipchains and iptables) too.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.