Could somebody help me please?
I configured OpenVPN on ASUS N66U vith Shibby (Tomato v1.28.0000 MIPSR2-114 K26 USB VPN-64K)
VPN works fine unless I add user/password verification in custom config.
I have already read about permission "chmod 777 testo.sh" and about adding "system" backward capability parameter. All was in vain.
The test code is simple:
#!/bin/sh #logger "User [$1] , password [$2]" exit 0
It logs my parameters when executed from command line, however, I always get
"WARNING: Failed running command (—auth-user-pass-verify): could not execute external program"
when OpenVPN daemon calls it.
My VPN server configuration:
# Automatically generated configuration daemon server 10.8.0.0 255.255.255.0 proto udp port 1194 dev tun21 cipher AES-256-CBC comp-lzo adaptive keepalive 15 60 verb 3 push "route 192.168.0.0 255.255.255.0" client-config-dir ccd client-to-client ca ca.crt dh dh.pem cert server.crt key server.key status-version 2 status status # Custom Configuration verb 5 script-security 3 system auth-user-pass-verify /tmp/etc/test0.sh via-env
I appreciate any help.