usersAdd WireGuard Configuration Peers

To add a peer, click the "+ Peer" button in your configuration.

Once you click the button, a form similar to adding a configuration appears. Fill in the following fields:

  • Name

    • This is not required. You can leave it empty or provide any name you like.

  • Private Key & Public Key

    • Required. Both Private and Public Key will be auto-generated.

    • If you want to use your own key pair, toggle the switch "Use your own Private and Public Key".

  • Allowed IPs

    • The IP addresses assigned to this peer. An address will be auto-generated with the first available IP.

    • You can add more IP addresses by clicking the "Pick Available IP" button, or type custom IP addresses directly into the input.

  • Endpoint Allowed IPs

    • The IP address range whose traffic you want to forward. For example, to forward only the subnet traffic, set this to match the configuration's Allowed IPs.

    • To forward all traffic through WireGuard, set it to:

      0.0.0.0/0, ::/0
  • DNS

    • The DNS servers this peer will use.

  • Pre-Shared Key

  • MTU

    • The MTU is automatically determined from the endpoint addresses or the system default route, which is usually a sensible choice.

  • Persistent Keepalive

    • If a peer is behind NAT and connects to a public peer, the NAT-ed node must regularly send outgoing pings to keep the connection alive in the NAT router's connection table.

Last updated