This commit is contained in:
2026-06-12 16:55:27 +08:00
parent b24d146845
commit 75d6a62f78
2 changed files with 0 additions and 6 deletions

View File

@@ -2,9 +2,6 @@ define LOCAL_ASN = 153376;
define LOCAL_V4_kernel = 44.32.191.7;
define LOCAL_V6_kernel = 2406:840:e603::1;
define DN42_ASN = 4242423376;
define DN42_V4_kernel = 172.20.21.7;
define UNET_ASN = 4218818801;
define UNET_V4_kernel = 10.188.6.2;

View File

@@ -63,18 +63,15 @@ fi
# 2. 读取三个ASN
INET_ASN=$(get_asn "LOCAL")
DN42_ASN=$(get_asn "DN42")
UNET_ASN=$(get_asn "UNET")
echo -e "${GREEN}📄 从vars.conf读取ASN${NC}"
[ -n "$INET_ASN" ] && echo "公网ASN$INET_ASN" || echo "公网ASN未配置"
[ -n "$DN42_ASN" ] && echo "DN42 ASN$DN42_ASN" || echo "DN42 ASN未配置"
[ -n "$UNET_ASN" ] && echo "内网ASN$UNET_ASN" || echo "内网ASN未配置"
echo
# 3. 依次下载(不存在则跳过)
download_roa "$INET_ASN" "inet.conf"
download_roa "$DN42_ASN" "dn42.conf"
download_roa "$UNET_ASN" "unet.conf"
echo