1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-12-25 15:49:24 +08:00

document: route-dir: up

This commit is contained in:
Neo_Chen 2020-04-25 12:46:47 +08:00
parent b6a259a66b
commit 796ec6e9f7
2 changed files with 8 additions and 3 deletions

View file

@ -20,8 +20,10 @@ 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)
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=
Detailed Information of Each Variable
=====================================
@ -33,5 +35,7 @@ Detailed Information of Each Variable
2. PROTO: VPN Protocol Used
Available options are: Tinc, WireGuard, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN
3. NAME: Name
3. UPSTREAM: Upstream Node Name
4. DOWNSTREAM: Downstream Node Name
5. DESC: Description

View file

@ -18,8 +18,10 @@ Shell Script 定義變數的方式作為定義檔語法,此外,定義變數
TYPE=
PROTO= (僅限於點對點 /30 隧道,以及點對點 Peer
NAME= (除了連續子網路或 Loopback 位址以外,可選)
UPSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer
DOWNSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer
DESC= (可選)
各變數詳細資訊
==============
@ -30,8 +32,7 @@ Shell Script 定義變數的方式作為定義檔語法,此外,定義變數
2. PROTO: 使用的 VPN 協定
可用選項有: Tinc, WireGuard, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN
4. PEER: 點對點 Peer 位址
格式: <UPSTREAM IP>~<DOWNSTREAM IP>
3. NAME: 這個連線的名稱
5. UPSTREAM: 上游節點名稱
6. DOWNSTREAM: 下游節點名稱
7. DESC: 描述