You are not logged in.
Pages: 1
Hi all
I have installed openvpn following the wiki page and setup the dns resolve script in /usr/share/openvpn/
The problem is that I am getting the following error:
Sun Sep 18 11:41:23 2011 /usr/share/openvpn/update-resolv-conf tun0 1500 1542 172.21.21.20 255.255.255.0 init
Sun Sep 18 11:41:23 2011 WARNING: Failed running command (--up/--down): could not execute external programAny idea ?
Thanks,
Dekel
Last edited by dekela (2011-09-18 08:43:30)
Offline
Hi all
I have installed openvpn following the wiki page and setup the dns resolve script in /usr/share/openvpn/
The problem is that I am getting the following error:
Sun Sep 18 11:41:23 2011 /usr/share/openvpn/update-resolv-conf tun0 1500 1542 172.21.21.20 255.255.255.0 init Sun Sep 18 11:41:23 2011 WARNING: Failed running command (--up/--down): could not execute external programAny idea ?
Thanks,
Dekel
Are you running the command as root?
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
Yes I am.
It is called by openvpn.
I do sudo openvpn config.conf
Dekel
Offline
Does it have execute permissions? I am just guessing here. ![]()
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
Maybe this has something to do with
NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
? Just guessing too...
Offline
[dekela@arch-macbook ~]$ ls -al /usr/share/openvpn/
total 24
drwxr-xr-x 5 root root 4096 Sep 18 05:44 .
drwxr-xr-x 179 root root 4096 Sep 18 05:34 ..
drwxr-xr-x 5 root root 4096 Aug 13 20:31 contrib
drwxr-xr-x 2 root root 4096 Aug 13 20:31 easy-rsa
drwxr-xr-x 2 root root 4096 Aug 13 20:31 examples
-rwxr-xr-x 1 root root 1457 Sep 18 05:44 update-resolve-conf...
resolv-retry infinite
script-security 2
up /usr/share/openvpn/update-resolv-conf
down /usr/share/openvpn/update-resolv-confOffline
Pages: 1