~Tun网卡Redir-host及IPV6支持
~日志推送适配PashDeer
~增加ipv6出口本机IP屏蔽
~安装脚本优化,兼容zsh
~在线生成服务器部分更新调整
This commit is contained in:
juewuy
2022-12-12 19:23:11 +08:00
parent 5ad7785eae
commit c4a6909feb
3 changed files with 8 additions and 6 deletions

View File

@@ -1298,6 +1298,7 @@ EOF
[ ! -f $clashdir/rules.yaml ] && cat > $clashdir/rules.yaml <<EOF
#用于编写自定义规则(此处规则将优先生效)(可参考https://lancellc.gitbook.io/clash/clash-config-file/rules)
#例如“🚀 节点选择”、“🎯 全球直连”这样的自定义规则组必须与config.yaml中的代理规则组相匹配否则将无法运行
# 【#】号代表注释!!!注释条目不会生效!!!
# - DOMAIN-SUFFIX,google.com,🚀 节点选择
# - DOMAIN-KEYWORD,baidu,🎯 全球直连
# - DOMAIN,ad.com,REJECT

View File

@@ -37,9 +37,9 @@ linkserver(){
echo -e "\033[32m感谢以下作者的无私奉献\033[0m"
echo 当前使用后端为:$server_link
echo 1 api.dler.io (墙洞提供)
echo 2 sub.shellclash.cf (作者提供
echo 3 sub.xeton.dev SUB作者T大提供)
echo 4 sub.id9.cc (品云提供)
echo 2 api.v1.mk (肥羊提供,支持vless
echo 3 sub.xeton.dev SUB作者提供
echo 4 v.id9.cc (品云提供,支持vless
echo 5 sub.maoxiongnet.com (猫熊提供)
echo -----------------------------------------------
echo 0 返回上级菜单

View File

@@ -147,9 +147,9 @@ getyaml(){
#前后端订阅服务器地址索引,可在此处添加!
Server=`sed -n ""$server_link"p"<<EOF
https://api.dler.io
https://sub.shellclash.cf
https://api.v1.mk
https://sub.xeton.dev
https://sub.id9.cc
https://v.id9.cc
https://sub.maoxiongnet.com
http://sub2.shellclash.cf
EOF`
@@ -175,7 +175,8 @@ EOF`
Https=$(echo ${Https//\%26/\&}) #将%26替换回&
#如果传来的是Url链接则合成Https链接否则直接使用Https链接
if [ -z "$Https" ];then
[ -n "$(echo $Url | grep -oE 'vless:|hysteria:')" ] && Server='https://sub.shellclash.cf'
[ -n "$(echo $Url | grep -oE 'vless:')" ] && Server='https://v.id9.cc'
[ -n "$(echo $Url | grep -oE 'hysteria:')" ] && Server='https://sub.shellclash.cf'
Https="$Server/sub?target=clash&insert=true&new_name=true&scv=true&udp=true&exclude=$exclude&include=$include&url=$Url&config=$Config"
url_type=true
fi