interface/wireguard
Type: Directory
WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.
| Flag | Name | Description |
|---|
| X | disabled | Whether an item is disabled. |
| R | running | Whether the interface is running. |
| Argument | Type | Description |
|---|
| name | string | Name of the tunnel. |
| mtu | num | Layer3 maximum transmission unit. |
| listen-port | num | Port for the WireGuard service to listen on for incoming sessions. |
| private-key | string | A base64 private key. If not specified, it is automatically generated upon interface creation. Each network interface has a private key and a list of peers. |
| vrf | enum | Specifies which VRF the WireGuard UDP socket uses to determine how encrypted packets are sent or received. |
| Read-only Argument | Type | Description |
|---|
| public-key | string | A base64 public key calculated from the private key. Public keys are used by peers to authenticate each other. |