Auto choose proxy or not by rules.
./autoproxy autoproxy.toml
You can get Country.mmdb
from here.
---------------- ------------- -----------
| gatewaysocks | === TCP/UDP ==> | autoproxy | ===== TCP/UDP ====> | stunnel |
---------------- ------------- | -----------
^ ^ | -----------
| | |== TCP/UDP ====> | direct |
| | -----------
----------------- ------------------
| other devices | | set system |
| in the same | | proxy settings |
| router | | to autoproxy |
----------------- ------------------