aboutsummaryrefslogtreecommitdiff
path: root/central/src/main/resources/manage/showconf.ftlh
diff options
context:
space:
mode:
Diffstat (limited to 'central/src/main/resources/manage/showconf.ftlh')
-rw-r--r--central/src/main/resources/manage/showconf.ftlh21
1 files changed, 21 insertions, 0 deletions
diff --git a/central/src/main/resources/manage/showconf.ftlh b/central/src/main/resources/manage/showconf.ftlh
new file mode 100644
index 0000000..5c5f24d
--- /dev/null
+++ b/central/src/main/resources/manage/showconf.ftlh
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Peering Configuration</title>
+</head>
+<body>
+<h1>Peering Configuration</h1>
+<p>Here are the information needed for you to setup:</p>
+<ul>
+ <li>WireGuard Endpoint: ${endpoint}:${wgPort}</li>
+ <li>dn42 IPv4 Address: ${ipv4}</li>
+ <li>dn42 IPv6 Address: ${ipv6}</li>
+ <li>ASN: ${asn}</li>
+ <li>WireGuard Public Key: ${wgSelfPubkey}</li>
+ <li>WireGuard Preshared Secret: ${wgPresharedSecret}</li>
+ <li>MP-BGP: ${mpbgp?string('Yes', 'No')}</li>
+</ul>
+<a href="/manage">Back</a>
+</body>
+</html> \ No newline at end of file