Wednesday, May 26, 2010

Flush Iptables

Ternyata untuk ngeflush iptables di ubuntu agak banyak commandnya :

root@xserver:~# iptables -F
root@xserver:~# iptables -X
root@xserver:~# iptables -t nat -F
root@xserver:~# iptables -t nat -X
root@xserver:~# iptables -t mangle -F
root@xserver:~# iptables -t mangle -X
root@xserver:~# iptables -P INPUT ACCEPT
root@xserver:~# iptables -P OUTPUT ACCEPT

0 comments:

Post a Comment