I'm new to FreeBSD and am trying to connect to Mullvad VPN using OpenVPN.
When running 'sudo openvpn --config <mullvad config>', I get as an error:
Permissions for the files and folders (/usr/local/etc/openvpn/):
In the Mullvad config file I changed the location of the script:
How can I get better error messaging to debug this? Does anyone had similar issues? Also, is there an easier option to connect to a vpn on FreeBSD?
Thanks heaps!
When running 'sudo openvpn --config <mullvad config>', I get as an error:
Code:
2021-04-20 22:26:00 us=458140 /usr/local/etc/openvpn/update-resolv-conf tun0 1
500 1552 10.15.0.7 255.255.0.0 init
2021-04-20 22:26:00 us=459080 WARNING: Failed running command (--up/--down): c
ould not execute external program
2021-04-20 22:26:00 us=459103 Exiting due to fatal error
Permissions for the files and folders (/usr/local/etc/openvpn/):
Code:
drwxr-xr-x 2 root wheel 7B Apr 20 22:25 .
drwxr-xr-x 39 root wheel 69B Apr 20 20:57 ..
-rw-r--r-- 1 root wheel 982B Apr 20 22:25 mullvad_XX_all.conf
-rw-r--r-- 1 root wheel 2.1K Apr 20 20:26 mullvad_ca.crt
-rw-r--r-- 1 root wheel 19B Apr 20 20:26 mullvad_userpass.txt
-rwxrwxrwx 1 root wheel 1.3K Apr 20 22:21 update-resolv-conf
In the Mullvad config file I changed the location of the script:
- from '/etc/openvpn/update-resolv-conf'
- to '/usr/local/etc/openvpn/update-resolv-conf'
How can I get better error messaging to debug this? Does anyone had similar issues? Also, is there an easier option to connect to a vpn on FreeBSD?
Thanks heaps!