initial commit of file from CVS for smeserver-wsdd on Sat Sep 7 21:16:38 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 21:16:38 +10:00
parent e42f9a02d2
commit 475a737c81
18 changed files with 544 additions and 2 deletions

View File

@@ -0,0 +1 @@
3702,5357

View File

@@ -0,0 +1 @@
3702

View File

@@ -0,0 +1 @@
private

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
service

View File

@@ -0,0 +1,14 @@
# Allow for wsdd
/sbin/iptables -A INPUT -p udp --dport 3702 -j ACCEPT
/sbin/iptables -A OUTPUT -p udp --dport 3702 -j ACCEPT
#/sbin/iptables -A INPUT -p tcp --dport 3702 -j ACCEPT
#/sbin/iptables -A OUTPUT -p tcp --dport 3702 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 5357 -j ACCEPT
/sbin/iptables -A OUTPUT -p tcp --dport 5357 -j ACCEPT
/sbin/iptables -A INPUT -d 239.255.255.250 -j ACCEPT
/sbin/iptables -A INPUT -s 239.255.255.250 -j ACCEPT
/sbin/iptables -A OUTPUT -d 239.255.255.250 -j ACCEPT
/sbin/iptables -A OUTPUT -s 239.255.255.250 -j ACCEPT

View File

@@ -0,0 +1,4 @@
[Unit]
After=bootstrap-console.service
Wants=
Wants=network-online.target

View File

@@ -0,0 +1,7 @@
[Service]
ExecStartPre=
ExecStart=
{
$OUT .= "ExecStart=/usr/bin/wsdd -4 -i $InternalInterface{Name} -w $smb{Workgroup} -s";
}

View File

@@ -0,0 +1,2 @@
[Install]
WantedBy=sme-server.target

View File

@@ -0,0 +1 @@
wsdd:any:/sbin/e-smith/signal-event smeserver-wsdd-update