[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Again] small mail server & IPTABLES



-----BEGIN PGP SIGNED MESSAGE-----

Hallo * Vittorio <vdemart@supereva.it> [2003-06-04 13:15]:
> 
> Now I DON'T want that from the outside world, from the Internet via
> ppp0 someone could access my imap server which is on duty for my
> internal network only.
> 
> What IPTABLES lines should I add to my firewall to avoid these
> intrusions?
> 

iptables -A INPUT -i ppp0 -p TCP --dport imap  -j DROP
iptables -A INPUT -i ppp0 -p TCP --dport imaps -j DROP

HTH

wbr,
Lukas
- -- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP?  <http://www.rawip.org>   |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iQCVAwUBPt3Wqmg5P0zSC6LtAQGpIwP9H8qrlaFg3eKMfsq4OqKKe4h+sZmGG9sM
Nhnvpv6P2Zk5JsfpFbN8SkEXgPXWm33f1bTtoii+5qg9AzcBnYNSwOfm7+n2YY4S
DrvrNm5eviFajUsaIKAiwRPNdwiKT3kakOe5roI/uZO39FNM78b09kUD9Ti7WhDW
SOGGTf0LxhA=
=sNd0
-----END PGP SIGNATURE-----



Reply to: