Yves Glodt wrote:
Hi,
We have a firewall at work that runs sarge. It also makes the connection
to the internet, it has a dsl and a cable connection.
We want to balance the traffic over these 2 connections, port based.
E.g. http and ftp over ppp0 (dsl) and all the rest over the cable
connection.
What would be the best way to achieve this?
1. Using iptables, you mark the IP packets based on the port or other
criteria in the mangle table.
2. Using iproute2, you create 2 routing tables: one for dsl, the other
for cable
3. Using iproute2, you create rules which select the right routing table
based on the "mark" in the marked packet. This is called "policy
routing"
I can create an example configuration for you if you are interested.
Greetings, Patrick