>
> 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
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/