...
Note |
---|
Minimum parameters must be specified for importing on the client device by QR-code/file. Example: interface: wireguard1 public-key: v/oIzPyFm1FPHrqhytZgsKjU7mUToQHLrW+Tb5e601M= private-key: KMwxqe/iXAU8Jn9dd1o5pPdHep2blGxNWm9I944/I24= allowed-address: 192.168.88.3/24 client-address: 192.168.88.3/32 client-endpoint: example.com:13231 |
Note |
---|
When using interface/wireguard/wg-import file=, you may get Could not parse error, if Wireguard import file starts with #, use it clean as per example: [Interface] |
Read-only properties
Property | Description |
---|---|
current-endpoint-address (IP/IPv6) | The most recent source IP address of correctly authenticated packets from the peer. |
current-endpoint-port (integer) | The most recent source IP port of correctly authenticated packets from the peer. |
last-handshake (integer) | Time in seconds after the last successful handshake. |
rx (integer) | The total amount of bytes received from the peer. |
tx (integer) | The total amount of bytes transmitted to the peer. |
...