Opened 2 years ago

Last modified 2 years ago

#1043 new Feature Wish

IPv6 addresses are not loaded with ifconfig-pool-persist file

Reported by: eshieldx Owned by:
Priority: major Milestone:
Component: Configuration Version: OpenVPN 2.4.5 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:



I've noticed a bug that specified ipv6 addresses for given clients are not loaded from file upon ovpn server start. So, there is no way to configure static IPv6 mappings for clients :(

In log file there is a string with "TODO: IPV6", but it seems like it's never been implemented.


Change History (4)

comment:1 Changed 2 years ago by Antonio

Type: Bug / DefectFeature Wish

yeah, apparently this is still not implemented.

You can alternatively use '--ifconfig-ipv6-push' in CCD files to push static IPv6 addresses to clients.

But patches are welcome :-)

comment:2 Changed 2 years ago by Gert Döring

Priority: trivialmajor

What ordex says - static IPv6 addresses can be assigned with ccd/ and ifconfig-ipv6-push (or using a client-connect script or plugin).

Due to the way the pool handling currently works, IPv6 addresses from the pool are tied to the IPv4 address - to fix this, one would need to write separate pool handling for IPv6. It will have to be done if we want to make OpenVPN work in an IPv6-only environment (*no* IPv4 inside the tunnel) but this is not a high priority item.

Certainly not "trivial", though.

comment:3 Changed 2 years ago by eshieldx

thanks for clarification, will try to play with ccd.

comment:4 Changed 2 years ago by Antonio

(both currently under review) should help with this. You can try testing these patches if interested.

Note: See TracTickets for help on using tickets.