D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] send out from internal mail server!



Ok, sussed it.

Was a simple case of adding -s !:

iptables -t nat -A PREROUTING -p tcp -s ! 10.0.0.0/255.0.0.0 -i eth0
--dport 25 -j DNAT 10.0.0.x:25

All is good and kind in the world again. I can even here the birds singing
outside again now.

Luke


------------------------------------------------------------------
PGPmail - "Free encrypted secure offshore webmail" https://pgp.bz/

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly