2017-04-25 00:03:06 +03:00
|
|
|
# go-socks5-proxy
|
|
|
|
[![CircleCI](https://circleci.com/gh/serjs/socks5-server.svg?style=shield)](https://circleci.com/gh/serjs/socks5-server)
|
2016-12-20 13:13:22 +03:00
|
|
|
|
2017-04-25 00:03:06 +03:00
|
|
|
Simple socks5 server using go-socks5 with auth
|
2016-12-20 13:13:22 +03:00
|
|
|
|
2017-04-25 00:03:06 +03:00
|
|
|
# Start container with proxy
|
|
|
|
```docker run -d --name socks5-proxy -p 1080:1080 -e PROXY_USER=<PROXY_USER> -e PROXY_PASSWORD=<PROXY_PASSWORD> serjs/go-socks5-proxy```
|
2016-12-20 13:13:22 +03:00
|
|
|
|
2017-04-25 00:03:06 +03:00
|
|
|
where
|
|
|
|
|
|
|
|
```<PROXY_USER>``` - username to authenticate
|
|
|
|
|
|
|
|
```<PROXY_PASSWORD>``` - password to authenticate
|
|
|
|
|
|
|
|
# Test running service
|
|
|
|
```curl --socks5 <docker machine ip>:1080 -U <PROXY_USER>:<PROXY_PASSWORD> https://ifcfg.me``` - result must show docker host ip (for bridged network)
|