by wintpe » Jan 10th, '20, 09:10
just for clarity, for those who still want to use netaplet
you dont need to split the ovpn files , this possibly came frome advise i gave previously.
just place the ovpn file in place of the file the mageia wizard creates in /etc/sysconfig/network-script/vpn/openvpn
but it must be a xxxxxx.conf file not a .ovpn file
and add a password.conf with your username on first line and password on second line to the same directory
and the add a line to the .ovpn file
auth-user-pass password.conf
this is for vpns that you dont wish to provide a prompt for, not good advise for those that give you access to a buisness or home.
and only if the ovpn file has a refrence to an external cert or ca file also include that in same directory.
im using this right now for both torguard and usenetserver openvpn with mga7
or even simpler for diagnostic purposes
openvpn file.ovpn as root.
it must be run as root if run on cli, both network manager and the kde aplet will do this for you if you use those.
if that brings up tun0 but you still cant connect, then disable and enable the firewall via mga control center security, including tun0 as the additional network device, and this must be done with tun0 is up. without the firewall step openvpn will start but never be able to pass traffic to the openvpn server you are connected to and as its now the default route all traffic will appear down except local.
ps the kde netaplet wont show new configs until you logout and login again, it picks them up on start up.
regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.