choose interface based on port
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
Quoted 15 lines · Security Support Center
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.
Quoted 7 lines
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
Signature · 4 lines
John A. Sullivan III Open Source Development Corporation Financially sustainable open source development http://www.opensourcedevel.com
* Security Support Center <[email protected]> 19. Dec 04:
Quoted 1 line
Hello All,
Hi,
Quoted 5 lines
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.
You have to combine netfilter and ip. Your problem is explained here:
<URL:http://www.lartc.org/howto/lartc.netfilter.html>
HTH,
regards, Frank.
Signature · 1 line
Sigmentation fault