6

I have two different WAN interfaces in a Linux (iptables) router. How could I achieve a situation where different traffic is routed over different interfaces, depending on the protocol (destination TCP port)? Is it even possible?

Ville Mattila
  • 459
  • 7
  • 13

1 Answers1

6

the feature you are looking for is named Policy Routing. Have a look at http://www.linuxhorizon.ro/iproute2.html (second example)

user1008764
  • 1,176
  • 2
  • 8
  • 12