📃 docs: 重命名

This commit is contained in:
m1m1sha
2024-05-07 18:26:06 +08:00
parent 465b4fa3e6
commit 2b2af93791
25 changed files with 229 additions and 78 deletions
+1 -2
View File
@@ -2,8 +2,7 @@
一个简单、安全、去中心化的内网穿透 VPN 组网方案,使用 Rust 语言和 Tokio 框架实现。
![alt text](/assets/image-6.png)
![alt text](/assets/image-7.png)
![alt text](/assets/image-6.png)![alt text](/assets/image-7.png)
## 特点
+57
View File
@@ -0,0 +1,57 @@
# 其他
可使用 `easytier-core --help` 查看全部配置项
```` sh
Options:
--network-name <NETWORK_NAME>
network name to identify this vpn network
[default: default]
--network-secret <NETWORK_SECRET>
network secret to verify this node belongs to the vpn network
[default: ]
-i, --ipv4 <IPV4>
ipv4 address of this vpn node
-p, --peers <PEERS>
peers to connect initially
-e, --external-node <EXTERNAL_NODE>
use a public shared node to discover peers
-n, --proxy-networks <PROXY_NETWORKS>
export local networks to other peers in the vpn
-r, --rpc-portal <RPC_PORTAL>
rpc portal address to listen for management
[default: 127.0.0.1:15888]
-l, --listeners <LISTENERS>
listeners to accept connections, pass '' to avoid listening.
[default: tcp://0.0.0.0:11010 udp://0.0.0.0:11010 wg://0.0.0.0:11011]
--net-ns <NET_NS>
specify the linux network namespace, default is the root namespace
--console-log-level <CONSOLE_LOG_LEVEL>
console log level
[possible values: trace, debug, info, warn, error, off]
--file-log-level <FILE_LOG_LEVEL>
file log level
[possible values: trace, debug, info, warn, error, off]
--file-log-dir <FILE_LOG_DIR>
directory to store log files
-m, --instance-name <INSTANCE_NAME>
instance name to identify this vpn node in same machine
[default: default]
-d, --instance-id <INSTANCE_ID>
instance uuid to identify this vpn node in whole vpn network example: 123e4567-e89b-12d3-a456-426614174000
--vpn-portal <VPN_PORTAL>
url that defines the vpn portal, allow other vpn clients to connect.
example: wg://0.0.0.0:11010/10.14.14.0/24, means the vpn portal is a wireguard server listening on vpn.example.com:11010, and the vpn client is in network of 10.14.14.0/24
--default-protocol <DEFAULT_PROTOCOL>
default protocol to use when connecting to peers
-u, --disable-encryption
disable encryption for peers communication, default is false, must be same with peers
--multi-thread
use multi-thread runtime, default is single-thread
--disable-ipv6
do not use ipv6
-h, --help
Print help
-V, --version
Print version
````
-3
View File
@@ -1,3 +0,0 @@
# 其他
可使用 ``easytier-core --help`` 查看全部配置项
@@ -6,16 +6,16 @@
flowchart LR
subgraph 节点 A IP 22.1.1.1
nodea[EasyTier\n10.144.144.1]
nodeA[EasyTier\n10.144.144.1]
end
subgraph 节点 B
nodeb[EasyTier\n10.144.144.2]
nodeB[EasyTier\n10.144.144.2]
end
id1[[10.1.1.0/24]]
nodea <--> nodeb <-.-> id1
nodeA <--> nodeB <-.-> id1
```
@@ -6,14 +6,14 @@
flowchart LR
subgraph 节点 A IP 22.1.1.1
nodea[EasyTier\n10.144.144.1]
nodeA[EasyTier\n10.144.144.1]
end
subgraph 节点 B
nodeb[EasyTier\n10.144.144.2]
nodeB[EasyTier\n10.144.144.2]
end
nodea <-----> nodeb
nodeA <-----> nodeB
```