diff --git a/README.md b/README.md index bf83a5b..d4310e5 100644 --- a/README.md +++ b/README.md @@ -200,20 +200,20 @@ Subnet proxy information will automatically sync to each node in the virtual net ### Networking without Public IP -EasyTier supports networking using shared public nodes. The currently deployed shared public node is ``tcp://easytier.public.kkrainbow.top:11010``. +EasyTier supports networking using shared public nodes. The currently deployed shared public node is ``tcp://public.easytier.top:11010``. When using shared nodes, each node entering the network needs to provide the same ``--network-name`` and ``--network-secret`` parameters as the unique identifier of the network. Taking two nodes as an example, Node A executes: ```sh -sudo easytier-core -i 10.144.144.1 --network-name abc --network-secret abc -e tcp://easytier.public.kkrainbow.top:11010 +sudo easytier-core -i 10.144.144.1 --network-name abc --network-secret abc -e tcp://public.easytier.top:11010 ``` Node B executes ```sh -sudo easytier-core --ipv4 10.144.144.2 --network-name abc --network-secret abc -e tcp://easytier.public.kkrainbow.top:11010 +sudo easytier-core --ipv4 10.144.144.2 --network-name abc --network-secret abc -e tcp://public.easytier.top:11010 ``` After the command is successfully executed, Node A can access Node B through the virtual IP 10.144.144.2. @@ -279,7 +279,16 @@ Before using the Client Config, you need to modify the Interface Address and Pee ### Self-Hosted Public Server -Each node can act as a relay node for other users' networks. Simply start EasyTier without any parameters. +Every virtual network (with same network name and secret) can act as a public server cluster. Nodes of other network can connect to arbitrary nodes in public server cluster to discover each other without public IP. + +Run you own public server cluster is exactly same as running an virtual network, except that you can skip config the ipv4 addr. + +You can also join the official public server cluster with following command: + +``` +sudo easytier-core --network-name easytier --network-secret easytier -p tcp://public.easytier.top:11010 +``` + ### Configurations diff --git a/README_CN.md b/README_CN.md index e9509f5..94c3be6 100644 --- a/README_CN.md +++ b/README_CN.md @@ -199,20 +199,20 @@ sudo easytier-core --ipv4 10.144.144.2 -n 10.1.1.0/24 ### 无公网IP组网 -EasyTier 支持共享公网节点进行组网。目前已部署共享的公网节点 ``tcp://easytier.public.kkrainbow.top:11010``。 +EasyTier 支持共享公网节点进行组网。目前已部署共享的公网节点 ``tcp://public.easytier.top:11010``。 使用共享节点时,需要每个入网节点提供相同的 ``--network-name`` 和 ``--network-secret`` 参数,作为网络的唯一标识。 以双节点为例,节点 A 执行: ```sh -sudo easytier-core -i 10.144.144.1 --network-name abc --network-secret abc -e tcp://easytier.public.kkrainbow.top:11010 +sudo easytier-core -i 10.144.144.1 --network-name abc --network-secret abc -e tcp://public.easytier.top:11010 ``` 节点 B 执行 ```sh -sudo easytier-core --ipv4 10.144.144.2 --network-name abc --network-secret abc -e tcp://easytier.public.kkrainbow.top:11010 +sudo easytier-core --ipv4 10.144.144.2 --network-name abc --network-secret abc -e tcp://public.easytier.top:11010 ``` 命令执行成功后,节点 A 即可通过虚拟 IP 10.144.144.2 访问节点 B。 @@ -282,7 +282,15 @@ connected_clients: ### 自建公共中转服务器 -每个节点都可作为其他用户网络的中转节点。不带任何参数直接启动 EasyTier 即可。 +每个虚拟网络(通过相同的网络名称和密钥建链)都可以充当公共服务器集群。其他网络的节点可以连接到公共服务器集群中的任意节点,无需公共 IP 即可发现彼此。 + +运行自建的公共服务器集群与运行虚拟网络完全相同,不过可以跳过配置 ipv4 地址。 + +也可以使用以下命令加入官方公共服务器集群,后续将实现公共服务器集群的节点间负载均衡: + +``` +sudo easytier-core --network-name easytier --network-secret easytier -p tcp://public.easytier.top:11010 +``` ### 其他配置 diff --git a/easytier-gui/src/components/Config.vue b/easytier-gui/src/components/Config.vue index 6c008f7..1d64201 100644 --- a/easytier-gui/src/components/Config.vue +++ b/easytier-gui/src/components/Config.vue @@ -65,7 +65,7 @@ const publicServerSuggestions = ref(['']) function searchPresetPublicServers(e: { query: string }) { const presetPublicServers = [ - 'tcp://easytier.public.kkrainbow.top:11010', + 'tcp://public.easytier.top:11010', ] const query = e.query diff --git a/easytier-gui/src/types/network.ts b/easytier-gui/src/types/network.ts index 736d103..69f0c41 100644 --- a/easytier-gui/src/types/network.ts +++ b/easytier-gui/src/types/network.ts @@ -47,7 +47,7 @@ export function DEFAULT_NETWORK_CONFIG(): NetworkConfig { networking_method: NetworkingMethod.PublicServer, - public_server_url: 'tcp://easytier.public.kkrainbow.top:11010', + public_server_url: 'tcp://public.easytier.top:11010', peer_urls: [], proxy_cidrs: [],