Skip to content

Commit

Permalink
Nekoray fragment outbound revised.
Browse files Browse the repository at this point in the history
  • Loading branch information
bia-pain-bache authored Jan 14, 2024
1 parent 79e94bb commit cd86dab
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,11 @@ const getVLESSConfig = async (userID, hostName, fragmentLength, fragmentInterval
"streamSettings": {
"network": "ws",
"security": "tls",
"sockopt": { "dialerProxy": "fragment" },
"sockopt": {
"dialerProxy": "fragment",
"tcpKeepAliveIdle": 100,
"tcpNoDelay": true
},
"tlsSettings": {
"alpn": ["h2", "http/1.1"],
"fingerprint": "chrome",
Expand All @@ -1081,13 +1085,18 @@ const getVLESSConfig = async (userID, hostName, fragmentLength, fragmentInterval
{
"protocol": "freedom",
"settings": {
"domainStrategy": "AsIs",
"fragment": {
"interval": "${fragmentInterval}",
"length": "${fragmentLength}",
"packets": "tlshello"
}
"domainStrategy": "AsIs",
"fragment": {
"interval": "${fragmentInterval}",
"length": "${fragmentLength}",
"packets": "tlshello"
}
},
"streamSettings": {
"sockopt": {
"TcpNoDelay": true
}
},
"tag": "fragment"
},
{ "domainStrategy": "", "protocol": "freedom", "tag": "bypass" },
Expand Down

0 comments on commit cd86dab

Please sign in to comment.