This commit is contained in:
CN-JS-HuiBai
2026-04-15 11:25:11 +08:00
parent decee1619e
commit e4fdc1791a

View File

@@ -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}"