2x DSL. Route packets dependending on remote port.
Hi !
I have a problem.
I have a lanhouse in Portugal with 2 dsl lines connected to one server with three NICs.
eth0 -> DSL 4Mbits -> 192.168.2.1
eth1 -> DSL 8Mbits -> 192.168.3.1
eth2 -> Local Intranet -> 192.168.1.1 (server IP)
What I want to do, is force all trafic from intranet with destination ports 1-25000;40000-65535, to go through eth1 gateway.
All the remaining destination ports (normaly the ones used by CS), to go through eth0.
This way I would avoid players from lagging because of downloads, etc etc etc.
Can anyone give me a hint how to do it ?
Thanks.
Last edited by spastikman; 08-20-2005 at 08:32 AM.
|