Linux Netfilter discussions
 help / color / mirror / Atom feed
* Redirecting outgoing SMTP from LAN to another LAN server
@ 2004-04-29  9:59 Gavin Hamill
  2004-04-29 13:37 ` Alexander Samad
  0 siblings, 1 reply; 9+ messages in thread
From: Gavin Hamill @ 2004-04-29  9:59 UTC (permalink / raw)
  To: netfilter

Hullo :)

I'd like to do $SUBJECT, but after much playing with commands like

iptables -t nat -A PREROUTING -p tcp -i eth1 --dport 25 -j DNAT --to 10.0.0.253:25

I have given up and have come to you fine people for help...

My LAN is on eth1, with WAN on eth0. The gateway machine is 10.0.0.254 doing masq for 
LAN clients, but I'd like to send any outgoing SMTP connections to 10.0.0.253 - alas 
any time I've tried, I just end up killing ALL outgoing SMTP :(

Any suggestions warmly received!

Cheers,
Gavin.


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

end of thread, other threads:[~2004-05-15 12:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-29  9:59 Redirecting outgoing SMTP from LAN to another LAN server Gavin Hamill
2004-04-29 13:37 ` Alexander Samad
2004-04-29 14:47   ` Sven Schuster
2004-04-29 22:23     ` Alexander Samad
2004-04-30 12:28     ` Gavin Hamill
2004-05-13 12:46     ` Gavin Hamill
2004-05-13 13:42       ` Antony Stone
2004-05-15 11:42         ` Micha Silver
2004-05-15 12:27           ` Gavin Hamill

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