Close all open only ssh port

# Generated by iptables-save v1.4.12 on Wed Dec  7 20:10:49 2011
*filter
:INPUT DROP [45:2307]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [1571:4260654]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m tcp -s 1xx.xx.xx.xx --dport 22 -j ACCEPT
COMMIT
# Completed on Wed Dec  7 20:10:49 2011

Comments

Popular posts from this blog

Redirect apache request to another domain

Black screen after logging in on Windows 2012 R2 using domain credentials on remote desktop connection

Can't use proxy because no authentication schemes are fully configured.