fix(脚本): 修改启用任意门后导致无法访问节点的bug
parent
57943c9528
commit
2f611734bd
|
@ -39,7 +39,7 @@
|
|||
- 支持Debian、Ubuntu、Centos,支持主流的cpu架构。**不建议使用Centos以及低版本的系统,2.3.x后不再支持Centos6**
|
||||
- 支持个性化安装
|
||||
- 支持多用户管理
|
||||
- 支持Netflix检测、支持DNS流媒体解锁
|
||||
- 支持Netflix检测、支持DNS流媒体解锁、支持任意门解锁Netflix
|
||||
- 无需卸载即可安装、重装任意组合。卸载脚本时无多余文件残留
|
||||
- 支持纯IPv6,[IPv6注意事项](https://github.com/mack-a/v2ray-agent/blob/master/documents/IPv6_help.md)
|
||||
- 支持利用IPv6排除Google的人机验证,**需自己申请IPv6隧道,不建议使用自带的IPv6**
|
||||
|
|
|
@ -1450,6 +1450,7 @@ EOF
|
|||
"port": 31297,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "vless",
|
||||
"tag":"VLESSWS",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
|
@ -1755,6 +1756,7 @@ EOF
|
|||
"port": 31297,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "vless",
|
||||
"tag":"VLESSWS",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
|
@ -2870,7 +2872,7 @@ EOF
|
|||
setDokodemoDoorUnblockNetflixInbounds() {
|
||||
read -r -p "请输入允许访问该解锁Netflix vps的IP:" setIP
|
||||
if [[ -n "${setIP}" ]]; then
|
||||
cat <<EOF >${configPath}/10_netflix_inbounds.json
|
||||
cat <<EOF >${configPath}/01_netflix_inbounds.json
|
||||
{
|
||||
"inbounds": [
|
||||
{
|
||||
|
@ -2940,7 +2942,7 @@ EOF
|
|||
|
||||
# 移除任意门解锁Netflix
|
||||
removeDokodemoDoorUnblockNetflix() {
|
||||
rm -rf ${configPath}/10_netflix_*.json
|
||||
rm -rf ${configPath}/*_netflix_*.json
|
||||
cat <<EOF >${configPath}/09_routing.json
|
||||
{
|
||||
"routing":{
|
||||
|
@ -3421,7 +3423,7 @@ menu() {
|
|||
cd "$HOME" || exit
|
||||
echoContent red "\n=============================================================="
|
||||
echoContent green "作者:mack-a"
|
||||
echoContent green "当前版本:v2.3.25"
|
||||
echoContent green "当前版本:v2.3.26"
|
||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||
echoContent green "描述:七合一共存脚本"
|
||||
echoContent red "=============================================================="
|
||||
|
|
Loading…
Reference in New Issue