Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tips:vpn:openvpn [2016/10/17 16:28] – [Linux server] scipio | tips: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 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 | ||
| </ | </ | ||
| Line 143: | Line 153: | ||
| < | < | ||
| systemctl start openvpn@client1 | systemctl start openvpn@client1 | ||
| + | systemctl enable openvpn@client1 | ||
| </ | </ | ||
| Line 209: | Line 220: | ||
| </ | </ | ||
| + | |||
| + | ===== Mikrotik client ===== | ||
| + | |||
| + | Import certificates | ||
| + | < | ||
| + | import file-name=ca.crt | ||
| + | import file-name=galileo.crt | ||
| + | import file-name=galileo.pem | ||
| + | </ | ||
| + | |||
| ===== LXD ===== | ===== LXD ===== | ||