-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
64 lines (63 loc) · 1.71 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>{{title}}</title>
<style>
a {
color: seagreen;
}
.container {
background-color: cornsilk;
font-family: "Courier New", Courier, monospace;
}
@media only screen and (min-width: 768px) {
.container {
padding-left: 10%;
padding-right: 10%;
}
}
.title {
color: seagreen;
}
.button {
color: black;
text-decoration: none;
border: 2px dashed seagreen;
padding-top: 3px;
padding-bottom: 3px;
padding-left: 5px;
padding-right: 5px;
}
.button:hover {
border: 2px solid seagreen;
cursor: pointer;
}
.separator {
margin: 10px;
border-top: 2px solid;
}
.code {
background-color: lightgray;
padding: 2px;
border-radius: 5px;
}
</style>
</head>
<body class="container">
<h1 class="title">{{title}}</h1>
<div class="separator"></div>
<h3>Setup</h3>
<ol>
<li>Install <a href="https://www.wireguard.com/install/">WireGuard</a></li>
<li>Download your personal <a class="button" href="{{oauth_url}}">configuration</a> file (GitHub authentication required)
</ol>
<h3>VPN (de)activation:</h3>
<ul>
<li>To activate: <span class="code">sudo wg-quick up ./<i>your-config-file</i></span></li>
<li>To de-activate: <span class="code">sudo wg-quick down ./<i>your-config-file</i></span></li>
</ul>
</body>
</html>