Page MenuHomeVyOS Platform

Add GeoIP matching support for policy route
Closed, ResolvedPublicFEATURE REQUEST

Description

now firewall support geoip ,that is cool ,but it is only for firewall , also need for policy route/local-route destination .
like this :
set policy route shunt rule 1 destination geoip country-code cn
set policy local-route rule 1 destination geoip country-code us

seems geoip will convert to lots of cidr address , that may make the config file too big to read/check. could add a feature like include config.d/ in linux ?

thanks!

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

Viacheslav triaged this task as Wishlist priority.Jan 20 2024, 1:32 PM

with the fix n.fort put in this feature is greatly sort after, definitely a thump up from me.

Mostly impossible for policy local-route
I'm not expecting that it will be implemented at all.

set policy local-route doesn't make sense to me to have a geoip network group, however geoip in set policy route allows for greater flexibility while performing routing to ensure traffic traverse through specific destination for compliance and regulatory purposes.

vyosbot added a project: Restricted Project.Oct 31 2024, 6:08 AM
sarthurdev changed the task status from Open to In progress.Apr 1 2025, 6:06 PM
sarthurdev assigned this task to sskaje.
c-po changed the task status from In progress to Needs testing.Apr 22 2025, 3:21 PM
c-po edited projects, added VyOS 1.5 Circinus; removed Restricted Project.

HI ,
I tested it . it works well. Could you please merge it into stable version vyos 1.4 ? Many thanks!

dmbaturin renamed this task from Need geoip option for policy route to Add GeoIP matching support for policy route.Jul 9 2025, 1:09 PM
dmbaturin closed this task as Resolved.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Unspecified (please specify) to Feature (new functionality).