SSB also needs tcp for posts

This commit is contained in:
Bob Mottram 2017-09-17 11:23:41 +01:00
parent 3ebd4d372d
commit 3e4e0c3007
1 changed files with 2 additions and 0 deletions

View File

@ -157,6 +157,7 @@ function stop {
iptables -D INPUT -p tcp --dport $TAHOELAFS_PORT -j ACCEPT
# SSB/Patchwork
iptables -D INPUT -p udp --dport 8008 -j ACCEPT
iptables -D INPUT -p tcp --dport 8008 -j ACCEPT
systemctl restart network-manager
}
@ -311,6 +312,7 @@ function start {
iptables -A INPUT -p tcp --dport $TAHOELAFS_PORT -j ACCEPT
# SSB/Patchwork
iptables -A INPUT -p udp --dport 8008 -j ACCEPT
iptables -A INPUT -p tcp --dport 8008 -j ACCEPT
systemctl restart avahi-daemon