Skip to content

Commit

Permalink
feat: enable tcp fast open
Browse files Browse the repository at this point in the history
  • Loading branch information
OldTyT committed Oct 10, 2024
1 parent a89ce3b commit 8f57a08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Shadowsocks in docker container with v2ray plugin

## Tuning server

1. Enable tcp fast open. [See for more](https://github.com/shadowsocks/shadowsocks/wiki/TCP-Fast-Open)

## How to deploy

1. Install docker on your server
Expand Down
5 changes: 2 additions & 3 deletions conf/shadowsocks-libev_config.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
#!/bin/bash
# Fast_open must be false on heroku
cat <<EOF
{
"server":"127.0.0.1",
"server_port":"2333",
"password":${PASSWORD_JSON},
"timeout":300,
"method":"${ENCRYPT}",
"mode": "tcp_only",
"fast_open":false,
"mode": "tcp_and_udp",
"fast_open":true,
"reuse_port":true,
"no_delay":true,
"plugin": "v2ray-plugin",
Expand Down

0 comments on commit 8f57a08

Please sign in to comment.