I set up an openVPN server and it is functional from android devices and linux desktops. However I have a client that is able to connect using the my.ovpn
I provided from an android device but when he tries to use the mywindows.ovpn
from a Windows10 system he gets the following error.
Options error: --up script fails with
'/etc/openvpn/update-resolv-conf': No such process (errno=3)
Options error: Please correct this error.
Use --help for more information
The only difference between the my.ovpn
file and the mywindows.ovpn
file are that the lines
user nobody
group nogroup
are uncommented in my.ovpn
while they are commented in the mywindows.ovpn
like so:
#user nobody
#group nogroup
Is there any other change that I am forgetting to implement in the *.ovpn
files or do I have to set up extra configurations on the server side.
UPDATE
Here is a copy of contents in mywindows.ovpn
client
;dev tap
dev tun
;dev-node MyTap
;proto tcp
proto udp
remote myserver.com 1194
;remote my-server-2 1194
;remote-random
resolv-retry infinite
nobind
#user nobody
#group nogroup
persist-key
persist-tun
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]
;mute-replay-warnings
#ca ca.crt
#cert client.crt
#key client.key
remote-cert-tls server
;tls-auth ta.key 1
cipher AES-128-CBC
auth SHA256
key-direction 1
comp-lzo
verb 3
;mute 20
# script-security 2
# up /etc/openvpn/update-resolv-conf
# down /etc/openvpn/update-resolv-conf
<ca>
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----
</ca>
<cert>
...
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxxxxxxx
-----END PRIVATE KEY-----
</key>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-----END OpenVPN Static key V1-----
</tls-auth>