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?
Linux – How to route different traffic over different interfaces (routes) by protocol
iptableslinuxrouting
Related Topic
- Linux Unraid route traffic through different interfaces
- Iptables – Redirect all traffic from multiple interfaces to single IP
- Linux – Route IP Traffic Based on Process to Different Default Routes / Interfaces
- Iptables – Routing OpenVPN exit traffic to multiple interfaces
- OpenBSD route via different gateways which have same IP but on different interfaces
- Linux Networking – How to Route Traffic Through Physical Interface
Best Answer
the feature you are looking for is named Policy Routing. Have a look at http://www.linuxhorizon.ro/iproute2.html (second example)