Browse Source

Adds more material to OpenVPN Layer 2 Server doc

Christopher Howard 6 years ago
parent
commit
11c2a6ad6b
1 changed files with 23 additions and 3 deletions
  1. 23 3
      docs/OpenVPN_Layer_2_Server.md

+ 23 - 3
docs/OpenVPN_Layer_2_Server.md

@@ -1,8 +1,10 @@
 # OpenVPN Layer 2 Server
 
-## Installing OpenVPN packages
+## Required packages
 
-TODO
+* openvpn-openssl
+* openvpn-easy-rsa
+* luci-app-openvpn
 
 ## Interface Setup
 
@@ -10,7 +12,19 @@ TODO
 
 ## Certificate and Key Setup Instructions
 
-TODO
+N.B.: The LEDE community rejected easy-rsa on the grounds that it does
+not crease secure enough certs.[1] But it does seem to be, well, easy to
+use:
+
+```
+cd /etc/easy-rsa
+source vars
+clean-all
+build-ca
+build-dh
+build-key-server myvpn
+openvpn --genkey --secret /etc/easy-rsa/keys/ta.key
+```
 
 ## Server configuration
 
@@ -59,3 +73,9 @@ config openvpn 'myvpn'
 ## Client setup information
 
 TODO
+
+## Footnotes
+
+[1] "OpenVPN Server",
+https://lede-project.org/docs/user-guide/openvpn.server?s[]=openvpn&s[]=server,
+retrieved 1 Jan 2017.