Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-Linux
[Top] [All Lists]

Re: routing_based_on_port/services

Subject: Re: routing_based_on_port/services
Date: Tue, 4 Oct 2005 18:55:51 +0200
Hi,

On Mon, Oct 03, 2005 at 09:41:37AM -0000, kucserak@post.sk wrote:
Dear List!

I just want to ask you a question.I have a linux(Secure platform) gateway 
server with 2 external ip address to the internet (one S/0 ADSl, second S/1 
Point to Point) and one internal ip eth0 for my LAN. I need to split up the 
outgoing traffic.HTTP/HTTPS want to route through the ADSL and the rest of 
traffic (SMTP,POP3,FTP) through the Point to Point.Can i solve this with 
Linux iptables or whatever else. Any suggestion help..

You want to use "Policy based Routing".

( http://en.wikipedia.org/wiki/Policy_based_routing )

The principle is to use iptables to set a numeric  mark (-j MARK) on packets
according to you criteria (tcp destination port number, ...) and to use a
different routing tables which are selected according to this packet-marks.

Best,

Frank

<Prev in Thread] Current Thread [Next in Thread>