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.
No Environment Variable: ifconfig_ipv6_pool_remote_ip
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN User
- Posts: 20
- Joined: Thu Nov 17, 2016 1:54 pm