Update firewall
This commit is contained in:
@@ -82,6 +82,12 @@ table inet firewall {
|
|||||||
ip saddr { $lan_net, $vpn_net } tcp dport 53 accept
|
ip saddr { $lan_net, $vpn_net } tcp dport 53 accept
|
||||||
ip6 saddr $lan_net6 tcp dport 53 accept
|
ip6 saddr $lan_net6 tcp dport 53 accept
|
||||||
|
|
||||||
|
# Allow Minecraft server access from LAN and VPN
|
||||||
|
ip saddr { $lan_net, $vpn_net } tcp dport 25565 accept
|
||||||
|
ip saddr { $lan_net, $vpn_net } udp dport 25565 accept
|
||||||
|
ip saddr { $lan_net, $vpn_net } tcp dport 19132 accept
|
||||||
|
ip saddr { $lan_net, $vpn_net } udp dport 19132 accept
|
||||||
|
|
||||||
# Rules for WAN interface only
|
# Rules for WAN interface only
|
||||||
iifname $wan udp dport 51820 accept # Allow Wireguard incoming from WAN
|
iifname $wan udp dport 51820 accept # Allow Wireguard incoming from WAN
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user