This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:ubuntu:openvpn [2019/01/21 12:57] – lunetikk | linux:ubuntu:openvpn [2019/10/28 12:54] – lunetikk | ||
---|---|---|---|
Line 168: | Line 168: | ||
Reload the "/ | Reload the "/ | ||
- | systemctl daemon-reload | + | < |
Restart the OpenVPN | Restart the OpenVPN | ||
Line 185: | Line 185: | ||
</ | </ | ||
- | ===== Raspbian 9 as client ===== | + | ===== Connecting a Raspbian 9 as client ===== |
Install the client | Install the client | ||
Line 193: | Line 193: | ||
</ | </ | ||
- | Copy the .ovpn file from your server to your client into / | + | Copy the .ovpn file from your server to your client into / |
Rename it to .conf, for example client.conf | Rename it to .conf, for example client.conf | ||
< | < | ||
Line 222: | Line 222: | ||
64 bytes from 10.8.0.1: icmp_seq=1 ttl=64 time=38.6 ms | 64 bytes from 10.8.0.1: icmp_seq=1 ttl=64 time=38.6 ms | ||
64 bytes from 10.8.0.1: icmp_seq=2 ttl=64 time=37.9 ms | 64 bytes from 10.8.0.1: icmp_seq=2 ttl=64 time=37.9 ms | ||
+ | </ | ||
+ | |||
+ | and with systemctl | ||
+ | < | ||
+ | # systemctl status [email protected] | ||
+ | ● [email protected] - OpenVPN connection to client | ||
+ | | ||
+ | | ||
+ | Docs: man: | ||
+ | | ||
+ | | ||
+ | Process: 1684 ExecStart=/ | ||
+ | Main PID: 1686 (openvpn) | ||
+ | | ||
+ | | ||
+ | |||
+ | Jan 21 12:56:40 raspbian ovpn-client[1686]: | ||
+ | Jan 21 12:56:40 raspbian ovpn-client[1686]: | ||
+ | Jan 21 12:56:40 raspbian ovpn-client[1686]: | ||
+ | Jan 21 12:56:40 raspbian ovpn-client[1686]: | ||
+ | Jan 21 12:56:40 raspbian ovpn-client[1686]: | ||
+ | Jan 21 12:56:40 raspbian ovpn-client[1686]: | ||
+ | Jan 21 12:56:40 raspbian ovpn-client[1686]: | ||
+ | Jan 21 12:56:40 raspbian ovpn-client[1686]: | ||
+ | Jan 21 12:56:40 raspbian ovpn-client[1686]: | ||
+ | Jan 21 12:56:40 raspbian ovpn-client[1686]: | ||
</ | </ |