he guys
before i open a ticket i recheck here that i havnt done something wrong
when i i add
if [ "$common_name" == "the common name" ]
then echo $common_name >> /var/log/messages
fi
exit 0
to the client connect script and try to connect with an client the client dies like so:
DD-WRT Client
- ...Dec 4 09:50:19 Home daemon.notice openvpn[19230]: [vpn-router] Peer Connection Initiated with [AF_INET]80.128.xxx.xxx:1194
Dec 4 09:50:21 Home daemon.notice openvpn[19230]: SENT CONTROL [vpn-router]: 'PUSH_REQUEST' (status=1)
Dec 4 09:50:21 Home daemon.notice openvpn[19230]: AUTH: Received control message: AUTH_FAILED
Dec 4 09:50:21 Home daemon.notice openvpn[19230]: SIGTERM[soft,auth-failure] received, process exiting
...
MBP:
- Dec 4 09:52:52 MacBookPro nm-openvpn[25795]: [vpn-router] Peer Connection Initiated with [AF_INET]80.128.xxx.xxx:1194
Dec 4 09:52:54 MacBookPro nm-openvpn[25795]: AUTH: Received control message: AUTH_FAILED
Dec 4 09:52:54 MacBookPro nm-openvpn[25795]: SIGTERM[soft,auth-failure] received, process exiting
when i remove the client connect script everything is ok again. i cant get why this causes this error and why the client dies insted of getting only disconnected.
imho there should be an error message in the logs that the script causes an error when the script cant be called correctly, but let the client connect....and thats it.
any suggestions?