1
Web Proxy Filtering and Caching / Re: HAPROXY add GeoIP capability and run rules inside HAPROXY based on GeoIP
« on: January 30, 2024, 02:04:58 pm »
Merci !
I'm using IPv6, so the export doesn't work.
If I uncheck IPv6 in the alias it exports IPv6, but the next time I download MaxMind it won't take IPv6...
To use this in HAProxy, don't search for GEO IP but for Source IP matches... and put the name of the list in Source IP, I suppose ?
I'm using IPv6, so the export doesn't work.
Code: [Select]
root@OPNsense:/usr/local/opnsense/scripts/custom # csh haproxy-alias.sh Geo_France
exit: Badly formed number.
If I uncheck IPv6 in the alias it exports IPv6, but the next time I download MaxMind it won't take IPv6...
To use this in HAProxy, don't search for GEO IP but for Source IP matches... and put the name of the list in Source IP, I suppose ?