Skip to content

Instantly share code, notes, and snippets.

@samix73
Last active December 23, 2023 18:08
Show Gist options
  • Save samix73/22ac21e00aa2aa7b2ca34404c22f47e8 to your computer and use it in GitHub Desktop.
Save samix73/22ac21e00aa2aa7b2ca34404c22f47e8 to your computer and use it in GitHub Desktop.
My v2ray config
{
"inbounds": [
{
"port": 1080,
"protocol": "vmess",
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
},
"streamSettings": {
"network": "mkcp",
"kcpSettings": {
"uplinkCapacity": 5,
"downlinkCapacity": 100,
"congestion": true,
"header": {
"type": "srtp"
}
}
},
"settings": {
"clients": [
{
"id": "10bd3f61-f64c-4abe-a58c-fecc0000e1b5",
"alterId": 128
}
]
}
},
{
"port": 1081,
"protocol": "vmess",
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
},
"streamSettings": {
"network": "quic",
"quicSettings": {
"security": "aes-128-gcm",
"key": "what's up bro",
"header": {
"type": "dtls"
}
}
},
"settings": {
"clients": [
{
"id": "1f5f5370-53ff-4963-a58b-34bd69e48d54",
"alterId": 128
}
]
}
},
{
"port": 1082,
"ip": "127.0.0.1",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
},
"settings": {
"auth": "password",
"accounts": [
{
"user": "my-username",
"pass": "my-password"
}
],
"udp": true,
"userLevel": 0
}
}
],
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"1.1.1.1"
]
},
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment