Showing posts with label iptables. Show all posts
Showing posts with label iptables. Show all posts

Monday, December 12, 2016

Menonaktifkan atau menghapus iptables

Menonaktifkan atau menghapus iptables



jika Anda menggunakan RedHat , Fedora , atau Cent OS

caranya :


# service iptables save

# service iptables stop

# chkconfig iptables off


Dan untuk yang memakai Distro Linux yang Lainnya , Caranya :

# iptables -F

# iptables -X

# iptables -t nat -F

# iptables -t nat -X

# iptables -t mangle -F

# iptables -t mangle -X

# iptables -P INPUT ACCEPT

# iptables -P OUTPUT ACCEPT

Anda mungkin harus menempatkan script di atas aturan dalam shell dan melaksanakan yang sama. Juga membuang "iptables startup script" dari file konfigurasi jaringan Anda:

untuk Redhat : /etc/rc.local

untuk slackware : /etc/rc.d/rc.inet1


Available link for download

Read more »