SOCKS 5 Proxy with Go Lang. Forked from https://github.com/ziozzang/socks5-proxy.
Config expalantion:
- addr - port to run socks5 proxy server;
- userlist - login/password pairs to authenticate;
- ipallow - ip addresses from which you can connect, works only for NoAuthentication, which is disabled;
- pattern - proxy whitelist, works with regexp. For example:
- ".*?" - allow any address;
- "10.0.0.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" - allow any address from 10.0.0.0 to 10.0.0.255;
- "translate.google.com" - allow the exact address with subdomain;
- "(.*?).google.com" - allow addres with any subdomains;
- blockpattern - proxy blacklist. works exactly the same as pattern but in reverse.