danfruehauf / nagios-plugins

Nagios Plugins I maintain, currently only check_vpn and check_sql
GNU General Public License v2.0
29 stars 31 forks source link

L2TP connection always fails #22

Open YOUR1 opened 7 years ago

YOUR1 commented 7 years ago

Hello,

Im trying to setup a relative easy check. The VPN is working as it should, but when I try it with the check_vpn (check_vpn -t l2tp -H -u -p -- debug) script, it always says 'VPN (l2tp) connection failed to '': '''. Any idea what it could be?

YOUR1 commented 7 years ago

Maby it is because the server has configured a shared secret, is there anyway I can configure that?

danfruehauf commented 7 years ago

L2TP obviously has many configuration options. I'm trying to remember if I tried it with a shared secret. Can you please post your l2tpd configuration and I'll try to reproduce it? (Don't forget to strip sensitive information from it)