choose interface based on port
John A. Sullivan III
jsullivan at opensourcedevelopmentcorp.com
Sun Dec 19 05:18:55 CET 2004
On Sat, 2004-12-18 at 22:32, Security Support Center wrote:
> Hello All,
>
>
> I'm having some problems on creating something that I thought, would not be so
> dificult.
>
> I have a firewall that holds 4 interfaces, and 2 of them are links to the
> internet.
>
> I want use link 1 for navigation (80 port) and link 2 for all the rest. But I
> can't get it done.
>
> I already tried lots of rule types, search internet, googled, etc but got
> nothing.
>
> Can anybody give me a light on this
>
>
> Tank you all in advance...
>
>
> Alberto
Hi, Alberto. I'm afraid I don't have time to look up the details but I
think you will be able to do what you want to do with iproute2 and
packet marking. The details will be in a file named ip-cref.ps in the
rules section. On my RedHat 9.0 distribution it is
/usr/share/doc/iproute-2.4.7/ip-cref.ps. You can also find a brief
slide show on using it with iptables and *swan in the training section
of the ISCS network security management web page at
http://iscs.sourceforge.net
Good luck - John
--
John A. Sullivan III
Open Source Development Corporation
Financially sustainable open source development
http://www.opensourcedevel.com
More information about the netfilter
mailing list