Linux Router

dsr at tao.merseine.nu dsr at tao.merseine.nu
Fri Mar 4 14:20:41 EST 2005


On Fri, Mar 04, 2005 at 01:57:03PM -0500, Andrew Medico wrote:
> Does anyone have any pointers on setting up a Linux machine as a
> router between different networks (not using NAT)? Thanks.

Oh, that's easy.

Configure each ethernet port. Add an explicit route for each
network. Check that you can ping both networks.

echo 1 > /proc/sys/net/ipv4/ip_forward

Done.

Everything else is more difficult: filtering, NAT, etc.

-dsr-


-- 
Nothing to sig here, move along.



More information about the Discuss mailing list