Linux Netfilter discussions
 help / color / mirror / Atom feed
* binding nntp to one interface
@ 2002-09-12  7:05 Rasmus Reinholdt Nielsen
  2002-09-12  9:15 ` Anders Fugmann
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Rasmus Reinholdt Nielsen @ 2002-09-12  7:05 UTC (permalink / raw)
  To: netfilter

Hi

I have two different internet connections, to two different ISP's, set up 
as load balancing.

My problem is that both my isp's have ip restricted their newsservers, so I 
need to bind all outgoing trafic on port 119 to a specific interface or ip. 
Anybody knows how to do this?

I have tried using redirect but it didn't work

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 119 -j REDIRECT --to 
<wan-ip>

and I get an error of "Invalid argument" on this SNAT rule

iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 119 -j SNAT --to <wan-ip>

hope somebody knows haw to do this.

Thanks

/Rasmus



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-09-14  9:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-12  7:05 binding nntp to one interface Rasmus Reinholdt Nielsen
2002-09-12  9:15 ` Anders Fugmann
2002-09-12 10:22 ` Antony Stone
2002-09-12 11:31   ` IPTABLES NewBie HareRam
2002-09-12 13:54     ` Antony Stone
2002-09-14  9:23       ` NAT and NAT HareRam
     [not found] ` <5.1.0.14.2.20020912131043.02711d58@of23sm3>
2002-09-12 11:51   ` binding nntp to one interface Anders Fugmann
2002-09-12 11:55     ` Rasmus Reinholdt Nielsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox