Parcourir la source

Merge branch 'devel'

Edvinas Valatka il y a 9 ans
Parent
commit
91c3ddc6d5
3 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 2 0
      ACCEPT.tcp
  2. 2 0
      ACCEPT.udp
  3. 2 2
      e-router

+ 2 - 0
ACCEPT.tcp

@@ -7,6 +7,8 @@
 4665
 # syncthing-disco
 8443
+# acestream
+8621
 # syncthing
 22000
 # syncthing-relay

+ 2 - 0
ACCEPT.udp

@@ -6,3 +6,5 @@
 4664
 4662
 4672
+# acestream
+8621

+ 2 - 2
e-router

@@ -114,11 +114,11 @@ setup_open() {
     while read -r port ; do
         [[ "$port" =~ ^[0-9]{1,}$ ]] || continue
         iptables -A FW-OPEN -p udp -m conntrack --ctstate NEW --ctproto UDP --dport $port -j ACCEPT
-    done < $confd/ACCEPT.udp
+    done < $confd/Public.udp
     while read -r port ; do
         [[ "$port" =~ ^[0-9]{1,}$ ]] || continue
         iptables -A FW-OPEN -p tcp -m conntrack --ctstate NEW --ctproto TCP --dport $port -j ACCEPT
-    done < $confd/ACCEPT.tcp
+    done < $confd/Public.tcp
     iptables -A INPUT -i ${wan} -p udp -m conntrack --ctstate NEW --ctproto UDP -j FW-OPEN
     iptables -A INPUT -i ${wan} -p tcp -m conntrack --ctstate NEW --ctproto TCP -j FW-OPEN
 }