Skip to content

Instantly share code, notes, and snippets.

@sae13
Last active July 20, 2023 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sae13/3868ab654fb53f01903bbfa899acaaad to your computer and use it in GitHub Desktop.
Save sae13/3868ab654fb53f01903bbfa899acaaad to your computer and use it in GitHub Desktop.
sinxbox-reality sample
{
"inbounds": [
{
"type": "vless",
"tag": "vless-in",
"listen": "::",
"listen_port": 1443,
"sniff": true,
"sniff_override_destination": true,
"domain_strategy": "ipv4_only",
"users": [
{
"uuid": "ba7893c5-5bf7-4021-ba1b-2dd3dc4bf1e5", //با این دستور بسازید ./sing-box generate uuid
"flow": "xtls-rprx-vision"
}
],
"tls": {
"enabled": true,
"server_name": "vvadmin.ru", //طبق توضیحات در اموزش SNI پیدا کنید
"reality": {
"enabled": true,
"handshake": {
"server": "vvadmin.ru", //طبق توضیحات در اموزش SNI پیدا کنید
"server_port": 443
},
"private_key": "aOX1gOuEx_UPhh0c2vUToDb6uWI9fJyhiLo5sHxMRXQ", //با این دستور بسازید ./sing-box generate reality-keypair
"short_id": [
"648dd0bdf9c9cc6b" //با این دستور بسازید ./sing-box generate rand --hex 8
]
}
}
}
],
"outbounds": [
{
"type": "direct",
"tag": "direct"
},
{
"type": "block",
"tag": "block"
}
],
"log":{"level":"debug"}
}
{
"inbounds": [
{
"domain_strategy": "",
"listen": "0.0.0.0",
"listen_port": 2080,
"sniff": true,
"sniff_override_destination": false,
"tag": "mixed-in",
"type": "mixed"
}
],
"log": {
"level": "info"
},
"outbounds": [
{
"domain_strategy": "",
"flow": "xtls-rprx-vision",
"packet_encoding": "",
"server": "85.85.241.248",
"server_port": 1443,
"tag": "proxy",
"tls": {
"enabled": true,
"reality": {
"enabled": true,
"public_key": "bSVsrA4zq8RLwoi4F4F1dEligipyhtjFtTaflTxmcRU",
"short_id": "648dd0bdf9c9cc6b"
},
"server_name": "vvadmin.ru",
"utls": {
"enabled": true,
"fingerprint": "chrome"
}
},
"type": "vless",
"uuid": "ba7893c5-5bf7-4021-ba1b-2dd3dc4bf1e5"
}
]
}
@sae13
Copy link
Author

sae13 commented Jun 24, 2023


/home/arman/.local/bin/sing-box -c /home/arman/singbox/sing-box-1.3-rc2-linux-amd64/config-ru.json run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment