Bye NFS, hello Samba

This commit is contained in:
Maurice
2025-10-03 15:03:41 +02:00
parent 7edf0a8c3d
commit 88162ff382
3 changed files with 29 additions and 24 deletions

View File

@@ -76,11 +76,11 @@ table inet firewall {
udp dport { 67, 68, 784 } accept
tcp dport { 853 } accept
# Allow DNS, NFS from LAN and VPN
ip saddr { $lan_net, $vpn_net } udp dport { 53, 2049 } accept
ip6 saddr $lan_net6 udp dport { 53, 2049 } accept
ip saddr { $lan_net, $vpn_net } tcp dport { 53, 2049 } accept
ip6 saddr $lan_net6 tcp dport { 53, 2049 } accept
# Allow DNS (53), SMB (445, no netbios ports) from LAN and VPN
ip saddr { $lan_net, $vpn_net } udp dport { 53, 445 } accept
ip6 saddr $lan_net6 udp dport { 53, 445 } accept
ip saddr { $lan_net, $vpn_net } tcp dport { 53, 445 } accept
ip6 saddr $lan_net6 tcp dport { 53, 445 } accept
# Allow Minecraft server access from LAN and VPN
ip saddr { $lan_net, $vpn_net } tcp dport 25565 accept