Skip to contentSkip to conversation

How to get destination IP address in UDP mode

Openvpn-devel Roman Vasilyev 1 participant 1 message Jun 17, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

my company using openvpn and we have more than 10 IP addresses on interface cards. And we accepting connections on all this interfaces. But we need to have statistics how much connections we have on IP address. In case of "local 0.0.0.0" I'm getting on connection string $local_1 "0.0.0.0", in case of default value I'm just not getting anything on input.

My question is: "How to get IP address to which was connection established in case of 'local 0.0.0.0' udp mode?"

Regards.