Skip to content

airtrack/autoproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoProxy

Auto choose proxy or not by rules.

  • TCP connections are automatically proxied or directly connected according to the rules.
  • UDP packets are sent directly to the destination address or via a proxy, based on matching rules for the destination address.
  • DNS server, according to the rules, directly resolves to the upstream DNS or goes through a proxy to resolve to the upstream DNS.

Usage

./autoproxy autoproxy.toml

You can get Country.mmdb from here.

Work with stunnel and gatewaysocks

    ----------------                 -------------                        -------------
    |              |                 |           |                        |           |
    | gatewaysocks | --- TCP/UDP --> | autoproxy | ------- TCP/UDP -----> |  stunnel  |
    |              |                 |           |    |                   |           |
    ----------------                 -------------    |                   -------------
           ^                               ^          |
           |                               |          |                   -------------
           |                               |          |                   |           |
           |                               |          |--- TCP/UDP -----> |  direct   |
           |                               |                              |           |
           |                               |                              -------------
    -----------------             ------------------
    |    devices    |             |   set system   |
    |  in the same  |             | proxy settings |
    |    router     |             |  to autoproxy  |
    -----------------             ------------------

About

Auto proxy with rules

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages