mirror of
https://github.com/EasyTier/easytier.github.io.git
synced 2025-05-19 10:27:06 +00:00
remove all vpn words (#69)
This commit is contained in:
@@ -2,7 +2,7 @@ import { defineConfig } from 'vitepress'
|
||||
|
||||
export const cn = defineConfig({
|
||||
lang: 'cn',
|
||||
description: '一个简单、安全、去中心化的内网穿透 VPN 组网方案,使用 Rust 语言和 Tokio 框架实现',
|
||||
description: '一个简单、安全、去中心化的内网穿透 SD-WAN 异地组网方案,使用 Rust 语言和 Tokio 框架实现',
|
||||
|
||||
themeConfig: {
|
||||
sidebar: [
|
||||
@@ -42,7 +42,7 @@ export const cn = defineConfig({
|
||||
{ text: 'WireGuard 接入', link: '/guide/gui/vpn_portal' },
|
||||
{ text: '子网代理', link: '/guide/gui/subnet_proxy' },
|
||||
{ text: 'EasyTier 管理器', link: '/guide/gui/easytier-manager' },
|
||||
{ text: 'EasyTier游戏联机启动器', link: '/guide/gui/easytier-game' },
|
||||
{ text: 'EasyTier 游戏联机启动器', link: '/guide/gui/easytier-game' },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -60,7 +60,7 @@ export const cn = defineConfig({
|
||||
copyright: '版权所有 © 2024-present EasyTier',
|
||||
},
|
||||
editLink: {
|
||||
pattern: 'https://github.com/EasyTier/easytier.github.io/edit/dev/:path',
|
||||
pattern: 'https://github.com/EasyTier/easytier.github.io/edit/main/:path',
|
||||
text: '在 GitHub 上编辑此页面',
|
||||
},
|
||||
docFooter: {
|
||||
|
||||
@@ -2,7 +2,7 @@ import { defineConfig } from 'vitepress'
|
||||
|
||||
export const en = defineConfig({
|
||||
lang: 'en',
|
||||
description: 'A simple, safe and decentralized VPN networking solution implemented with the Rust language and Tokio framework',
|
||||
description: 'A simple, safe and decentralized SD-WAN networking solution implemented with the Rust language and Tokio framework',
|
||||
|
||||
themeConfig: {
|
||||
sidebar: [
|
||||
@@ -47,7 +47,7 @@ export const en = defineConfig({
|
||||
copyright: 'Copyright © 2024-present EasyTier',
|
||||
},
|
||||
editLink: {
|
||||
pattern: 'https://github.com/EasyTier/easytier.github.io/edit/dev/:path',
|
||||
pattern: 'https://github.com/EasyTier/easytier.github.io/main/dev/:path',
|
||||
text: 'Edit this page on GitHub',
|
||||
},
|
||||
},
|
||||
|
||||
Vendored
+3
@@ -65,4 +65,7 @@
|
||||
"yaml",
|
||||
"toml"
|
||||
],
|
||||
"cSpell.words": [
|
||||
"easytier"
|
||||
],
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
# Introduction
|
||||
|
||||
EasyTier is a simple, safe and decentralized VPN networking solution implemented with the Rust language and Tokio framework.
|
||||
EasyTier is a simple, safe and decentralized SD-WAN networking solution implemented with the Rust language and Tokio framework.
|
||||
|
||||
## Features
|
||||
|
||||
@@ -10,7 +10,7 @@ EasyTier is a simple, safe and decentralized VPN networking solution implemented
|
||||
- **Cross-platform**: Supports MacOS/Linux/Windows/FreeBSD/Android, will support IOS in the future. The executable file is statically linked, making deployment simple.
|
||||
- **Networking without public IP**: Supports networking using shared public nodes, refer to [Configuration Guide](/guide/network/networking-without-public-ip)
|
||||
- **NAT traversal**: Supports UDP-based NAT traversal, able to establish stable connections even in complex network environments.
|
||||
- **Subnet Proxy (Point-to-Network)**: Nodes can expose accessible network segments as proxies to the VPN subnet, allowing other nodes to access these subnets through the node.
|
||||
- **Subnet Proxy (Point-to-Network)**: Nodes can expose accessible network segments as proxies to the virtual network, allowing other nodes to access these subnets through the node.
|
||||
- **Smart Routing**: Selects links based on traffic to reduce latency and increase throughput.
|
||||
- **TCP Support**: Provides reliable data transmission through concurrent TCP links when UDP is limited, optimizing performance.
|
||||
- **High Availability**: Supports multi-path and switches to healthy paths when high packet loss or network errors are detected.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Configuration File
|
||||
|
||||
Supports specifying the configuration file path using the -c parameter.
|
||||
Supports specifying the configuration file path using the -c parameter.
|
||||
|
||||
Note: The configuration file has a higher priority. When a configuration file is specified at runtime, all command line parameters except for -c will be ignored and only the configuration file will take effect.
|
||||
|
||||
@@ -13,37 +13,36 @@ You can run `./easytier-core` directly without using any parameters to obtain th
|
||||
Below is an example of a configuration file along with annotations for various configuration options.
|
||||
|
||||
```toml
|
||||
# instance name to identify this vpn node in same machine
|
||||
# instance name to identify this node in same machine
|
||||
instance_name = ""
|
||||
# Hostname, used to identify the hostname of this device
|
||||
hostname = ""
|
||||
# Instance ID, usually a UUID, unique within the same VPN network
|
||||
# Instance ID, usually a UUID, unique within the same network
|
||||
instance_id = ""
|
||||
# The IPv4 address of this VPN node. If left empty, this node will only forward packets and will not create a TUN device
|
||||
# The IPv4 address of this node. If left empty, this node will only forward packets and will not create a TUN device
|
||||
ipv4 = ""
|
||||
# Automatically determined and assigned IP address by Easytier, starting from 10.0.0.1 by default. Warning: When using DHCP, if an IP conflict occurs within the network, the IP address will be automatically changed.
|
||||
# Automatically determined and assigned IP address by EasyTier, starting from 10.0.0.1 by default. Warning: When using DHCP, if an IP conflict occurs within the network, the IP address will be automatically changed.
|
||||
dhcp = false
|
||||
|
||||
# List of listeners, used for accepting connections
|
||||
listeners = [
|
||||
"tcp://0.0.0.0:11010",
|
||||
"udp://0.0.0.0:11010",
|
||||
"wg://0.0.0.0:11011",
|
||||
"ws://0.0.0.0:11011/",
|
||||
"wss://0.0.0.0:11012/",
|
||||
"tcp://0.0.0.0:11010",
|
||||
"udp://0.0.0.0:11010",
|
||||
"wg://0.0.0.0:11011",
|
||||
"ws://0.0.0.0:11011/",
|
||||
"wss://0.0.0.0:11012/",
|
||||
]
|
||||
|
||||
# List of exit nodes
|
||||
exit_nodes = [
|
||||
]
|
||||
exit_nodes = []
|
||||
|
||||
# Rpc portal address to listen for management
|
||||
rpc_portal = "127.0.0.1:15888"
|
||||
|
||||
[network_identity]
|
||||
# network name to identify this vpn network
|
||||
# network name to identify this virtual network
|
||||
network_name = ""
|
||||
# network secret to verify this node belongs to the vpn network
|
||||
# network secret to verify this node belongs to the virtual network
|
||||
network_secret = ""
|
||||
|
||||
# This is the configuration for peer connection nodes, allowing multiple entries to support multiple peer connections
|
||||
@@ -60,11 +59,11 @@ cidr = "10.0.1.0/24"
|
||||
[[proxy_network]]
|
||||
cidr = "10.0.2.0/24"
|
||||
|
||||
#wg configuration information
|
||||
# wg configuration information
|
||||
[vpn_portal_config]
|
||||
#The subnet where the VPN client is located, as shown in the example below.
|
||||
# The subnet where the wg client is located, as shown in the example below.
|
||||
client_cidr = "10.14.14.0/24"
|
||||
#The port that wg listens to (please do not conflict with the listeners' wg).
|
||||
# The port that wg listens to (please do not conflict with the listeners' wg).
|
||||
wireguard_listen = "0.0.0.0:11012"
|
||||
|
||||
[flags]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
You can use `easytier-core --help` to view all configuration items
|
||||
|
||||
```sh
|
||||
A full meshed p2p VPN, connecting all your devices in one network with one command.
|
||||
A full meshed p2p networking tool, connecting all your devices in one network with one command.
|
||||
|
||||
Usage: easytier-core [OPTIONS]
|
||||
|
||||
@@ -11,11 +11,11 @@ Options:
|
||||
-c, --config-file <CONFIG_FILE>
|
||||
path to the config file, NOTE: if this is set, all other options will be ignored
|
||||
--network-name <NETWORK_NAME>
|
||||
network name to identify this vpn network [default: default]
|
||||
network name to identify this virtual network [default: default]
|
||||
--network-secret <NETWORK_SECRET>
|
||||
network secret to verify this node belongs to the vpn network [default: ]
|
||||
network secret to verify this node belongs to the virtual network [default: ]
|
||||
-i, --ipv4 <IPV4>
|
||||
ipv4 address of this vpn node, if empty, this node will only forward packets and no TUN device will be
|
||||
ipv4 address of this node, if empty, this node will only forward packets and no TUN device will be
|
||||
created
|
||||
-d, --dhcp
|
||||
automatically determine and set IP address by Easytier, and the
|
||||
@@ -27,7 +27,7 @@ Options:
|
||||
-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
|
||||
export local networks to other peers in the virtual network
|
||||
-r, --rpc-portal <RPC_PORTAL>
|
||||
rpc portal address to listen for management. 0 means random
|
||||
port, 12345 means listen on 12345 of localhost, 0.0.0.0:12345 means
|
||||
@@ -51,12 +51,11 @@ Options:
|
||||
--hostname <HOSTNAME>
|
||||
host name to identify this device
|
||||
-m, --instance-name <INSTANCE_NAME>
|
||||
instance name to identify this vpn node in same machine [default: default]
|
||||
instance name to identify this node in same machine [default: default]
|
||||
--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
|
||||
url that defines the portal, allow other kinds of clients to connect.
|
||||
example: wg://0.0.0.0:11010/10.14.14.0/24, means the portal is a wireguard server listening on
|
||||
0.0.0.0:11010, and the wireguard 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
|
||||
|
||||
@@ -45,7 +45,7 @@ Address = 10.14.14.0/24 # should assign an ip from this cidr manually
|
||||
[Peer]
|
||||
PublicKey = zhrZQg4QdPZs8CajT3r4fmzcNsWpBL9ImQCUsnlXyGM=
|
||||
AllowedIPs = 192.168.80.0/20,10.147.223.0/24,10.144.144.0/24
|
||||
Endpoint = 0.0.0.0:11013 # should be the public ip of the vpn server
|
||||
Endpoint = 0.0.0.0:11013 # should be the public ip of the easytier server
|
||||
|
||||
connected_clients:
|
||||
[]
|
||||
|
||||
+2
-2
@@ -5,7 +5,7 @@ layout: home
|
||||
hero:
|
||||
name: EasyTier
|
||||
text: implemented using Rust language and Tokio framework
|
||||
tagline: A simple, secure, decentralized VPN mesh network solution
|
||||
tagline: A simple, secure, decentralized SD-WAN mesh networking solution
|
||||
actions:
|
||||
- theme: brand
|
||||
text: Quick start
|
||||
@@ -34,7 +34,7 @@ features:
|
||||
- title: NAT traversal
|
||||
details: Supports UDP-based NAT traversal, able to establish stable connections even in complex network environments.
|
||||
- title: Subnet Proxy (Point-to-Network)
|
||||
details: Nodes can expose accessible network segments as proxies to the VPN subnet, allowing other nodes to access these subnets through the node.
|
||||
details: Nodes can expose accessible network segments as proxies to the virtual network, allowing other nodes to access these subnets through the node.
|
||||
- title: Smart Routing
|
||||
details: Selects links based on traffic to reduce latency and increase throughput.
|
||||
---
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
# [EasyTier游戏联机启动器](https://github.com/EasyTier/EasytierGame)
|
||||
# [EasyTier 游戏联机启动器](https://github.com/EasyTier/EasytierGame)
|
||||
|
||||
## 简介
|
||||
EasyTierGame游戏联机启动器,由`nuxt3` `typescript` `rust` `tauri` 开发
|
||||
具有简易的界面,附带最新版easytier内核,联机游玩的时候无论是心理上和使用上都能给予您最舒服的体验,同时支持自定义配置文件启动,满足各种需求
|
||||
|
||||
EasyTierGame 游戏联机启动器,由`nuxt3` `typescript` `rust` `tauri` 开发
|
||||
具有简易的界面,附带最新版 easytier 内核,联机游玩的时候无论是心理上和使用上都能给予您最舒服的体验,同时支持自定义配置文件启动,满足各种需求
|
||||
|
||||
## 下载
|
||||
|
||||
@@ -13,23 +14,24 @@ Releases: [https://github.com/EasyTier/EasytierGame/releases](https://github.c
|
||||
|
||||

|
||||
|
||||
|
||||
## 使用教程
|
||||
|
||||
- 第一次使用,输入一个“主机名”点击启动联机即可,后续可以自建服务器或者使用爱心群友提供的服务器
|
||||

|
||||

|
||||
|
||||

|
||||
|
||||
- 高级选项里有一些特殊配置,可以自行选择
|
||||

|
||||

|
||||
|
||||
- 如果还是无法满足您的需求,可以使用配置文件进行启动,具体如何配置,可以查看文档[配置文件](/guide/network/config-file.html)
|
||||

|
||||

|
||||
|
||||
- easytier内核升级后,可以点击更新插件按钮就可以进行更新,但是需要出国,如果无法更新,可以在群里获取
|
||||

|
||||

|
||||
|
||||
## 特性
|
||||
|
||||
- 基于easytier组网工具开发,界面清晰简单
|
||||
- 自带“更新”按钮,在easytier组网工具发布新版本时,点击更新即可(需要出国工具)
|
||||
- 第一次使用,输入一个“主机名”点击启动联机即可,后续可以自建服务器或者使用群友的服务器
|
||||
@@ -38,4 +40,5 @@ Releases: [https://github.com/EasyTier/EasytierGame/releases](https://github.c
|
||||
- 已经测试 **艾尔登法环学习版**,**无主之地3**,**深岩银河**,**怪物猎人世界** 等都可稳定联机游玩
|
||||
|
||||
## 系统支持
|
||||
支持Windows 11 、Windows 10 、 Windows 7
|
||||
|
||||
支持Windows 11 、Windows 10 、 Windows 7
|
||||
|
||||
@@ -4,8 +4,8 @@ EasyTier 中每个节点可以作为 WireGuard 的服务端,让安卓、IOS
|
||||
|
||||
配置方法如图。
|
||||
|
||||

|
||||

|
||||
|
||||
点击组网成功页面的 《显示 VPN 门户配置》 按钮,就可以查看客户端的配置文件,将该配置文件导入手机的第三方客户端,即可让手机访问虚拟局域网
|
||||
点击组网成功页面的 《显示 WireGuard 门户配置》 按钮,就可以查看客户端的配置文件,将该配置文件导入手机的第三方客户端,即可让手机访问虚拟局域网
|
||||
|
||||

|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 简介
|
||||
|
||||
一个简单、安全、去中心化的内网穿透 VPN 组网方案,使用 Rust 语言和 Tokio 框架实现。
|
||||
一个简单、安全、去中心化的内网穿透 SD-WAN 异地组网方案,使用 Rust 语言和 Tokio 框架实现。
|
||||
|
||||
## 特点
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
- **跨平台**:支持 MacOS/Linux/Windows/FreeBSD/Android,未来将支持 IOS。可执行文件静态链接,部署简单。
|
||||
- **无公网 IP 组网**:支持利用共享的公网节点组网,可参考 [配置指南](/guide/network/networking-without-public-ip)
|
||||
- **NAT 穿透**:支持基于 UDP 的 NAT 穿透,即使在复杂的网络环境下也能建立稳定的连接。
|
||||
- **子网代理(点对网)**:节点可以将可访问的网段作为代理暴露给 VPN 子网,允许其他节点通过该节点访问这些子网。
|
||||
- **子网代理(点对网)**:节点可以将可访问的网段作为代理暴露给虚拟网,允许其他节点通过该节点访问这些子网。
|
||||
- **智能路由**:根据流量智能选择链路,减少延迟,提高吞吐量。
|
||||
- **TCP 支持**:在 UDP 受限的情况下,通过并发 TCP 链接提供可靠的数据传输,优化性能。
|
||||
- **高可用性**:支持多路径和在检测到高丢包率或网络错误时切换到健康路径。
|
||||
|
||||
@@ -13,13 +13,13 @@
|
||||
下面是一个配置文件的示例以及各种配置项的注解。
|
||||
|
||||
```yaml
|
||||
# 实例名称,用于在同一台机器上标识此 VPN 节点
|
||||
# 实例名称,用于在同一台机器上标识此节点
|
||||
instance_name = ""
|
||||
# 主机名,用于标识此设备的主机名
|
||||
hostname = ""
|
||||
# 实例 ID,一般为 UUID,在同一个 VPN 网络中唯一
|
||||
# 实例 ID,一般为 UUID,在同一个虚拟网络中唯一
|
||||
instance_id = ""
|
||||
# 此 VPN 节点的 IPv4 地址,如果为空,则此节点将仅转发数据包,不会创建 TUN 设备
|
||||
# 此节点的虚拟网 IPv4 地址,如果为空,则此节点将仅转发数据包,不会创建 TUN 设备
|
||||
ipv4 = ""
|
||||
# 由 Easytier 自动确定并设置IP地址,默认从10.0.0.1开始。警告:在使用 DHCP 时,如果网络中出现 IP 冲突,IP 将自动更改
|
||||
dhcp = false
|
||||
@@ -41,9 +41,9 @@ exit_nodes = [
|
||||
rpc_portal = "127.0.0.1:15888"
|
||||
|
||||
[network_identity]
|
||||
# 网络名称,用于标识 VPN 网络
|
||||
# 网络名称,用于标识虚拟网络
|
||||
network_name = ""
|
||||
# 网络密钥,用于验证此节点属于 VPN 网络
|
||||
# 网络密钥,用于验证此节点属于虚拟网络
|
||||
network_secret = ""
|
||||
|
||||
# 这里是对等连接节点配置,可以多段配置
|
||||
@@ -60,9 +60,9 @@ cidr = "10.0.1.0/24"
|
||||
[[proxy_network]]
|
||||
cidr = "10.0.2.0/24"
|
||||
|
||||
#wg配置信息
|
||||
# WireGuard 配置信息
|
||||
[vpn_portal_config]
|
||||
#VPN客户端所在的网段,下面为示例
|
||||
# WireGuard 客户端所在的网段,下面为示例
|
||||
client_cidr = "10.14.14.0/24"
|
||||
#wg所监听的端口(请勿和listeners的wg冲突)
|
||||
wireguard_listen = "0.0.0.0:11012"
|
||||
|
||||
@@ -3,92 +3,52 @@
|
||||
可使用 `easytier-core --help` 查看全部配置项
|
||||
|
||||
```sh
|
||||
A full meshed p2p VPN, connecting all your devices in one network with one command.
|
||||
一个简单、易用、去中心化的 SD-WAN 异地组网工具,把设备连接进一个虚拟网。
|
||||
|
||||
Usage: easytier-core [OPTIONS]
|
||||
|
||||
Options:
|
||||
-c, --config-file <CONFIG_FILE>
|
||||
path to the config file, NOTE: if this is set, all other options will be ignored
|
||||
--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, if empty, this node will only forward packets and no TUN device will be
|
||||
created
|
||||
-d, --dhcp
|
||||
automatically determine and set IP address by Easytier, and the
|
||||
IP address starts from 10.0.0.1 by default. Warning, if there is an IP
|
||||
conflict in the network when using DHCP, the IP will be automatically
|
||||
changed.
|
||||
-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. 0 means random
|
||||
port, 12345 means listen on 12345 of localhost, 0.0.0.0:12345 means
|
||||
listen on 12345 of all interfaces. default is 0 and will try 15888 first [default: 0]
|
||||
-l, --listeners [<LISTENERS>...]
|
||||
listeners to accept connections, allow format:
|
||||
a port number: 11010, means tcp/udp will listen on 11010, ws/wss will listen on 11010 and 11011, wg will
|
||||
listen on 11011
|
||||
url: tcp://0.0.0.0:11010, tcp can be tcp, udp, ring, wg, ws, wss,
|
||||
proto:port: wg:11011, means listen on 11011 with wireguard protocol
|
||||
url and proto:port can occur multiple times.
|
||||
[default: 11010]
|
||||
--no-listener
|
||||
do not listen on any port, only connect to peers
|
||||
--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
|
||||
--hostname <HOSTNAME>
|
||||
host name to identify this device
|
||||
-m, --instance-name <INSTANCE_NAME>
|
||||
instance name to identify this vpn node in same machine [default: default]
|
||||
--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
|
||||
--dev-name <DEV_NAME>
|
||||
optional tun interface name
|
||||
--mtu <MTU>
|
||||
mtu of the TUN device, default is 1420 for non-encryption, 1400 for encryption
|
||||
--latency-first
|
||||
latency first mode, will try to relay traffic with lowest latency path, default is using shortest path
|
||||
--exit-nodes [<EXIT_NODES>...]
|
||||
exit nodes to forward all traffic to, a virtual ipv4 address, priority is determined by the order of the
|
||||
list
|
||||
--enable-exit-node
|
||||
allow this node to be an exit node, default is false
|
||||
--no-tun
|
||||
do not create TUN device, can use subnet proxy to access node
|
||||
--use-smoltcp
|
||||
enable smoltcp stack for subnet proxy
|
||||
--manual-routes [<MANUAL_ROUTES>...]
|
||||
assign routes cidr manually, will disable subnet proxy and
|
||||
wireguard routes propogated from peers. e.g.: 192.168.0.0/16
|
||||
--relay-network-whitelist [<RELAY_NETWORK_WHITELIST>...]
|
||||
only relay traffic of whitelisted networks, input is a wildcard
|
||||
string, e.g.: '*' (all networks), 'def*' (network prefixed with def), can specify multiple networks
|
||||
disable relay if arg is empty. default is allowing all networks
|
||||
-h, --help
|
||||
Print help
|
||||
-V, --version
|
||||
Print version
|
||||
-c, --config-file <CONFIG_FILE> 配置文件路径,注意:如果设置了这个选项,其他所有选项都将被忽略
|
||||
--network-name <NETWORK_NAME> 用于标识此虚拟网络的网络名称 [default: default]
|
||||
--network-secret <NETWORK_SECRET> 网络密钥,用于验证此节点属于虚拟网络 [default: ]
|
||||
-i, --ipv4 <IPV4> 此节点的虚拟 IPv4 地址,如果为空,则此节点将仅转发数据包,不会创建TUN设备
|
||||
-d, --dhcp 由Easytier自动确定并设置IP地址,默认从10.0.0.1开始。警告:在使用DHCP时,如果网络中出现IP冲突,IP将自动更改。
|
||||
-p, --peers [<PEERS>...] 最初要连接的对等节点
|
||||
-e, --external-node <EXTERNAL_NODE> 使用公共共享节点来发现对等节点
|
||||
-n, --proxy-networks <PROXY_NETWORKS> 将本地网络导出到虚拟网中的其他对等节点
|
||||
-r, --rpc-portal <RPC_PORTAL> 用于管理的RPC门户地址。0表示随机端口,12345表示在localhost的12345上监听,0.0.0.0:12345表示在所有接口的12345上监听。默认是0,首先尝试15888 [default: 0]
|
||||
-l, --listeners [<LISTENERS>...] 监听器用于接受连接,允许以下格式:
|
||||
端口号:<11010>,意味着tcp/udp将在11010端口监听,ws/wss将在11010和11011端口监听,wg将在11011端口监听。
|
||||
url:<tcp://0.0.0.0:11010>,其中tcp可以是tcp、udp、ring、wg、ws、wss协议。
|
||||
协议和端口对:<proto:port>,例如wg:11011,表示使用WireGuard协议在11011端口监听。URL 和 协议端口对 可以多次出现。
|
||||
[default: 11010]
|
||||
--no-listener 不监听任何端口,只连接到对等节点
|
||||
--console-log-level <CONSOLE_LOG_LEVEL> 控制台日志级别
|
||||
--file-log-level <FILE_LOG_LEVEL> 文件日志级别
|
||||
--file-log-dir <FILE_LOG_DIR> 存储日志文件的目录
|
||||
--hostname <HOSTNAME> 用于标识此设备的主机名
|
||||
-m, --instance-name <INSTANCE_NAME> 实例名称,用于在同一台机器上标识此节点 [default: default]
|
||||
--vpn-portal <VPN_PORTAL> 定义 WireGuard 门户的URL,允许其他 WireGuard 客户端连接。示例:wg://0.0.0.0:11010/10.14.14.0/24,表示 WireGuard 门户是监听在0.0.0.0:11010的 wireguard 服务器,WireGuard 客户端在10.14.14.0/24网络中
|
||||
--default-protocol <DEFAULT_PROTOCOL> 连接到对等节点时使用的默认协议
|
||||
-u, --disable-encryption 禁用对等节点通信的加密,默认为false,必须与对等节点相同
|
||||
--multi-thread 使用多线程运行时,默认为单线程
|
||||
--disable-ipv6 不使用IPv6
|
||||
--dev-name <DEV_NAME> 可选的TUN接口名称
|
||||
--mtu <MTU> TUN设备的MTU,默认为非加密时为1420,加密时为1400
|
||||
--latency-first 延迟优先模式,将尝试使用最低延迟路径转发流量,默认使用最短路径
|
||||
--exit-nodes [<EXIT_NODES>...] 转发所有流量的出口节点,虚拟IPv4地址,优先级由列表顺序决定
|
||||
--enable-exit-node 允许此节点成为出口节点
|
||||
--no-tun 不创建TUN设备,可以使用子网代理访问节点
|
||||
--use-smoltcp 为子网代理启用smoltcp堆栈
|
||||
--manual-routes [<MANUAL_ROUTES>...] 手动分配路由CIDR,将禁用子网代理和从对等节点传播的wireguard路由。例如:192.168.0.0/16
|
||||
--relay-network-whitelist [<RELAY_NETWORK_WHITELIST>...] 仅转发白名单网络的流量,支持通配符字符串。多个网络名称间可以使用英文空格间隔。
|
||||
如果该参数为空,则禁用转发。默认允许所有网络。
|
||||
例如:'*'(所有网络),'def*'(以def为前缀的网络),'net1 net2'(只允许net1和net2)"
|
||||
--disable-p2p 禁用P2P通信,只通过--peers指定的节点转发数据包
|
||||
--disable-udp-hole-punching 禁用UDP打洞功能
|
||||
--relay-all-peer-rpc 转发所有对等节点的RPC数据包,即使对等节点不在转发网络白名单中。这可以帮助白名单外网络中的对等节点建立P2P连接。
|
||||
--socks5 <SOCKS5> 启用 socks5 服务器,允许 socks5 客户端访问虚拟网络. 格式: <端口>,例如:1080
|
||||
--ipv6-listener <IPV6_LISTENER> IPv6 监听器的URL,例如:tcp://[::]:11010,如果未设置,将在随机UDP端口上监听
|
||||
-h, --help Print help
|
||||
-V, --version Print version
|
||||
```
|
||||
|
||||
@@ -45,7 +45,7 @@ Address = 10.14.14.0/24 # should assign an ip from this cidr manually
|
||||
[Peer]
|
||||
PublicKey = zhrZQg4QdPZs8CajT3r4fmzcNsWpBL9ImQCUsnlXyGM=
|
||||
AllowedIPs = 192.168.80.0/20,10.147.223.0/24,10.144.144.0/24
|
||||
Endpoint = 0.0.0.0:11013 # should be the public ip of the vpn server
|
||||
Endpoint = 0.0.0.0:11013 # should be the public ip of the easytier server
|
||||
|
||||
connected_clients:
|
||||
[]
|
||||
|
||||
@@ -5,7 +5,7 @@ layout: home
|
||||
hero:
|
||||
name: EasyTier
|
||||
text: 由 Rust 和 Tokio 驱动
|
||||
tagline: 一个简单、安全、去中心化的内网穿透 VPN 组网方案
|
||||
tagline: 一个简单、安全、去中心化的内网穿透 SD-WAN 异地组网方案
|
||||
actions:
|
||||
- theme: brand
|
||||
text: 快速开始
|
||||
@@ -32,7 +32,7 @@ features:
|
||||
- title: NAT 穿透
|
||||
details: 支持基于 UDP 的 NAT 穿透,即使在复杂的网络环境下也能建立稳定的连接。
|
||||
- title: 子网代理(点对网)
|
||||
details: 节点可以将可访问的网段作为代理暴露给 VPN 子网,允许其他节点通过该节点访问这些子网。
|
||||
details: 节点可以将其可访问的网段转发到虚拟网,允许其他节点通过该节点访问这些子网。
|
||||
- title: 智能路由
|
||||
details: 根据流量智能选择链路,减少延迟,提高吞吐量。
|
||||
- title: 跨平台
|
||||
|
||||
Reference in New Issue
Block a user