mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-22 12:40:40 +08:00
route-dir: deprecate PTP
This commit is contained in:
parent
085ad00c37
commit
2a02286e36
13 changed files with 5 additions and 51 deletions
1
document/peer-dir.txt
Normal file
1
document/peer-dir.txt
Normal file
|
@ -0,0 +1 @@
|
|||
DESC=""
|
|
@ -5,9 +5,8 @@ According to the common usage of this VPN network, the IP allocation can be
|
|||
classified into the following rules, with its format normalized, as the
|
||||
file name of the routing distribution definition file:
|
||||
|
||||
1. /30 Tunnel: `10.127.0.x/30` (where x is divisible by 4)
|
||||
1. /30 Tunnel: `10.127.0.x/30` (where x is divisible by 4) **DEPRECATED**
|
||||
2. Normal Subnet: `10.127.x.y/z` (where z must be greater than 16)
|
||||
3. Point-to-Point: `PTP,10.127.x.x~10.127.x.x` (IP on both sides is /32)
|
||||
4. Loopback Address: `10.127.255.x/32`
|
||||
|
||||
Definition Format
|
||||
|
@ -19,11 +18,11 @@ will be used as the syntax of the definition file. In addition, variables must
|
|||
be present if it's not optional and defined in the same order as the following:
|
||||
|
||||
TYPE=
|
||||
PROTO= (only for peer-to-peer /30 tunnels and peer-to-peer /32 peers)
|
||||
PROTO= (only for peer-to-peer /30 tunnels)
|
||||
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)
|
||||
UPSTREAM= (only for peer-to-peer /30 tunnels)
|
||||
DOWNSTREAM= (only for peer-to-peer /30 tunnels)
|
||||
DESC=
|
||||
|
||||
Detailed Information of Each Variable
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
TYPE="PTP"
|
||||
NAME="Ndoskrnl's Master Router"
|
||||
PROTO="WireGuard"
|
||||
UPSTREAM="Ndoskrnl-US01"
|
||||
DOWNSTREAM="Ndoskrnl-CN01"
|
|
@ -1,5 +0,0 @@
|
|||
TYPE="PTP"
|
||||
NAME="Ndoskrnl's Master Router"
|
||||
PROTO="WireGuard"
|
||||
UPSTREAM="MagicNeko-JP03"
|
||||
DOWNSTREAM="Ndoskrnl-US01"
|
|
@ -1,4 +0,0 @@
|
|||
TYPE="PTP"
|
||||
PROTO="WireGuard"
|
||||
UPSTREAM="MagicNeko-JP03"
|
||||
DOWNSTREAM="santost12"
|
|
@ -1,4 +0,0 @@
|
|||
TYPE="PTP"
|
||||
PROTO="WireGuard"
|
||||
UPSTREAM="MagicNeko-HK01"
|
||||
DOWNSTREAM="SUNNET"
|
|
@ -1,4 +0,0 @@
|
|||
TYPE="PTP"
|
||||
PROTO="WireGuard"
|
||||
UPSTREAM="staph"
|
||||
DOWNSTREAM="santost12"
|
|
@ -1,4 +0,0 @@
|
|||
TYPE="PTP"
|
||||
PROTO="WireGuard"
|
||||
UPSTREAM="JerryXiao"
|
||||
DOWNSTREAM="LanTian"
|
|
@ -1,4 +0,0 @@
|
|||
TYPE="PTP"
|
||||
PROTO="WireGuard"
|
||||
UPSTREAM="JerryXiao"
|
||||
DOWNSTREAM="JerryXiao-HK1"
|
|
@ -1,4 +0,0 @@
|
|||
TYPE="PTP"
|
||||
PROTO="WireGuard"
|
||||
UPSTREAM="JerryXiao"
|
||||
DOWNSTREAM="JerryXiao-SH1"
|
|
@ -1,4 +0,0 @@
|
|||
TYPE="PTP"
|
||||
PROTO="WireGuard"
|
||||
UPSTREAM="JerryXiao-HK1"
|
||||
DOWNSTREAM="JerryXiao-HK2"
|
|
@ -1,4 +0,0 @@
|
|||
TYPE="PTP"
|
||||
PROTO="WireGuard"
|
||||
UPSTREAM="JerryXiao-SH1"
|
||||
DOWNSTREAM="JerryXiao-HK1"
|
|
@ -1,4 +0,0 @@
|
|||
TYPE="PTP"
|
||||
PROTO="WireGuard"
|
||||
UPSTREAM="JerryXiao"
|
||||
DOWNSTREAM="dfceaef"
|
Loading…
Reference in a new issue