set firewall ipv4 name WAN-LOCAL default-action ‘drop’
set firewall ipv4 name WAN-LOCAL default-log
set firewall ipv4 name WAN-LOCAL rule 1000 action ‘drop’
set firewall ipv4 name WAN-LOCAL rule 1000 state ‘invalid’
set firewall ipv4 name WAN-LOCAL rule 1010 action ‘accept’
set firewall ipv4 name WAN-LOCAL rule 1010 state ‘established’
set firewall ipv4 name WAN-LOCAL rule 1010 state ‘related’
set firewall ipv4 name WAN-LOCAL rule 1020 action ‘accept’
set firewall ipv4 name WAN-LOCAL rule 1020 icmp type-name ‘echo-request’
set firewall ipv4 name WAN-LOCAL rule 1020 protocol ‘icmp’
set firewall ipv4 name WAN-LOCAL rule 1030 action ‘accept’
set firewall ipv4 name WAN-LOCAL rule 1030 destination port ‘22’
set firewall ipv4 name WAN-LOCAL rule 1030 protocol ‘tcp’
set firewall ipv4 name WAN-LOCAL rule 1030 source geoip country-code ‘bg’
set firewall ipv4 name WAN-LOCAL rule 1030 state ‘new’
set firewall ipv4 name WAN-LOCAL rule 1040 action ‘accept’
But can’t find how to apply that policy, any suqqestions ?
Version is VyOS 1.5-rolling-202405101513