Pada tanggal 12/20/05, Poer Pongge <[EMAIL PROTECTED]> menulis:
> mo nanya pak, saya mencoba setting iptables, saya
> kepengen kommpi dengan ip 192.168.0.22 tidak boleh
> mengakses port 80 ( tidak boleh browsing ), saya sudah
> mencoba memasukan rule sbb :
>
> iptables -I INPUT -p tcp -s 192.168.0.22/32 -d
> 192.168.100.100/32 --destination-port 80 -j DROP
>
> gateway saya, ip untuk local 192.168.0.1 , ip ke isp
> 192.168.100.100
>
>
> tp kok tetep bisa browsing ya ?? adakah yg salah ?!
> mohon bantuannya pak.
> tengkyu.
>
>

rule yang atas kurang sesuai...
coba rule berikut

iptables -A FORWARD -p tcp -s 192.168.0.22/32 --destination-port 80 -j DROP


karena sifatnya gateway _cuma_ melewatkan paket browsing dari client,
makanya masuk rule FORWARD
lain cerita kalau yang diakses port 80 itu gatewaynya
kalau itu... coba pakai rule berikut
iptables -A INPUT -p tcp -s 192.168.0.22/32 --destination-port 80 -j DROP


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/0XFolB/TM
--------------------------------------------------------------------~-> 

"This is my way being a linuxer..."
http://jogja.linux.or.id
http://jogja.linux.or.id/wiki/

Untuk berhenti langganan silahkan kirim email kosong ke:
[EMAIL PROTECTED]
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/jogja-linux/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Kirim email ke