meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:openvpn [2020/03/13 13:14] – [Installation] niziak | linux:openvpn [2020/10/19 15:53] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== OpenVPN ====== | ||
+ | |||
====== Installation ====== | ====== Installation ====== | ||
* Put client configuration into ''/ | * Put client configuration into ''/ | ||
Line 6: | Line 8: | ||
systemctl enable openvpn-client@config-name | systemctl enable openvpn-client@config-name | ||
</ | </ | ||
+ | |||
+ | NOTE: `openvpn-client@` service doesn' | ||
+ | The result of failed openvpn daemon looks like: | ||
+ | <code bash> | ||
+ | systemctl status openvpn-client@config-name | ||
+ | ... | ||
+ | | ||
+ | Docs: man: | ||
+ | | ||
+ | | ||
+ | Main PID: 19630 (code=exited, | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | To make sure your VPN is running: | ||
+ | <code bash> | ||
+ | |||
+ | and enter following config: | ||
+ | |||
+ | < | ||
+ | [Service] | ||
+ | Restart=always | ||
+ | RestartSec=300 | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
===== issue ===== | ===== issue ===== | ||
Line 126: | Line 154: | ||
MinProtocol = TLSv1 | MinProtocol = TLSv1 | ||
</ | </ | ||
+ | |||
+ | **Error**: File transfer stuck | ||
+ | **Cause**: File transfer are using maximum packet size, which probably cannot fit to MTU limitataions | ||
+ | **Solution**: | ||
+ | < | ||
+ | # On one side of connection | ||
+ | mssfix 1400 | ||
+ | |||
+ | # MTU on tunX interface | ||
+ | # has to be set on both sides | ||
+ | tun-mtu 1400 | ||
+ | </ | ||
+ | |||
+ | More: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
====== rsyslog ====== | ====== rsyslog ====== | ||
<file txt / | <file txt / |