Port used for SSB udp broadcasts on lan

This commit is contained in:
Bob Mottram 2017-09-17 10:57:53 +01:00
parent e27f7843ef
commit 3ebd4d372d
1 changed files with 4 additions and 0 deletions

View File

@ -155,6 +155,8 @@ function stop {
iptables -D INPUT -p tcp --dport $LIBREVAULT_PORT -j ACCEPT
iptables -D INPUT -p udp --dport $LIBREVAULT_PORT -j ACCEPT
iptables -D INPUT -p tcp --dport $TAHOELAFS_PORT -j ACCEPT
# SSB/Patchwork
iptables -D INPUT -p udp --dport 8008 -j ACCEPT
systemctl restart network-manager
}
@ -307,6 +309,8 @@ function start {
iptables -A INPUT -p tcp --dport $LIBREVAULT_PORT -j ACCEPT
iptables -A INPUT -p udp --dport $LIBREVAULT_PORT -j ACCEPT
iptables -A INPUT -p tcp --dport $TAHOELAFS_PORT -j ACCEPT
# SSB/Patchwork
iptables -A INPUT -p udp --dport 8008 -j ACCEPT
systemctl restart avahi-daemon