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:37] – [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 | ||
</ | </ | ||