mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-09 18:43:13 +00:00
d35c6f5aaa
Update vmess_ws_tls.json comment translate Update vmess_tcp_tls.json comment translate Update vless_ws_tls.json comment trnslate Update vless_tcp_xtls.json comment translate Update vless_tcp_tls.json comment translate Update trojan_tcp_tls.json comment translate Create README.ENG.md Update README.md add link README.ENG.md Update README.md add link README.ENG.md Create README.ENG.md Update README.md add link README.ENG.md Create README.ENG.md Update client.json comment transalate Update server.json comment translate Update README.md add english translate Update README.md add english link Create README.ENG.md Update Caddyfile comment translate Update client.json comment translate Update server.json comment translate Update README.md add link README.ENG.md Create RREADME.ENG.md Update config_client_tcp_tls.json translate comment Update config_client_ws_tls.json translate comment Update config_server.json comment translate Update README.md add link README.ENG.md Create README.ENG.md Update config_client.json comment translate Update config_server.json comment translate Update client.json translate comment Update server.json translate comment Update README.md add link README.ENG.md Create README.ENG.md Update server.json translate comment Update README.md add link README.ENG.md Update README.md Create README.ENG.md Co-authored-by: lk29 <12291632+lk29@users.noreply.github.com>
82 lines
2.3 KiB
Markdown
82 lines
2.3 KiB
Markdown
#Shadowsocks AEAD Quick Start
|
|
|
|
Server-side JSON
|
|
|
|
```json
|
|
{
|
|
"inbounds": [
|
|
{
|
|
"port": 12345,
|
|
"protocol": "shadowsocks",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"password": "example_user_1",
|
|
"method": "aes-128-gcm"
|
|
},
|
|
{
|
|
"password": "example_user_2",
|
|
"method": "aes-256-gcm"
|
|
},
|
|
{
|
|
"password": "example_user_3",
|
|
"method": "chacha20-poly1305"
|
|
}
|
|
],
|
|
"network": "tcp,udp"
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom"
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|
|
Client JSON
|
|
|
|
```json
|
|
{
|
|
"inbounds": [
|
|
{
|
|
"port": 10801,
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udp": true
|
|
}
|
|
},
|
|
{
|
|
"port": 10802,
|
|
"protocol": "http"
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "shadowsocks",
|
|
"settings": {
|
|
"servers": [
|
|
{
|
|
"address": "",
|
|
"port": 12345,
|
|
"password": "example_user_1",
|
|
"method": "aes-128-gcm"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|
|
## What's happening
|
|
|
|
No need for a graphical interface, just [**Xray-core**](https://github.com/XTLS/Xray-core) can quickly establish Shadowsocks AEAD encryption that supports Socks, HTTP proxy and **UDP FullCone** tunnel.
|
|
|
|
Xray-core has perfect support for UDP, thanks to the refactoring of each inbound and outbound code. The inbound UDP of Socks can accept requests from any network port.
|
|
|
|
As you can see, Xray-core also fully unleashes the potential of AEAD, **the server supports multiple users on a single port**, which is not implemented in any official version of Shadowsocks.
|
|
|
|
So when you need Shadowsocks, you only need Xray-core to solve the problem: high performance, cross-platform, easy to compile, and more powerful functions out of the box.
|