No Environment Variable: ifconfig_ipv6_pool_remote_ip

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
SpudHead
OpenVPN User
Posts: 20
Joined: Thu Nov 17, 2016 1:54 pm

No Environment Variable: ifconfig_ipv6_pool_remote_ip

Post by SpudHead » Sun Jan 31, 2021 9:23 am

The environment variable ifconfig_pool_remote_ip is fine for getting the IPv4 pool IP assigned to a connecting client. But what about a pool assigned IPv6 address? How do I get that in a client-connect script?

Nevermind, since the v4 and v6 addresses given to clients are synchronized, I can work out the v6 address from the v4 with a bit of scripting.

Post Reply