On Thu, Apr 29, 2004 at 10:59:49AM +0100, Gavin Hamill wrote: > 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 what about iptables -t nat -A PREROUTING -p tcp -i eth1 -s ! 10.0.0.253 --dport 25 -j DNAT --to 10.0.0.253:25 I presume 10.0.0.253 is also on eth1. > > 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. > >
Attachment:
signature.asc
Description: Digital signature