Open muhammad-naderi opened 4 years ago
Potentially you would be looking at something like ipset to do this, you'd need to be able to ingest the IP addresses (probably best as ranges) and then load them into an ipset chain as hash:net
which you can then use to conditionally route. However you'd have to be careful with the memory for the amount of ranges.
Hello,
Great job here, thanks!
Just wanted to know is there a way to pass a list of ip/ranges to /etc/config/vpnbypass to get bypassed from another file. reason is I need to bypass like 11M IP addresses (local country ips, downloaded from https://www.nirsoft.net/countryip/ir.html) and leave all my international ips to go through vpn
thanks in advance