1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-23 02:00:40 +08:00

document: route-dir: removed SUBNET and PEER

This commit is contained in:
Neo_Chen 2020-04-25 12:39:00 +08:00
parent 50a311c86f
commit b6a259a66b
2 changed files with 2 additions and 13 deletions

View file

@ -20,7 +20,6 @@ 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)
SUBNET= or PEER=<UPSTREAM IP>~<DOWNSTREAM IP>
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)
@ -34,11 +33,5 @@ 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. SUBNET: Subnet Used 3. UPSTREAM: Upstream Node Name
Format: Use CIDR Notation 4. DOWNSTREAM: Downstream Node Name
4. PEER: Peer-to-Peer Address
Format: <UPSTREAM IP>~<DOWNSTREAM IP>
5. UPSTREAM: Upstream Node Name
6. DOWNSTREAM: Downstream Node Name

View file

@ -18,7 +18,6 @@ Shell Script 定義變數的方式作為定義檔語法,此外,定義變數
TYPE= TYPE=
PROTO= (僅限於點對點 /30 隧道,以及點對點 Peer PROTO= (僅限於點對點 /30 隧道,以及點對點 Peer
SUBNET= 或是 PEER=<上游 IP>~<下游 IP>
UPSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer UPSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer
DOWNSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer DOWNSTREAM= (僅限於點對點 /30 隧道,以及點對點 Peer
@ -31,9 +30,6 @@ Shell Script 定義變數的方式作為定義檔語法,此外,定義變數
2. PROTO: 使用的 VPN 協定 2. PROTO: 使用的 VPN 協定
可用選項有: Tinc, WireGuard, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN 可用選項有: Tinc, WireGuard, GRE, IPsec/L2TP, IPsec/GRE, OpenVPN
3. SUBNET: 使用的網域範圍
格式: 依照 CIDR
4. PEER: 點對點 Peer 位址 4. PEER: 點對點 Peer 位址
格式: <UPSTREAM IP>~<DOWNSTREAM IP> 格式: <UPSTREAM IP>~<DOWNSTREAM IP>