Re: ipfwadm problems

Petr Titera
2002-05-23T11:05:42Z

Frank Schaefer wrote:

>
> BTW: A collegue of mine has the problem, that a host has 4 NICs; 2 to
> the LAN and 2 to the internet. Packets coming from LAN NIC 1 shall be
> forwarded through WWW NIC 1 and Packets from LAN NIC 2 through WWW NIC
> 2. Is there any way to perform this on a 2.2.x kernel using ipchains?

It can be done with advanced routing (look at www.lartc.org). You can
specify different routing tables for each interface.

> And even whorse; They need destination NAT in the reverse manner of the
> above.
>

With ipchains it can be tricky with iptables it is a piece of cake :)

Petr Titera
P.Titera@century.cz