forked from extern/wg-meshconf
removed ./ from all wg-meshconf commands
This commit is contained in:
@ -69,16 +69,16 @@ For this example, suppose you have four servers as shown below. These servers ca
|
|||||||
First we need to add all peers in the mesh network into the database. The basic syntax for adding new peers is:
|
First we need to add all peers in the mesh network into the database. The basic syntax for adding new peers is:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
./wg-meshconf addpeer NAME --address IP_ADDRESS --address IP_ADDRESS_2 --endpoint ENDPOINT
|
wg-meshconf addpeer NAME --address IP_ADDRESS --address IP_ADDRESS_2 --endpoint ENDPOINT
|
||||||
```
|
```
|
||||||
|
|
||||||
- New private key will be generated automatically if unspecified
|
- New private key will be generated automatically if unspecified
|
||||||
- ListenPort defaults to 51820 per WireGuard standard
|
- ListenPort defaults to 51820 per WireGuard standard
|
||||||
- All other values are left empty by default
|
- All other values are left empty by default
|
||||||
|
|
||||||
There are more options which you can specify. Use the command `./wg-meshconf addpeer -h` for more details.
|
There are more options which you can specify. Use the command `wg-meshconf addpeer -h` for more details.
|
||||||
|
|
||||||
After adding all the peers into the database, you can verify that they have all been added correctly via the `./wg-meshconf showpeers` command. The `simplify` switch here omits all columns with only `None`s.
|
After adding all the peers into the database, you can verify that they have all been added correctly via the `wg-meshconf showpeers` command. The `simplify` switch here omits all columns with only `None`s.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -221,6 +221,7 @@ optional arguments:
|
|||||||
## License
|
## License
|
||||||
|
|
||||||
Licensed under the GNU General Public License Version 3 (GNU GPL v3)
|
Licensed under the GNU General Public License Version 3 (GNU GPL v3)
|
||||||
|
|
||||||
https://www.gnu.org/licenses/gpl-3.0.txt
|
https://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
|
|
||||||

|

|
||||||
|
Reference in New Issue
Block a user