修复2
This commit is contained in:
12
install.sh
12
install.sh
@@ -194,21 +194,13 @@ cat > "$CONFIG_FILE" <<EOF
|
||||
{
|
||||
"type": "direct",
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "block",
|
||||
"tag": "block"
|
||||
},
|
||||
{
|
||||
"type": "dns",
|
||||
"tag": "dns-out"
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
"rules": [
|
||||
{
|
||||
"protocol": "dns",
|
||||
"outbound": "dns-out"
|
||||
"action": "hijack-dns"
|
||||
}
|
||||
],
|
||||
"auto_detect_interface": true
|
||||
@@ -216,7 +208,7 @@ cat > "$CONFIG_FILE" <<EOF
|
||||
}
|
||||
EOF
|
||||
|
||||
echo -e "${YELLOW}NOTE: VLESS+Reality template created. Please update 'private_key' and 'short_id' in $CONFIG_FILE if you use Reality.${NC}"
|
||||
echo -e "${GREEN}Configuration written to $CONFIG_FILE${NC}"
|
||||
|
||||
# Create Systemd Service
|
||||
echo -e "${YELLOW}Creating systemd service...${NC}"
|
||||
|
||||
Reference in New Issue
Block a user