Skip to content

Commit

Permalink
Improve config examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Oct 16, 2023
1 parent 91a9f85 commit 174e38a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/client.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 此配置文件作为本地代理服务,运行在端口 1080 上,供浏览器或其它服务设置访问的端口.
# socks_userid 为空,表示设置为无用户密码认证.
# proxy_pass 表示通过连接到 proxy.server.example:443 远程服务.
# proxy_pass_ssl 表示通过 ssl 协议访问远程服务.
# http_doc 在作为本地代理服务时,是可有可无的,没有伪装的必要.
#

socks_server=0.0.0.0:1080

socks_userid=
Expand Down
8 changes: 8 additions & 0 deletions doc/server.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 此配置文件示例作为 server 运行在远程,如墙外,运行在端口 443,这样可以伪装成 web 服务.
# socks_userid 表示认证用户名.
# socks_passwd 表示认证密码.
# ssl_certificate 表示 ssl 证书文件位置.
# ssl_certificate_key 表示 ssl 证书密钥文件位置.
# http_doc 表示探测者在没有得到正确认证时,伪装成 web 文件服务的目录.
#

socks_server=0.0.0.0:443

socks_userid=admin
Expand Down

0 comments on commit 174e38a

Please sign in to comment.