Browse Source

Add mysql to firewall

Bob Mottram 11 years ago
parent
commit
8feef6de87
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      beaglebone.txt

+ 2
- 0
beaglebone.txt View File

@@ -1049,6 +1049,7 @@ iptables -A INPUT -p tcp --destination-port 32771:32774 -j DROP
1049 1049
 iptables -A INPUT -p tcp --destination-port 4000 -j DROP
1050 1050
 iptables -A INPUT -p tcp --destination-port 119 -j DROP
1051 1051
 iptables -A INPUT -p tcp --destination-port 137 -j DROP
1052
+iptables -A INPUT -p tcp --destination-port 3306 -j DROP
1052 1053
 iptables -A INPUT -p udp --destination-port 1 -j DROP
1053 1054
 iptables -A INPUT -p udp --destination-port 7 -j DROP
1054 1055
 iptables -A INPUT -p udp --destination-port 109:111 -j DROP
@@ -1071,6 +1072,7 @@ iptables -A INPUT -p udp --destination-port 119 -j DROP
1071 1072
 iptables -A INPUT -p udp --destination-port 137 -j DROP
1072 1073
 iptables -A INPUT -p udp --destination-port 8432 -j DROP
1073 1074
 iptables -A INPUT -p udp --destination-port 8433 -j DROP
1075
+iptables -A INPUT -p udp --destination-port 3306 -j DROP
1074 1076
 
1075 1077
 # Make sure NEW incoming tcp connections are SYN packets
1076 1078
 iptables -A INPUT -p tcp ! --syn -m state --state NEW -j DROP