# Generated by iptables-save v1.6.2 on Sun Sep 2 11:24:43 2018
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
-A INPUT -i lo -j ACCEPT
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
# Incomming ping
-A INPUT -p icmp --icmp-type 8 -m conntrack --ctstate NEW,ESTABLISHED,RELATED -j ACCEPT
# Outgoing Ping
-A INPUT -p icmp --icmp-type 0 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
# ICMP
# aMule rule
-A INPUT -p tcp -m tcp --sport 8369 -m conntrack --ctstate ESTABLISHED -j ACCEPT -m comment --comment "eMule Security No1"
-A INPUT -p tcp -m tcp --sport 6584 -m conntrack --ctstate ESTABLISHED -j ACCEPT -m comment --comment "eMule Seucirty No2"
-A INPUT -p tcp -m tcp --sport 4232 -m conntrack --ctstate ESTABLISHED -j ACCEPT -m comment --comment "!! Sharing-Devils No.1 !!"
-A INPUT -p tcp -m tcp --sport 4661 -m conntrack --ctstate ESTABLISHED -j ACCEPT -m comment --comment "aMule"
-A INPUT -p tcp -m tcp --sport 4662 -m conntrack --ctstate ESTABLISHED -j ACCEPT -m comment --comment "aMule"
-A INPUT -p udp -m udp --dport 4665 -m conntrack --ctstate ESTABLISHED -j ACCEPT -m comment --comment "aMule"
-A INPUT -p udp -m udp --dport 4672 -j ACCEPT -m comment --comment "aMule"
-A INPUT -p tcp -m tcp --dport 15530 -m conntrack --ctstate NEW,ESTABLISHED,RELATED -j ACCEPT -m comment --comment "In mode aMule"
-A INPUT -p udp -m udp --dport 15533 -m conntrack --ctstate NEW,ESTABLISHED,RELATED -j ACCEPT -m comment --comment "aMule"
-A INPUT -p udp -m udp --dport 15540 -j ACCEPT -m comment --comment "aMule"
-A INPUT -j DROP
-P FORWARD DROP
-A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
# Incomming Ping
-A OUTPUT -p icmp --icmp-type 0 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
# Outgoing Ping
-A OUTPUT -p icmp --icmp-type 8 -m conntrack --ctstate NEW,ESTABLISHED,RELATED -j ACCEPT
#
-A OUTPUT -p udp -m udp --dport 53 -m conntrack --ctstate NEW -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 53 -m conntrack --ctstate NEW -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 80 -m conntrack --ctstate NEW -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 443 -m conntrack --ctstate NEW -j ACCEPT
# aMule rules
#
-A OUTPUT -p tcp -m tcp --dport 8369 -m conntrack --ctstate NEW -j ACCEPT -m comment --comment "eMule Security No1"
-A OUTPUT -p tcp -m tcp --dport 6584 -m conntrack --ctstate NEW -j ACCEPT -m comment --comment "eMule Seucirty No2"
-A OUTPUT -p tcp -m tcp --dport 4232 -m conntrack --ctstate NEW -j ACCEPT -m comment --comment "!! Sharing-Devils No.1 !!"
-A OUTPUT -p tcp -m tcp --dport 4661 -m conntrack --ctstate NEW -j ACCEPT -m comment --comment "aMule"
-A OUTPUT -p tcp -m tcp --dport 4662 -m conntrack --ctstate NEW -j ACCEPT -m comment --comment "aMule"
-A OUTPUT -p udp -m udp --sport 4665 -m conntrack --ctstate NEW -j ACCEPT -m comment --comment "aMule"
-A OUTPUT -p tcp -m tcp --sport 15530 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT -m comment --comment "Out mode aMule"
-A OUTPUT -p udp -m udp --sport 15533 -j ACCEPT -m comment --comment "aMule"
-A OUTPUT -p udp -m udp --sport 4672 -j ACCEPT -m comment --comment "aMule Kademlia"
-A OUTPUT -p udp -m udp --sport 15540 -j ACCEPT -m comment --comment "aMule"
-A OUTPUT -j DROP
COMMIT
# Completed on Sun Sep 2 11:24:43 2018
# Generated by iptables-save v1.6.2 on Sun Sep 2 11:24:43 2018
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Sun Sep 2 11:24:43 2018
# Generated by iptables-save v1.6.2 on Sun Sep 2 11:24:43 2018
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Sun Sep 2 11:24:43 2018
# Generated by iptables-save v1.6.2 on Sun Sep 2 11:24:43 2018
*raw
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
# Completed on Sun Sep 2 11:24:43 2018