[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] Re: Iptables
Baz
Whoops ... I think that should have read as....
# mail
iptables -A FORWARD -i eth0 -o ppp0 -p tcp \
-s 192.168.1.1/24 --dport \
mail.mailserver.co.uk --dport 25 \
-m state --state NEW, RELATED, ESTABLISHED \
-j ACCEPT
#
#mail
#
iptables -A FORWARD -i eth0 -o ppp0 -p tcp \
-s 192.168.1.1/24 --dport \
mail.mailserver.co.uk --dport 110 \
-m state --state NEW, RELATED, ESTABLISHED \
-j ACCEPT
Thanks
--
Richard
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.