aboutsummaryrefslogtreecommitdiff
path: root/netsec-assignment5-S4498062/exercise5/exercise5a/commands
diff options
context:
space:
mode:
Diffstat (limited to 'netsec-assignment5-S4498062/exercise5/exercise5a/commands')
-rw-r--r--netsec-assignment5-S4498062/exercise5/exercise5a/commands24
1 files changed, 24 insertions, 0 deletions
diff --git a/netsec-assignment5-S4498062/exercise5/exercise5a/commands b/netsec-assignment5-S4498062/exercise5/exercise5a/commands
new file mode 100644
index 0000000..607002c
--- /dev/null
+++ b/netsec-assignment5-S4498062/exercise5/exercise5a/commands
@@ -0,0 +1,24 @@
+As on https://openvpn.net/index.php/open-source/documentation/howto.html#pki,
+on the server:
+
+# cp -R /usr/share/doc/openvpn /etc/openvpn
+# cd /etc/openvpn/examples/easy-rsa/2.0
+# . ./vars
+# ./clean-all
+# ./build-ca
+# ./build-key-server server
+# ./build-key client
+# ./build-dh
+
+Then the client.crt, client.key and ca.crt I copied to the client.
+
+On the client I only had to edit client.conf.
+
+Then, on the server:
+
+# openvpn server.conf
+
+And on the client:
+
+# openvpn client.conf
+