mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-22 14:40:41 +08:00
document: up
This commit is contained in:
parent
a2aa0d1534
commit
2852d44fa6
4 changed files with 12 additions and 6 deletions
|
@ -1,7 +1,9 @@
|
|||
# as-dir Template
|
||||
# ===============
|
||||
# Filename format: AS<Number>
|
||||
# Owner Name
|
||||
# AS Name
|
||||
NAME=""
|
||||
# Owner
|
||||
OWNER=""
|
||||
# Description
|
||||
DESC=""
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
# Tunnel /30 or Point to Point Address
|
||||
# Filename format: <Node Name>
|
||||
# ASN
|
||||
AS=""
|
||||
ASN=""
|
||||
# Description
|
||||
DESC=""
|
||||
# IP addresses
|
||||
# IP addresses excluding TUN30 and PTP
|
||||
IP=(
|
||||
"10.127.x.x/x"
|
||||
)
|
||||
|
|
|
@ -21,6 +21,7 @@ be defined in the same order as the following:
|
|||
TYPE=
|
||||
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)
|
||||
ASN= (only for Contiguous Subnet and Loopback Address)
|
||||
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)
|
||||
DESC=
|
||||
|
@ -36,6 +37,7 @@ Detailed Information of Each Variable
|
|||
Available options are: Tinc, WireGuard, L2TP, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN, SLIRP, PPP
|
||||
|
||||
3. NAME: Name
|
||||
3. UPSTREAM: Upstream Node Name
|
||||
4. DOWNSTREAM: Downstream Node Name
|
||||
5. DESC: Description
|
||||
4. ASN: ASN
|
||||
5. UPSTREAM: Upstream Node Name
|
||||
6. DOWNSTREAM: Downstream Node Name
|
||||
7. DESC: Description
|
||||
|
|
|
@ -19,6 +19,7 @@ Shell Script 定義變數的方式作為定義檔語法,此外,定義變數
|
|||
TYPE=
|
||||
PROTO= (僅限於點對點 /30 隧道,以及點對點 Peer)
|
||||
NAME= (除了連續子網路或 Loopback 位址以外,可選)
|
||||
ASN= (僅限於子網路或 Loopback 位址)
|
||||
UPSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer)
|
||||
DOWNSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer)
|
||||
DESC= (可選)
|
||||
|
@ -33,6 +34,7 @@ Shell Script 定義變數的方式作為定義檔語法,此外,定義變數
|
|||
可用選項有: Tinc, WireGuard, L2TP, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN, SLIRP, PPP
|
||||
|
||||
3. NAME: 這個連線的名稱
|
||||
4. ASN: 自治系統編號
|
||||
5. UPSTREAM: 上游節點名稱
|
||||
6. DOWNSTREAM: 下游節點名稱
|
||||
7. DESC: 描述
|
||||
|
|
Loading…
Reference in a new issue