Skip to content

Commit e6c9b60

Browse files
committed
support socks5 username/password auth method
1 parent b9bd7d8 commit e6c9b60

File tree

3 files changed

+237
-40
lines changed

3 files changed

+237
-40
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ $ ipt2socks --help
5555
usage: ipt2socks <options...>. the existing options are as follows:
5656
-s, --server-addr <addr> socks5 server ip address, <required>
5757
-p, --server-port <port> socks5 server port number, <required>
58+
-a, --auth-username <user> username for socks5 authentication
59+
-k, --auth-password <passwd> password for socks5 authentication
5860
-b, --listen-addr4 <addr> listen ipv4 address, default: 127.0.0.1
5961
-B, --listen-addr6 <addr> listen ipv6 address, default: ::1
6062
-l, --listen-port <port> listen port number, default: 60080
@@ -76,6 +78,8 @@ usage: ipt2socks <options...>. the existing options are as follows:
7678
```
7779
- -s 选项指定 socks5 服务器的监听地址。
7880
- -p 选项指定 socks5 服务器的监听端口。
81+
- -a 选项指定 socks5 服务器的认证用户。
82+
- -k 选项指定 socks5 服务器的认证密码。
7983
- -b 选项指定 ipt2socks 的 IPv4 监听地址。
8084
- -B 选项指定 ipt2socks 的 IPv6 监听地址。
8185
- -l 选项指定 ipt2socks 的透明代理监听端口。

0 commit comments

Comments
 (0)