Re: [gentoo-user] [OT] Redirecting traffic for a TCP port to another gateway

2017-03-28 Thread Walter Dnes
On Tue, Mar 28, 2017 at 09:26:05PM +0200, Dan Johansson wrote > Host 192.168.1.100/24 has a default-gateway of 192.168.1.1 > Now I want to send all traffic from this host to destination-tcp-port 80 > to gateway 192.168.2.1 instead (the host has a second interface with the > address

Re: [gentoo-user] [OT] Redirecting traffic for a TCP port to another gateway

2017-03-28 Thread J. Roeleveld
On March 28, 2017 9:26:05 PM GMT+02:00, Dan Johansson wrote: >Slight Off-topic, but at least the host are Gentoo. > >Is it possible, using iptables or something equivalent, to redirect >traffic to some specific TCP ports to another gateway than the >default-gateway? >

Re: [gentoo-user] [OT] Redirecting traffic for a TCP port to another gateway

2017-03-28 Thread Alarig Le Lay
On mar. 28 mars 21:26:05 2017, Dan Johansson wrote: > Slight Off-topic, but at least the host are Gentoo. > > Is it possible, using iptables or something equivalent, to redirect traffic > to some specific TCP ports to another gateway than the default-gateway? > > Eg. > > Host 192.168.1.100/24

[gentoo-user] [OT] Redirecting traffic for a TCP port to another gateway

2017-03-28 Thread Dan Johansson
Slight Off-topic, but at least the host are Gentoo. Is it possible, using iptables or something equivalent, to redirect traffic to some specific TCP ports to another gateway than the default-gateway? Eg. Host 192.168.1.100/24 has a default-gateway of 192.168.1.1 Now I want to send all