1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-12-26 13:39:24 +08:00

document: up

This commit is contained in:
Neo_Chen 2020-04-29 16:23:55 +08:00
parent a2aa0d1534
commit 2852d44fa6
4 changed files with 12 additions and 6 deletions

View file

@ -1,7 +1,9 @@
# as-dir Template # as-dir Template
# =============== # ===============
# Filename format: AS<Number> # Filename format: AS<Number>
# Owner Name # AS Name
NAME="" NAME=""
# Owner
OWNER=""
# Description # Description
DESC="" DESC=""

View file

@ -4,10 +4,10 @@
# Tunnel /30 or Point to Point Address # Tunnel /30 or Point to Point Address
# Filename format: <Node Name> # Filename format: <Node Name>
# ASN # ASN
AS="" ASN=""
# Description # Description
DESC="" DESC=""
# IP addresses # IP addresses excluding TUN30 and PTP
IP=( IP=(
"10.127.x.x/x" "10.127.x.x/x"
) )

View file

@ -21,6 +21,7 @@ be defined in the same order as the following:
TYPE= TYPE=
PROTO= (only for peer-to-peer /30 tunnels and peer-to-peer /32 peers) PROTO= (only for peer-to-peer /30 tunnels and peer-to-peer /32 peers)
NAME= (optional for anything other than Contiguous Subnet and Loopback Address) NAME= (optional for anything other than Contiguous Subnet and Loopback Address)
ASN= (only for Contiguous Subnet and Loopback Address)
UPSTREAM= (only for peer-to-peer /30 tunnels and peer-to-peer /32 peers) UPSTREAM= (only for peer-to-peer /30 tunnels and peer-to-peer /32 peers)
DOWNSTREAM= (only for peer-to-peer /30 tunnels and peer-to-peer /32 peers) DOWNSTREAM= (only for peer-to-peer /30 tunnels and peer-to-peer /32 peers)
DESC= DESC=
@ -36,6 +37,7 @@ Detailed Information of Each Variable
Available options are: Tinc, WireGuard, L2TP, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN, SLIRP, PPP Available options are: Tinc, WireGuard, L2TP, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN, SLIRP, PPP
3. NAME: Name 3. NAME: Name
3. UPSTREAM: Upstream Node Name 4. ASN: ASN
4. DOWNSTREAM: Downstream Node Name 5. UPSTREAM: Upstream Node Name
5. DESC: Description 6. DOWNSTREAM: Downstream Node Name
7. DESC: Description

View file

@ -19,6 +19,7 @@ Shell Script 定義變數的方式作為定義檔語法,此外,定義變數
TYPE= TYPE=
PROTO= (僅限於點對點 /30 隧道,以及點對點 Peer PROTO= (僅限於點對點 /30 隧道,以及點對點 Peer
NAME= (除了連續子網路或 Loopback 位址以外,可選) NAME= (除了連續子網路或 Loopback 位址以外,可選)
ASN= (僅限於子網路或 Loopback 位址)
UPSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer UPSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer
DOWNSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer DOWNSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer
DESC= (可選) DESC= (可選)
@ -33,6 +34,7 @@ Shell Script 定義變數的方式作為定義檔語法,此外,定義變數
可用選項有: Tinc, WireGuard, L2TP, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN, SLIRP, PPP 可用選項有: Tinc, WireGuard, L2TP, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN, SLIRP, PPP
3. NAME: 這個連線的名稱 3. NAME: 這個連線的名稱
4. ASN: 自治系統編號
5. UPSTREAM: 上游節點名稱 5. UPSTREAM: 上游節點名稱
6. DOWNSTREAM: 下游節點名稱 6. DOWNSTREAM: 下游節點名稱
7. DESC: 描述 7. DESC: 描述