{% extends "base.html" %} {% block title %}{{ peer.name }} - WireGuard Admin{% endblock %} {% block breadcrumbs %}/ Peers / {{ peer.name }}{% endblock %} {% block content %} {% if error %}
{{ error }}
{% endif %}Not present on interface (disabled or interface down).
{% endif %}{{ client_config }}
# Install wireguard tools
sudo apt install wireguard # Debian/Ubuntu
sudo dnf install wireguard-tools # Fedora/RHEL
# Save the config (downloaded or copied from above)
sudo mv {{ peer.name }}.conf /etc/wireguard/{{ peer.name }}.conf
sudo chmod 600 /etc/wireguard/{{ peer.name }}.conf
# Bring the tunnel up / down
sudo wg-quick up {{ peer.name }}
sudo wg-quick down {{ peer.name }}
# Start automatically at boot
sudo systemctl enable --now wg-quick@{{ peer.name }}
# Verify: check handshake and ping the server
sudo wg show
ping {{ server_tunnel_ip }}
nmcli connection import type wireguard file {{ peer.name }}.conf
nmcli connection up {{ peer.name }}
Install the official WireGuard app, then Import Tunnel from File and select the downloaded {{ peer.name }}.conf, or Add Empty Tunnel and paste the config above.
Install the WireGuard app, tap Add Tunnel, then Create from QR code and scan the QR code above.