Open ports for minecraft.

This commit is contained in:
zaiken zaiken 2019-12-03 17:34:34 +01:00 committed by root
parent 6b0ceb684a
commit 17fda09f93

View file

@ -75,6 +75,12 @@ table inet firewall {
elements = {10.7.0.243} elements = {10.7.0.243}
} }
set minecraft {
type ipv4_addr
flags interval
elements = {193.48.225.202}
}
chain to_dmz { chain to_dmz {
ip saddr 10.7.0.0/16 accept ip saddr 10.7.0.0/16 accept
@ -92,6 +98,9 @@ table inet firewall {
ip daddr @video tcp dport { 5678 } accept ip daddr @video tcp dport { 5678 } accept
ip saddr $monitoring udp dport { 161 } accept ip saddr $monitoring udp dport { 161 } accept
ip daddr @minecraft tcp dport { 25565 } accept
ip daddr @minecraft udp dport { 25565 } accept
ip saddr @ldap_clients ip daddr @ldap tcp dport { 389, 636 } accept ip saddr @ldap_clients ip daddr @ldap tcp dport { 389, 636 } accept
ip saddr @ldap_clients ip daddr @ldap udp dport { 636 } accept ip saddr @ldap_clients ip daddr @ldap udp dport { 636 } accept