It will be great if it possible to make rules in PBR based on geoip.
What I mean, for example:
set policy route TEST rule 10 destination geoip us
set policy route TEST rule 10 set table 1
set policy route TEST rule 20 destination geoip nl
set policy route TEST rule 20 set table 2
vyos@vpp# set policy route FOO rule 10 destination
Possible completions:
address IP address, subnet, or range
> geoip GeoIP options - Data provided by DB-IP.com
> group Group
port Port
vyos@vyos# set policy route TEST rule 10 destination
Possible completions:
address IP address, subnet, or range
> group Group
port Port
[edit]
vyos@vyos# run show version
Version: VyOS 1.4.2
Release train: sagitta
Release flavor: generic
Built by: VyOS Networks Iberia S.L.U.
Built on: Tue 01 Apr 2025 17:21 UTC
Build UUID: 01cfd92d-64ae-406c-83f7-bc75e509b75a
Build commit ID: 9cc58255f19640-dirty
Architecture: x86_64
Boot via: installed image
System type: KVM guest
Hardware vendor: OpenStack Foundation
Hardware model: OpenStack Nova
Hardware S/N: 726d2699-9ddf-4823-99af-bddf16de0e52
Hardware UUID: 726d2699-9ddf-4823-99af-bddf16de0e52
Copyright: VyOS maintainers and contributors