1 |
> |
2 |
> schrieb Dan Johansson <Dan.Johansson@×××.nu>: |
3 |
>> |
4 |
>>> |
5 |
>>> Is it possible, using iptables or something equivalent, to redirect |
6 |
>>> traffic to some specific TCP ports to another gateway than the |
7 |
>>> default-gateway? |
8 |
>>> |
9 |
>> |
10 |
The general term for that is "policy routing". |
11 |
|
12 |
If you're doing it to hack around some network weirdness that you cant fix |
13 |
because you dont have control of the network, it might be a necessary evil, |
14 |
but its generally a bad idea, Think about routing asymmetry, and whether |
15 |
you should use a NAT to prevent that side effect. |