mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-23 02:00:40 +08:00
document: route-dir: up
This commit is contained in:
parent
b6a259a66b
commit
796ec6e9f7
2 changed files with 8 additions and 3 deletions
|
@ -20,8 +20,10 @@ 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)
|
||||||
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=
|
||||||
|
|
||||||
Detailed Information of Each Variable
|
Detailed Information of Each Variable
|
||||||
=====================================
|
=====================================
|
||||||
|
@ -33,5 +35,7 @@ Detailed Information of Each Variable
|
||||||
2. PROTO: VPN Protocol Used
|
2. PROTO: VPN Protocol Used
|
||||||
Available options are: Tinc, WireGuard, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN
|
Available options are: Tinc, WireGuard, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN
|
||||||
|
|
||||||
|
3. NAME: Name
|
||||||
3. UPSTREAM: Upstream Node Name
|
3. UPSTREAM: Upstream Node Name
|
||||||
4. DOWNSTREAM: Downstream Node Name
|
4. DOWNSTREAM: Downstream Node Name
|
||||||
|
5. DESC: Description
|
||||||
|
|
|
@ -18,8 +18,10 @@ Shell Script 定義變數的方式作為定義檔語法,此外,定義變數
|
||||||
|
|
||||||
TYPE=
|
TYPE=
|
||||||
PROTO= (僅限於點對點 /30 隧道,以及點對點 Peer)
|
PROTO= (僅限於點對點 /30 隧道,以及點對點 Peer)
|
||||||
|
NAME= (除了連續子網路或 Loopback 位址以外,可選)
|
||||||
UPSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer)
|
UPSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer)
|
||||||
DOWNSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer)
|
DOWNSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer)
|
||||||
|
DESC= (可選)
|
||||||
|
|
||||||
各變數詳細資訊
|
各變數詳細資訊
|
||||||
==============
|
==============
|
||||||
|
@ -30,8 +32,7 @@ Shell Script 定義變數的方式作為定義檔語法,此外,定義變數
|
||||||
2. PROTO: 使用的 VPN 協定
|
2. PROTO: 使用的 VPN 協定
|
||||||
可用選項有: Tinc, WireGuard, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN
|
可用選項有: Tinc, WireGuard, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN
|
||||||
|
|
||||||
4. PEER: 點對點 Peer 位址
|
3. NAME: 這個連線的名稱
|
||||||
格式: <UPSTREAM IP>~<DOWNSTREAM IP>
|
|
||||||
|
|
||||||
5. UPSTREAM: 上游節點名稱
|
5. UPSTREAM: 上游節點名稱
|
||||||
6. DOWNSTREAM: 下游節點名稱
|
6. DOWNSTREAM: 下游節點名稱
|
||||||
|
7. DESC: 描述
|
||||||
|
|
Loading…
Reference in a new issue