Mail Server Behind IPTABLES

George Alexandru Dragoi waruiinu at gmail.com
Wed Sep 1 06:22:48 CEST 2004


iptables -t nat -A PREROUTING -i eth1 -d 202.62.x.x -p tcp --dport 25
-j DNAT --to 10.0.0.10

On Wed, 1 Sep 2004 13:01:10 +1200, Ajen Diwakar <ajen at nsl.com.fj> wrote:
> Hi All
> 
> I am new to IPTABLES usage. I have linux(RH) 9.0.
> The external IP address eth1 is 202.62.x.x
> The internal ip address is 10.0.0.4
> 
> My mail server IP address is 10.0.0.10
> 
> How do I setup my iptables so that the mail to my record get transfred
> to the mail server.
> 
> Any assistance will be appreciated.
> 
> 


-- 
Bla bla



More information about the netfilter mailing list