sing-box
sing-box copied to clipboard
use geoip rules in inet4/6_route_address
Operating system
Linux
System version
Ubuntu 22.04
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
No response
Version
No response
Description
This is not a bug, but auto_route of tun is not smart enough to automatically include all IP addresses used in the rules.
It would be nice to have an option to use a geoip set in inet4_route_address and inet6_route_address
Reproduction
"inet4_route_address": [
"172.19.0.1/30",
....
Logs
No response
Integrity requirements
- [X] I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
- [X] I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
- [X] I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
- [X] I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.