View Single Post
Posts: 43 | Thanked: 18 times | Joined on Jul 2010
#15
Originally Posted by rainisto View Post
change exec to aegis-exec, otherwise it doesn't inherit the privileges. Things are ofcourse easier if you install the package to some real origin.

vpnc --script 'aegis-exec /opt/vpn9c/bin/vpnc-script' --local-port 0


With proper manifest you don't need even add --local-port
Well, I've just installed vpn9c, and now I'm trying to get it to work.
and this is the error I get now:
ifconfig: SIOCSIFADDR: Permission denied
RTNETLINK answers: Operation not permitted
RTNETLINK answers: Operation not permitted
route: SIOCADDRT: Operation not permitted
/opt/vpn9c/bin/vpnc-script: line 259: can't create /var/run/resolv.conf: Permission denied
sh: can't kill pid 670: Operation not permitted
VPNC started in background (pid: 3651)...

vpnc is working in the background, but it's not doing anything; I don't have vpnc connection active.

EDIT: if I add aegis-exec in fornt of the ./vpnc, I get:
./vpnc: can't initialise tunnel interface: Operation not permitted

Thanks for all the help, I hope I'll get it to work somehow.

Last edited by ivanrajkovic; 2012-08-15 at 20:02.