You are not logged in.

#1 2015-01-07 09:01:40

Dragavnir
Member
From: Brest, France
Registered: 2015-01-07
Posts: 6
Website

/etc/openvpn/update-resolv-conf': No such file or directory

Hi,

First, sorry if this isn't the right section. I was quite hesitant on which one to post in.
I was using OpenVPN a few months ago, it was working great. I left it aside during a moment because I didn't need it.
Recently, I tried to connect to the VPN server I used to use (a friend's server, which is still up and running, I can connect with no problem on my Windows session with openvpn-gui), but I was getting this error each time I tried to connect.

Here's my command line with the error:

[brendan@Archisen openvpn]$ openvpn --config client.conf
Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory
Options error: Please correct this error.
Use --help for more information.
[brendan@Archisen openvpn]$ 

client.conf

# Client
client
dev tun
proto tcp
remote 62.210.207.73 443
resolv-retry infinite
cipher AES-256-CBC
# Cles
ca ca.crt
cert brendan.crt
key brendan.key
tls-auth ta.key 1
# Securite
nobind
persist-key
persist-tun
comp-lzo
verb 3
script-security 3 system
up /etc/openvpn/update-resolv-conf

If I remove the "up /etc/openvpn/update-resolv-conf" line, OpenVPN doesn't output any error, but I can barely resolve any domain name.

Do you have an idea on how to fix this?

Thanks.

Offline

Board footer

Powered by FluxBB