*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -p icmp -j ACCEPT 
-A INPUT -p tcp --dport http -j ACCEPT
-A INPUT -p tcp --dport ssh -j ACCEPT
-A INPUT -p tcp --dport 8153 -j ACCEPT
-A INPUT -p tcp --dport 4432 -j ACCEPT
-A INPUT -s 127.0.0.1 -p tcp --dport 65155 -j ACCEPT
-A INPUT -p tcp --dport 65155 -j REJECT
-A INPUT -s 127.0.0.1 -p tcp --dport 1080 -j ACCEPT
-A INPUT -p tcp --dport 1080 -j REJECT
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT 
-A INPUT -i lo -j ACCEPT 
COMMIT
