I run a bunch of openvpn servers from a gentoo fw, for a large amount of different configurations.
I also run a central syslog server.
I have this in each server config:
Code: Select all
script-security 3
client-connect "/usr/local/bin/vpn ais CONNECT"
client-disconnect "/usr/local/bin/vpn ais DISCONNECTED"
Code: Select all
logger -n rex -P 999 -t VPNx[${1}${action}${action}] -- ${action}${rhostname} ${ifconfig_pool_remote_ip}" ("${trusted_ip}/${proto}")" ${signal} ${time_duration};;
Nothing in $proto in both lines (first is a disconnect, last a connect), $signal also empty on disconnect.20160215 114423 fw2 VPNx[ais--] 20º aisl.ais.vpn.region.ou 10.21.9.36 (1**.*0.4*.*9*/) 1797
20160215 114425 fw2 VPNx[ais++] 20º aisl.ais.vpn.region.ou 10.21.9.36 (1**.*0.4*.*9*/)
Any hint as to why? man page doesn't seem very clear to me over if this is somehow scoped.
Many thanks.