From 5667cc3df79242093f6fe56521785b7b28b45005 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 13 Oct 2015 20:59:20 +0200 Subject: Assignment 5 --- .../exercise5/exercise5a/commands | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 netsec-assignment5-S4498062/exercise5/exercise5a/commands (limited to 'netsec-assignment5-S4498062/exercise5/exercise5a/commands') 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 + -- cgit v1.2.3