Jump to:navigation, search
Wiki





notempty
Dieser Artikel bezieht sich auf eine nicht mehr aktuelle Version!

notempty
Der Artikel für die neueste Version steht hier

notempty
Zu diesem Artikel gibt es bereits eine neuere Version, die sich allerdings auf eine Reseller-Preview bezieht



































































































































De.png
En.png
Fr.png






Add peer (Roadwarrior) to an existing WireGuard connection
Last adaption: 12.4
New:
  • Überarbeitung des Dashboards:
    • Status Anzeige der Verbindung
    • Anzeige der Benutzer-Peers mit IP-Adressen und Schlüssel
    • Anzeige der Benutzergruppen-Peers inklusive der Benutzergruppen Mitglieder
  • Der Port des Endpunktes muss nicht mehr manuell angegeben werden, sondern wird aus der übergeordneten Verbindung ausgelesen
notempty
This article refers to a Resellerpreview

12.2.2

Access: UTM-IP:Port or UTM-URL:Port
Port as configured at Network / Appliance Settings / Webserver
Default-Port: 11115
i.e.: https://utm.ttt-point.de:11115
Default: https://192.168.175.1:11115
→ VPN →WireGuard


Add peer (remote terminal)

If a WireGuard connection already exists in which the UTM serves as a server, an additional peer can be added that runs on the same port. It uses the same certificate to authenticate the connection as an existing connection.

For additional remote terminals (peers), their own public key is required, as well as their own PSK.

→ VPN →WireGuard Button Add peer of the connection you want to use

  • new as of v12.4
    The connection status refers exclusively to the WireGuard tunnel, not to the actual reachability of the hosts on the other side of the tunnel (firewall rules, network configuration)!
  • Status Description
    The tunnel is active
    No indication of status can be made until a data packet is transmitted or the keepalive is activated.

    The connection status of peers for which no endpoint is defined is basically only updated in case of incoming traffic/keepalive from the client side, i.e. an unknown status in this case does not necessarily mean a misconfiguration, but possibly only an inactive client.

    An error has occurred. The connection cannot be established.
    UTM 12.4 VPN WireGuard Verbindung-en.png
    WireGuard Dashboard
    Caption Value Description UTM v12.4 VPN Wireguard Peer hinzufügen-en.png
    Name peer-rw-c Description of the remote terminal (here: a roadwarrior)
    Allowed IPs: Site-to-Site »10.2.0.0/16 »fd00:b:0:0::/64 Site-to-Site
    Local net IP of the remote terminal
    Roadwarrior»10.0.1.201/32»fd00:0:0:0::C9/128 Roadwarrior
    IP of the transfer network (»…/32 or »…128)
  • A roadwarrior uses only the tunnel IP
  • Endpoint: Site-to-Site
    c.vpn.anyideas.de
    Site-to-Site
    Public IP or within the public DNS resolvable FQDN with listening-port of the remote terminal
    Roadwarrior
       
    Roadwarrior
    Can remain blank if no connection is to be initiated from the UTM
    Endpoint Port:
    51820 The port is already defined by the settings of the parent connection and is predefined here
    new as of v12.4
    Public key: x25519_c_rw.vpn Public key of the remote terminal in the x25519 format.
    Only keys that have no private key can be selected.
  • Public key present but not selectable?
    Only keys for which there is not yet a connection on this interface can be selected. The PublicKey must be unique within a connection, as the routing of incoming packets is carried out via it.
    If the same PublicKey is to be used for a peer, e.g. for a fallback, another WireGuard connection must be created for this.
  • Site-to-Site
    If the public key of the remote terminal is not yet known, this button can be used to open the import of the key management.
    Roadwarrior
    If the public key of the roadwarrior is not yet known, this button can be used to open the import of the key management.
    We recommend creating the key pair for the Roadwarrior on the UTM and then storing it securely.
    Approach:
    1. Click the button. This opens the key management and the import dialog
    2. Import dialog Close
    3. Button Add key
    4. Choose a unique name
    5. Select as Type: the format X25519 and Save
    6. Export private part and public part of the key in the RAW format
      (The format is important, because it's needed in the configuration file of the roadwarrior.)
    7. Afterwards import the public part of the key again
      (This process is necessary, because in the selection dialog of the assistant only keys without private key part are available.
      The private part of the key is used in the counterpart device. It can be entered in the WireGuard Client under PrivateKey.
    Pre-Shared Key: …QxJqz22W4/FWipaxs= Pre-shared key for further securing the connection (optional)
    Generates a very strong pre-shared key
  • The pre-shared key must be identical at both ends of the VPN connection!
  • Keepalive: Off Default Regularly sends a signal. This keeps connections open on NAT routers. On Activation is recommended.
    25Link= Interval in seconds at which a signal is sent
    Create / remove routes to the peer's networks: No Default Creates on activation routes to the peer's networks
    CLI command for each element from Allowed IPs: route new src "" router "wg0" dst "»Allowed IP"
    Generate network objects for peer: No Default When activated Ja network objects (IPv4 and if necessary IPv6) for the remote terminal are generated
    Network objects for the peer: »wg-net-peer-rw-c »wg-net6-peer-rw-c The automatic default name (wg-net-Peer-Name) can be changed
    Network group: wg0-networks Assigns the newly created network objects to a network group