Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lozy committed Apr 4, 2020
1 parent 31f03a9 commit 2274e7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Comparing with the apt-get or building from source manually, this script will be
* Auto-config, check the system's network or read from argument to auto-generate config file.
* Same-rotation, in multi-ipaddr system. It works like when using different ip address to connect socks5, your external ip address will be different. That's the main reason why I using Dante for years.
* Multi-authorization, you can configure authorization by pam, system or using whitelist.
* Docker run support [New].
* Docker support [New]
* Support Dante Latest version 1.4.2 [New]

## Install by Docker

Expand Down Expand Up @@ -108,7 +109,8 @@ bash install.sh --uninstall
| Long Option | Short Option | Value refer | description |
| :--- | :--- | --- | --- |
| --ip= | | ip address list (a.a.a.a:b.b.b.b) *#change ';' to ':' * | Socks5 Server Ip address |
| --port= | | Default: 2016| port for dante socks5 server |
| --port= | | Default: 2016| port for dante socks5 server |
| --version= | | Default: 1.3.2 | dante server version, latest is 1.4.2 |
| --user= | | Pam-Auth Username | Socks5 Auth user |
| --passwd= | | Pam-Auth Password |Socks5 Auth passwd |
| --whitelist= | | whitelist ip range (a.a.a.a/32:b.b.b.b/32) |Socks5 Auth IP list |
Expand Down
5 changes: 3 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,15 @@ curl https://ifconfig.co --socks5 127.0.0.1:2020 --proxy-user sockd:sockd
| 选项 | 描述 |
| ----- | ----- |
| --port= | socks5 端口号码 |
| --ip=;; | 配置的IP地址,默认全部开启,使用;分格 |
| --ip=: | 配置的IP地址,默认全部开启,使用:分格 |
| --version= | dante 版本, 默认 1.3.2, 最新 1.4.2 |
| --user= | pam认证用户名 |
| --passwd= | pam认证用户密码|
| --master= | 免认证地址,例如 github.com 或者 8.8.8.8/32 |

### 功能特点

+ 1. 采用dante稳定版本 1.3.2 编译安装
+ 1. 采用dante稳定版本 1.3.2 编译安装 (也同时支持1.4.2)
+ 2. 自动识别系统IP(默认排除192.168.0.*, 10.0.0.*,127.0.0.*),根据安装命令选择部分Ip或者全部IP安装(多IP环境)。
+ 3. 采用PAM 用户认证,认证不需要添加系统用户(默认添加进程用户sock),删除、添加用户方便,安全。
+ 4. sock5 运行状态查看,系统启动后自动加载。
Expand Down

0 comments on commit 2274e7c

Please sign in to comment.