Skip to content

Commit

Permalink
chore: add policy
Browse files Browse the repository at this point in the history
  • Loading branch information
zizifn committed Dec 31, 2020
1 parent a5c2299 commit 2721026
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

cat << EOF > /etc/v2ray/config.json
{
"policy": {
"levels": {
"0": {
"handshake": 5,
"connIdle": 300,
"uplinkOnly": 2,
"downlinkOnly": 5,
"statsUserUplink": false,
"statsUserDownlink": false,
"bufferSize": 10240
}
},
"system": {
"statsInboundUplink": false,
"statsInboundDownlink": false,
"statsOutboundUplink": false,
"statsOutboundDownlink": false
}
},
"inbounds": [
{
"port": $PORT,
Expand Down

0 comments on commit 2721026

Please sign in to comment.