From ad9ebe23013ef32ce929b1ee8924a6b0e886dfcb Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 26 Feb 2026 22:38:35 -0800 Subject: [PATCH] wireguard: Show status of default route in server information page Tests: - Create a server connection with default route setting 'on'. See that the server status page reflects the value correctly. Repeat for 'off'. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- .../wireguard/templates/wireguard_show_server.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plinth/modules/wireguard/templates/wireguard_show_server.html b/plinth/modules/wireguard/templates/wireguard_show_server.html index 58cf7841e..4f886ccfb 100644 --- a/plinth/modules/wireguard/templates/wireguard_show_server.html +++ b/plinth/modules/wireguard/templates/wireguard_show_server.html @@ -40,6 +40,17 @@ {% trans "IP address of this machine:" %} {{ server.ip_address }} + + + {% trans "All outgoing traffic is sent using this connection:" %} + + {% if server.default_route %} + {% trans "Yes" %} + {% else %} + {% trans "No" %} + {% endif %} + +