Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Re: [OT] Redirecting traffic for a TCP port to another gateway
Date: Wed, 29 Mar 2017 08:30:27
Message-Id: CAC=wYCF1BNYAzjQcsoiRU1ir=QVNJ3B0=eomNXG5Zx6WtUkiqQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: [OT] Redirecting traffic for a TCP port to another gateway by Dan Johansson
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.

Replies

Subject Author
[gentoo-user] Re: [OT] Redirecting traffic for a TCP port to another gateway Kai Krakow <hurikhan77@×××××.com>