File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -54,3 +54,38 @@ outbound.shadowsocks
5454::: warning
5555"none" 不加密方式下,服务器端不会验证 "password" 中的密码。一般需要加上 TLS 并在传输层使用安全配置,例如 WebSocket 配置较长的 path
5656:::
57+ Shadowsocks+aes-256-gcm配置示例,这是一个最简单的配置,不是最佳实践,这个配置可以用于回国,但是切勿用于翻墙!
58+ ``` json
59+ {
60+ "log" : {
61+ "access" : " " ,
62+ "error" : " " ,
63+ "loglevel" : " info"
64+ },
65+ "inbounds" : [
66+ {
67+ "port" : 443 ,
68+ "listen" : " 0.0.0.0" ,
69+ "protocol" : " shadowsocks" ,
70+ "settings" : {
71+ "method" : " aes-256-gcm" , //这里使用`aes-256-gcm`加密方式,如果你的CPU不带aes加密指令集也可以使用`"chacha20-poly1305"` 或 `"chacha20-ietf-poly1305"`
72+ "password" : " ukrxmqlkYTnyyb5sgc8mqiDe5vMoFqRwxefqiigxfdzgigLASE=" , //更改这里的密码,让他变得更加复杂
73+ "network" : " tcp,udp"
74+ },
75+ "sniffing" : {
76+ "enabled" : false ,//如果需要流量探测,请将其改为`true`
77+ "destOverride" : [
78+ " http" ,
79+ " tls"
80+ ]
81+ }
82+ }
83+ ],
84+ "outbounds" : [
85+ {
86+ "protocol" : " freedom" ,
87+ "settings" : {}
88+ }
89+ ]
90+ }
91+ ```
You can’t perform that action at this time.
0 commit comments