122 iptables -L
123 iptables -A INPUT -j REJECT
118 iptables -D INPUT 5
2003 iptables -L INPUT
2004 iptables -L INPUT
2005 iptables -L INPUT 4
2006 iptables -I INPUT 5 -s 71.26.22.12 -p tcp --dport 3306 -j ACCEPT
2007 iptables -L INPUT 5
2008 iptables -L INPUT
2009 iptables -D INPUT 4
2010 iptables -L INPUT
iptables -I INPUT 5 -s x.x.x.x -p tcp --dport 3306 -j ACCEPT
ReplyDeleteINSERT into INPUT 5:
ReplyDelete/sbin/iptables -I INPUT 5 -s 6.10.9.91 -p tcp --dport 3306 -j ACCEPT
SHOW current iptable rules:
/sbin/iptables -L
DELETE INPUT 4:
/sbin/iptables -D INPUT 4