sebaiknya options INPUT diganti FORWARD jika mesin tersebut router

brgd,

----- Original Message ----- 
From: "Hakim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 20, 2004 10:38 AM
Subject: [tanya-jawab] Block smtp dan pop3


> guys..tanya lagi saya mau block semua request smtp dan pop3..dan saya
hanya
> memberikan ke ip tertentu ( maksudnya biar nggak langganan pop3 free hanya
> pop3 company saja) knp sll masih bisa ???
>
> iptables saya begini :
> iptables -I INPUT -p tcp -i eth0  -s 192.168.1.0/24 -d
> 0/0 --destination-port 110 -j DROP
> iptables -I INPUT -p tcp -i eth0  -s 192.168.1.0/24 -d
> 0/0 --destination-port 25 -j DROP
> iptables -I INPUT -p tcp -i eth0  -s 192.168.1.1/32 -d
> 0/0 --destination-port 110 -j ACCEPT
> iptables -I INPUT -p tcp -i eth0  -s 192.168.1.1/32 -d
> 0/0 --destination-port 25 -j ACCEPT
>
> pls hlp me
>
> s.hakim
>
>
>
> -- 
> Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
> Arsip dan info di http://linux.or.id/milis.php
> FAQ milis http://linux.or.id/faq.php
>
>


-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php
FAQ milis http://linux.or.id/faq.php

Kirim email ke