История изменений
Исправление thematt, (текущая версия) :
/sbin/iptables -t filter -4 -F
/sbin/iptables -t filter -4 -P INPUT DROP
/sbin/iptables -t filter -4 -A INPUT -i lo -j ACCEPT
/sbin/iptables -t filter -4 -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
/sbin/iptables -t filter -4 -P FORWARD DROP
/sbin/iptables -t filter -4 -P OUTPUT ACCEPT
Исходная версия thematt, :
/sbin/iptables -t filter -4 -F /sbin/iptables -t filter -4 -P INPUT DROP /sbin/iptables -t filter -4 -A INPUT -i lo -j ACCEPT /sbin/iptables -t filter -4 -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT /sbin/iptables -t filter -4 -P FORWARD DROP /sbin/iptables -t filter -4 -P OUTPUT ACCEPT