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.
How to customize and extend your OpenVPN installation.
1 post • Page 1 of 1
- OpenVpn Newbie
- Posts: 19
- Joined: Thu Nov 17, 2016 1:54 pm