On Tue, Dec 05, 2006 at 12:16:00AM -0800, henche muliawan wrote: > sudah saya jalankan, tetapi masih muncul. apakah ada > solusi lain? service iptables pun sudah saya uncheck, > tetapi setiap kali saya mencoba : > #service iptables status > > service nya masih jalan, walaupun tidak ada policy > yang di drop. saya tidak pakai policy apapun. > apakah ada solusi lain?
Servicenya harus distop dahulu, kalau pakai redhat based: # /etc/init.d/iptables stop Kalau mau nge-flush iptables coba jalankan script di bawah ini #!/bin/bash # # /etc/rc.d/rc.flush # # flush iptables # sesuaikan dg lokasi iptables IPTABLES="/sbin/iptables -v" # # reset the default policies in the filter table. # $IPTABLES -P INPUT ACCEPT $IPTABLES -P FORWARD ACCEPT $IPTABLES -P OUTPUT ACCEPT # # reset the default policies in the nat table. # $IPTABLES -t nat -P PREROUTING ACCEPT $IPTABLES -t nat -P POSTROUTING ACCEPT $IPTABLES -t nat -P OUTPUT ACCEPT # # reset the default policies in the mangle table. # $IPTABLES -t mangle -P PREROUTING ACCEPT $IPTABLES -t mangle -P OUTPUT ACCEPT # # flush all the rules in the filter and nat tables. # $IPTABLES -F $IPTABLES -t nat -F $IPTABLES -t mangle -F # # erase all chains that's not default in filter and nat table. # $IPTABLES -X $IPTABLES -t nat -X $IPTABLES -t mangle -X Simpan skripnya sebagai /etc/rc.d/rc.flush, dan jalankan chmod 755 /etc/rc.d/rc.flush eksekusi: /etc/rc.d/rc.flush Semoga berhasil. -- Salam, ~~ Arief Yudhawarman ~~ -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke [EMAIL PROTECTED] Arsip dan info milis selengkapnya di http://linux.or.id/milis
