support padavan v2ray
This commit is contained in:
@@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"log": {
|
|
||||||
"error": "error.log",
|
|
||||||
"loglevel": "warning"
|
|
||||||
},
|
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
@@ -42,6 +38,15 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": "1099",
|
||||||
|
"protocol": "dokodemo-door",
|
||||||
|
"settings": {
|
||||||
|
"network": "tcp,udp",
|
||||||
|
"timeout": 0,
|
||||||
|
"followRedirect": true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"port": 2333,
|
"port": 2333,
|
||||||
"listen": "127.0.0.1",
|
"listen": "127.0.0.1",
|
||||||
@@ -65,6 +70,8 @@
|
|||||||
],
|
],
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": [
|
"servers": [
|
||||||
|
"1.1.1.1",
|
||||||
|
"1.0.0.1",
|
||||||
"8.8.8.8",
|
"8.8.8.8",
|
||||||
"8.8.4.4",
|
"8.8.4.4",
|
||||||
"localhost"
|
"localhost"
|
||||||
@@ -76,35 +83,17 @@
|
|||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"geoip:private",
|
||||||
"10.0.0.0/8",
|
|
||||||
"100.64.0.0/10",
|
|
||||||
"127.0.0.0/8",
|
|
||||||
"169.254.0.0/16",
|
|
||||||
"172.16.0.0/12",
|
|
||||||
"192.0.0.0/24",
|
|
||||||
"192.0.2.0/24",
|
|
||||||
"192.168.0.0/16",
|
|
||||||
"198.18.0.0/15",
|
|
||||||
"198.51.100.0/24",
|
|
||||||
"203.0.113.0/24",
|
|
||||||
"::1/128",
|
|
||||||
"fc00::/7",
|
|
||||||
"fe80::/10",
|
|
||||||
"geoip:cn"
|
"geoip:cn"
|
||||||
],
|
],
|
||||||
|
"outboundTag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
"domain": [
|
"domain": [
|
||||||
"geosite:cn"
|
"geosite:cn"
|
||||||
],
|
],
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinasites",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinaip",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"log": {
|
|
||||||
"error": "error.log",
|
|
||||||
"loglevel": "warning"
|
|
||||||
},
|
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
@@ -72,6 +68,15 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": "1099",
|
||||||
|
"protocol": "dokodemo-door",
|
||||||
|
"settings": {
|
||||||
|
"network": "tcp,udp",
|
||||||
|
"timeout": 0,
|
||||||
|
"followRedirect": true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"port": 2333,
|
"port": 2333,
|
||||||
"listen": "127.0.0.1",
|
"listen": "127.0.0.1",
|
||||||
@@ -95,6 +100,8 @@
|
|||||||
],
|
],
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": [
|
"servers": [
|
||||||
|
"1.1.1.1",
|
||||||
|
"1.0.0.1",
|
||||||
"8.8.8.8",
|
"8.8.8.8",
|
||||||
"8.8.4.4",
|
"8.8.4.4",
|
||||||
"localhost"
|
"localhost"
|
||||||
@@ -106,35 +113,17 @@
|
|||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"geoip:private",
|
||||||
"10.0.0.0/8",
|
|
||||||
"100.64.0.0/10",
|
|
||||||
"127.0.0.0/8",
|
|
||||||
"169.254.0.0/16",
|
|
||||||
"172.16.0.0/12",
|
|
||||||
"192.0.0.0/24",
|
|
||||||
"192.0.2.0/24",
|
|
||||||
"192.168.0.0/16",
|
|
||||||
"198.18.0.0/15",
|
|
||||||
"198.51.100.0/24",
|
|
||||||
"203.0.113.0/24",
|
|
||||||
"::1/128",
|
|
||||||
"fc00::/7",
|
|
||||||
"fe80::/10",
|
|
||||||
"geoip:cn"
|
"geoip:cn"
|
||||||
],
|
],
|
||||||
|
"outboundTag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
"domain": [
|
"domain": [
|
||||||
"geosite:cn"
|
"geosite:cn"
|
||||||
],
|
],
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinasites",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinaip",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"log": {
|
|
||||||
"error": "error.log",
|
|
||||||
"loglevel": "warning"
|
|
||||||
},
|
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
@@ -43,6 +39,15 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": "1099",
|
||||||
|
"protocol": "dokodemo-door",
|
||||||
|
"settings": {
|
||||||
|
"network": "tcp,udp",
|
||||||
|
"timeout": 0,
|
||||||
|
"followRedirect": true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"port": 2333,
|
"port": 2333,
|
||||||
"listen": "127.0.0.1",
|
"listen": "127.0.0.1",
|
||||||
@@ -66,6 +71,8 @@
|
|||||||
],
|
],
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": [
|
"servers": [
|
||||||
|
"1.1.1.1",
|
||||||
|
"1.0.0.1",
|
||||||
"8.8.8.8",
|
"8.8.8.8",
|
||||||
"8.8.4.4",
|
"8.8.4.4",
|
||||||
"localhost"
|
"localhost"
|
||||||
@@ -77,35 +84,17 @@
|
|||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"geoip:private",
|
||||||
"10.0.0.0/8",
|
|
||||||
"100.64.0.0/10",
|
|
||||||
"127.0.0.0/8",
|
|
||||||
"169.254.0.0/16",
|
|
||||||
"172.16.0.0/12",
|
|
||||||
"192.0.0.0/24",
|
|
||||||
"192.0.2.0/24",
|
|
||||||
"192.168.0.0/16",
|
|
||||||
"198.18.0.0/15",
|
|
||||||
"198.51.100.0/24",
|
|
||||||
"203.0.113.0/24",
|
|
||||||
"::1/128",
|
|
||||||
"fc00::/7",
|
|
||||||
"fe80::/10",
|
|
||||||
"geoip:cn"
|
"geoip:cn"
|
||||||
],
|
],
|
||||||
|
"outboundTag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
"domain": [
|
"domain": [
|
||||||
"geosite:cn"
|
"geosite:cn"
|
||||||
],
|
],
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinasites",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinaip",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"log": {
|
|
||||||
"error": "error.log",
|
|
||||||
"loglevel": "warning"
|
|
||||||
},
|
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
@@ -42,6 +38,15 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": "1099",
|
||||||
|
"protocol": "dokodemo-door",
|
||||||
|
"settings": {
|
||||||
|
"network": "tcp,udp",
|
||||||
|
"timeout": 0,
|
||||||
|
"followRedirect": true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"port": 2333,
|
"port": 2333,
|
||||||
"listen": "127.0.0.1",
|
"listen": "127.0.0.1",
|
||||||
@@ -65,6 +70,8 @@
|
|||||||
],
|
],
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": [
|
"servers": [
|
||||||
|
"1.1.1.1",
|
||||||
|
"1.0.0.1",
|
||||||
"8.8.8.8",
|
"8.8.8.8",
|
||||||
"8.8.4.4",
|
"8.8.4.4",
|
||||||
"localhost"
|
"localhost"
|
||||||
@@ -76,35 +83,17 @@
|
|||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"geoip:private",
|
||||||
"10.0.0.0/8",
|
|
||||||
"100.64.0.0/10",
|
|
||||||
"127.0.0.0/8",
|
|
||||||
"169.254.0.0/16",
|
|
||||||
"172.16.0.0/12",
|
|
||||||
"192.0.0.0/24",
|
|
||||||
"192.0.2.0/24",
|
|
||||||
"192.168.0.0/16",
|
|
||||||
"198.18.0.0/15",
|
|
||||||
"198.51.100.0/24",
|
|
||||||
"203.0.113.0/24",
|
|
||||||
"::1/128",
|
|
||||||
"fc00::/7",
|
|
||||||
"fe80::/10",
|
|
||||||
"geoip:cn"
|
"geoip:cn"
|
||||||
],
|
],
|
||||||
|
"outboundTag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
"domain": [
|
"domain": [
|
||||||
"geosite:cn"
|
"geosite:cn"
|
||||||
],
|
],
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinasites",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinaip",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"log": {
|
|
||||||
"error": "error.log",
|
|
||||||
"loglevel": "warning"
|
|
||||||
},
|
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
@@ -32,6 +28,15 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": "1099",
|
||||||
|
"protocol": "dokodemo-door",
|
||||||
|
"settings": {
|
||||||
|
"network": "tcp,udp",
|
||||||
|
"timeout": 0,
|
||||||
|
"followRedirect": true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"port": 2333,
|
"port": 2333,
|
||||||
"listen": "127.0.0.1",
|
"listen": "127.0.0.1",
|
||||||
@@ -55,6 +60,8 @@
|
|||||||
],
|
],
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": [
|
"servers": [
|
||||||
|
"1.1.1.1",
|
||||||
|
"1.0.0.1",
|
||||||
"8.8.8.8",
|
"8.8.8.8",
|
||||||
"8.8.4.4",
|
"8.8.4.4",
|
||||||
"localhost"
|
"localhost"
|
||||||
@@ -66,35 +73,17 @@
|
|||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"geoip:private",
|
||||||
"10.0.0.0/8",
|
|
||||||
"100.64.0.0/10",
|
|
||||||
"127.0.0.0/8",
|
|
||||||
"169.254.0.0/16",
|
|
||||||
"172.16.0.0/12",
|
|
||||||
"192.0.0.0/24",
|
|
||||||
"192.0.2.0/24",
|
|
||||||
"192.168.0.0/16",
|
|
||||||
"198.18.0.0/15",
|
|
||||||
"198.51.100.0/24",
|
|
||||||
"203.0.113.0/24",
|
|
||||||
"::1/128",
|
|
||||||
"fc00::/7",
|
|
||||||
"fe80::/10",
|
|
||||||
"geoip:cn"
|
"geoip:cn"
|
||||||
],
|
],
|
||||||
|
"outboundTag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
"domain": [
|
"domain": [
|
||||||
"geosite:cn"
|
"geosite:cn"
|
||||||
],
|
],
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinasites",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinaip",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"log": {
|
|
||||||
"error": "error.log",
|
|
||||||
"loglevel": "warning"
|
|
||||||
},
|
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
@@ -35,6 +31,15 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": "1099",
|
||||||
|
"protocol": "dokodemo-door",
|
||||||
|
"settings": {
|
||||||
|
"network": "tcp,udp",
|
||||||
|
"timeout": 0,
|
||||||
|
"followRedirect": true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"port": 2333,
|
"port": 2333,
|
||||||
"listen": "127.0.0.1",
|
"listen": "127.0.0.1",
|
||||||
@@ -58,6 +63,8 @@
|
|||||||
],
|
],
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": [
|
"servers": [
|
||||||
|
"1.1.1.1",
|
||||||
|
"1.0.0.1",
|
||||||
"8.8.8.8",
|
"8.8.8.8",
|
||||||
"8.8.4.4",
|
"8.8.4.4",
|
||||||
"localhost"
|
"localhost"
|
||||||
@@ -69,35 +76,17 @@
|
|||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"geoip:private",
|
||||||
"10.0.0.0/8",
|
|
||||||
"100.64.0.0/10",
|
|
||||||
"127.0.0.0/8",
|
|
||||||
"169.254.0.0/16",
|
|
||||||
"172.16.0.0/12",
|
|
||||||
"192.0.0.0/24",
|
|
||||||
"192.0.2.0/24",
|
|
||||||
"192.168.0.0/16",
|
|
||||||
"198.18.0.0/15",
|
|
||||||
"198.51.100.0/24",
|
|
||||||
"203.0.113.0/24",
|
|
||||||
"::1/128",
|
|
||||||
"fc00::/7",
|
|
||||||
"fe80::/10",
|
|
||||||
"geoip:cn"
|
"geoip:cn"
|
||||||
],
|
],
|
||||||
|
"outboundTag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
"domain": [
|
"domain": [
|
||||||
"geosite:cn"
|
"geosite:cn"
|
||||||
],
|
],
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinasites",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinaip",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"log": {
|
|
||||||
"error": "error.log",
|
|
||||||
"loglevel": "warning"
|
|
||||||
},
|
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
@@ -45,6 +41,15 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": "1099",
|
||||||
|
"protocol": "dokodemo-door",
|
||||||
|
"settings": {
|
||||||
|
"network": "tcp,udp",
|
||||||
|
"timeout": 0,
|
||||||
|
"followRedirect": true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"port": 2333,
|
"port": 2333,
|
||||||
"listen": "127.0.0.1",
|
"listen": "127.0.0.1",
|
||||||
@@ -68,6 +73,8 @@
|
|||||||
],
|
],
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": [
|
"servers": [
|
||||||
|
"1.1.1.1",
|
||||||
|
"1.0.0.1",
|
||||||
"8.8.8.8",
|
"8.8.8.8",
|
||||||
"8.8.4.4",
|
"8.8.4.4",
|
||||||
"localhost"
|
"localhost"
|
||||||
@@ -79,35 +86,17 @@
|
|||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"ip": [
|
"ip": [
|
||||||
"0.0.0.0/8",
|
"geoip:private",
|
||||||
"10.0.0.0/8",
|
|
||||||
"100.64.0.0/10",
|
|
||||||
"127.0.0.0/8",
|
|
||||||
"169.254.0.0/16",
|
|
||||||
"172.16.0.0/12",
|
|
||||||
"192.0.0.0/24",
|
|
||||||
"192.0.2.0/24",
|
|
||||||
"192.168.0.0/16",
|
|
||||||
"198.18.0.0/15",
|
|
||||||
"198.51.100.0/24",
|
|
||||||
"203.0.113.0/24",
|
|
||||||
"::1/128",
|
|
||||||
"fc00::/7",
|
|
||||||
"fe80::/10",
|
|
||||||
"geoip:cn"
|
"geoip:cn"
|
||||||
],
|
],
|
||||||
|
"outboundTag": "direct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
"domain": [
|
"domain": [
|
||||||
"geosite:cn"
|
"geosite:cn"
|
||||||
],
|
],
|
||||||
"outboundTag": "direct"
|
"outboundTag": "direct"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinasites",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chinaip",
|
|
||||||
"outboundTag": "direct"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
2
v2ray.sh
2
v2ray.sh
@@ -10,7 +10,7 @@ none='\e[0m'
|
|||||||
# Root
|
# Root
|
||||||
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
|
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
|
||||||
|
|
||||||
_version="v3.09"
|
_version="v3.10"
|
||||||
|
|
||||||
cmd="apt-get"
|
cmd="apt-get"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user