Block external access to port 9050
This commit is contained in:
parent
b258052344
commit
da3ec04f02
|
@ -1175,6 +1175,7 @@ iptables -A INPUT -p tcp --destination-port 119 -j DROP
|
|||
iptables -A INPUT -p tcp --destination-port 137 -j DROP
|
||||
iptables -A INPUT -p tcp --destination-port 3306 -j DROP
|
||||
iptables -A INPUT -p tcp --destination-port 4242 -j DROP
|
||||
iptables -A INPUT -p tcp --destination-port 9050 -j DROP
|
||||
iptables -A INPUT -p udp --destination-port 1 -j DROP
|
||||
iptables -A INPUT -p udp --destination-port 7 -j DROP
|
||||
iptables -A INPUT -p udp --destination-port 109:111 -j DROP
|
||||
|
@ -1199,6 +1200,7 @@ iptables -A INPUT -p udp --destination-port 8432 -j DROP
|
|||
iptables -A INPUT -p udp --destination-port 8433 -j DROP
|
||||
iptables -A INPUT -p udp --destination-port 3306 -j DROP
|
||||
iptables -A INPUT -p udp --destination-port 4242 -j DROP
|
||||
iptables -A INPUT -p udp --destination-port 9050 -j DROP
|
||||
|
||||
# Make sure NEW incoming tcp connections are SYN packets
|
||||
iptables -A INPUT -p tcp ! --syn -m state --state NEW -j DROP
|
||||
|
|
Loading…
Reference in New Issue