tips:vpn:openvpn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:vpn:openvpn [2016/10/17 16:28] – [Linux server] scipiotips:vpn:openvpn [2018/06/14 17:54] (current) – [Linux client] scipio
Line 44: Line 44:
 import file=server.pem import file=server.pem
 import file=ca.crt import file=ca.crt
 +</code>
 +
 +<del>Simplier method</del>
 +<code bash>
 +openssl genrsa -des3 -out ca.key 4096
 +
 +# specify dns name of mikrotik server in common name
 +openssl req -new -x509 -days 3650 -key ca.key -out ca.crt
 +
 +# now import in mikrotik ca.crt and after ca.key
 </code> </code>
  
Line 143: Line 153:
 <code> <code>
 systemctl start openvpn@client1 systemctl start openvpn@client1
 +systemctl enable openvpn@client1
 </code> </code>
  
Line 209: Line 220:
  
 </file> </file>
 +
 +===== Mikrotik client =====
 +
 +Import certificates
 +<code>
 +import file-name=ca.crt
 +import file-name=galileo.crt
 +import file-name=galileo.pem
 +</code>
 +
  
 ===== LXD ===== ===== LXD =====
  • tips/vpn/openvpn.1476714484.txt.gz
  • Last modified: 2016/10/17 16:28
  • by scipio