Opened 6 years ago

Closed 4 years ago

#808 closed Feature Wish (fixed)

ifconfig-push-ipv6 should behave like ifconfig-push (DNS names)

Reported by: Obbi Owned by: Gert Döring
Priority: minor Milestone: release 2.5
Component: IPv6 Version: OpenVPN 2.4.0 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: ifconfig, ipv6, push


Since ifconfig-push allows the use of dns names that will be resolved by the server and then pushed to the client, it should be possible to do the same with ipv6. Otherwise the dns names for client adresses in the custom client configs is semi useless.

p.ex. one might want to use:
ifconfig-push # maybe even change to /24 to be more consistent with below...
ifconfig-ipv6-push /64

It is useful cause it allows address changes by changing dns zones which will have to be done either way when using dns names in the first place.

Another reason is consistency in my opinion ipv6 specific config options should behave as their counterparts (where possible)

It looks like the resolver part needs to go somewhere in between there:

Since I'm not familiar with the ovpn source I'm not sure if there are routines/helper for resolving ipv6 addresses so before considering implementing this I thought I get some ideas/feedback first.

Change History (4)

comment:1 Changed 6 years ago by Gert Döring

Milestone: release 2.5
Owner: set to Gert Döring
Status: newaccepted

I wasn't aware --ifconfig-push could be used in this manner when implementing --ifconfig-ipv6-push so I only did "addresses". But you're right, this certainly is a useful feature.

I'll take this, but I'm not making promises on delivery. It's likely that this won't make a 2.4.x release either if it's too intrusive - but we hope to have a 2.5.0 in less than the 3 years time 2.3->2.4 took us...

comment:2 Changed 6 years ago by Antonio Quartulli

I have just sent a patch implementing this (missing) feature to the mailing list.
Subject is "[PATCH] ifconfig-ipv6(-push): allow using hostnames" and it is based on current master.

Anybody willing to perform more tests is more than welcome!

comment:3 Changed 6 years ago by Antonio Quartulli

Note: support for "xxxx/bits" is still work in progress :)

comment:4 Changed 4 years ago by Antonio Quartulli

Resolution: fixed
Status: acceptedclosed

The patch introducing support for hostnames in ifconfig-ipv6* has finally been merged.
Next releases will have this feature.

I am closing this.

Note: See TracTickets for help on using tickets.