some wg & cli & README improve (#47)

1. fix vpn client cannot access local node
2. fix wg client config no allowedip field
3. some cli & README improve
This commit is contained in:
Sijie.Sun authored and GitHub committed 2024-04-03 22:22:44 +08:00
1 parent e4be86cf92
commit 892b06dfd3
5 files changed
+32 -11

No files matched your search

+2 -2
View File
@@ -158,13 +158,13 @@
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://easytier.public.kkrainbow.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://easytier.public.kkrainbow.top:11010
```
After the command is successfully executed, Node A can access Node B through the virtual IP 10.144.144.2.