2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 21:33:02 +01:00
This commit is contained in:
kev
2015-06-17 14:13:00 +08:00
parent be168d8df8
commit 5862b9f29d

View File

@@ -1,10 +1,10 @@
Dante - A free SOCKS server Dante - A free SOCKS server
=========================== ===========================
Dante is a product developed by Inferno Nettverk A/S. It consists of a SOCKS [`Dante`][1] is a product developed by Inferno Nettverk A/S. It consists of a
server and a SOCKS client, implementing RFC 1928 and related standards. It is a SOCKS server and a SOCKS client, implementing RFC 1928 and related standards.
flexible product that can be used to provide convenient and secure network It is a flexible product that can be used to provide convenient and secure
connectivity. network connectivity.
## docker-compose.yml ## docker-compose.yml
@@ -47,7 +47,7 @@ socks pass {
``` ```
$ docker-compose up -d $ docker-compose up -d
# To enable password auth, please uncomment `socksmethod: username`. # To enable username authentication, please uncomment `socksmethod: username`.
$ docker exec -it dante_dante_1 bash $ docker exec -it dante_dante_1 bash
>>> useradd username >>> useradd username
>>> echo username:password | chpasswd >>> echo username:password | chpasswd
@@ -55,3 +55,5 @@ $ docker exec -it dante_dante_1 bash
$ curl -x socks5h://username:password@127.0.0.1:1080 https://www.youtube.com $ curl -x socks5h://username:password@127.0.0.1:1080 https://www.youtube.com
``` ```
[1]: http://www.inet.no/dante/index.html