Forked from shaoran/gist:1db4ed8bba8bc054cd31e2ea05a668d1
Created
January 16, 2023 14:43
-
-
Save rwp0/f89f64fc498b81fce1011ff0cc4e28d7 to your computer and use it in GitHub Desktop.
NetworkManager tls-cipher=DEFAULT:@SECLEVEL=0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Client configs, 16.04, | |
script-security 2 | |
up /etc/openvpn/update-resolv-conf | |
down /etc/openvpn/update-resolv-conf | |
# network manager, 16.04, install below package to enable import openvpn client configs | |
sudo apt install network-manager-openvpn-gnome | |
# Client configs, 18.04/18.10 | |
# nm-connection-editor can help with adding option below | |
script-security 2 | |
up /etc/openvpn/update-systemd-resolved | |
down /etc/openvpn/update-systemd-resolved | |
## if you have the error: cert too weak (OpenSSL: error:140AB18E:SSL routines:SSL_CTX_use_certificate:ca md too weak) | |
## add to client config | |
tls-cipher "DEFAULT:@SECLEVEL=0" | |
# network manager, 18.04, install below package to enable import openvpn client configs | |
sudo apt install network-manager-openvpn-gnome | |
# to work around the cert too weak issue in network manager imported openvpn configs | |
# under the [vpn] section in `/etc/NetworkManager/system-connections/<connection name>` add the line: | |
tls-cipher=DEFAULT:@SECLEVEL=0 | |
# if need additonal domains not specified by the dhcp push | |
domain-search=<domain1>;<domain2>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment