浏览代码

Firewall update

Bob Mottram 11 年前
父节点
当前提交
a730dd6516
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      beaglebone.txt

+ 2
- 0
beaglebone.txt 查看文件

@@ -1050,6 +1050,7 @@ 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 1052
 iptables -A INPUT -p tcp --destination-port 3306 -j DROP
1053
+iptables -A INPUT -p tcp --destination-port 4242 -j DROP
1053 1054
 iptables -A INPUT -p udp --destination-port 1 -j DROP
1054 1055
 iptables -A INPUT -p udp --destination-port 7 -j DROP
1055 1056
 iptables -A INPUT -p udp --destination-port 109:111 -j DROP
@@ -1073,6 +1074,7 @@ iptables -A INPUT -p udp --destination-port 137 -j DROP
1073 1074
 iptables -A INPUT -p udp --destination-port 8432 -j DROP
1074 1075
 iptables -A INPUT -p udp --destination-port 8433 -j DROP
1075 1076
 iptables -A INPUT -p udp --destination-port 3306 -j DROP
1077
+iptables -A INPUT -p udp --destination-port 4242 -j DROP
1076 1078
 
1077 1079
 # Make sure NEW incoming tcp connections are SYN packets
1078 1080
 iptables -A INPUT -p tcp ! --syn -m state --state NEW -j DROP