router-ipv6-gateway option

This is where we can discuss what we would like to see added or changed in OpenVPN.
Post Reply
OpenVpn Newbie
Posts: 1
Joined: Fri Jun 30, 2017 11:00 pm

router-ipv6-gateway option

Post by mdavids » Fri Jun 30, 2017 11:12 pm

Now, I know that in TODO.IPv6 it has been decided there was no current need for the route-ipv6-gateway option.

But maybe there is a need after all?

Here is my scenario:

TAP with:
push "redirect-gateway ipv6 def1"

The IPv4 routes (0/1 and 128/1) are set properly on the client-side, but the IPv6 equivalents (2000::/4 etc) fail with error:

ROUTE6: OpenVPN needs a gateway parameter for a --route-ipv6 option and no default was specified by either --route-ipv6-gateway or --ifconfig-ipv6 options

I can't try 'ifconfig-ipv6' because it is TUN-related and can't try 'route-ipv6-gateway' because it doesn't exist (in OpenVPN 2.4). And trying 'route-ipv6' with a gateway also fails.

So I am stuck.

Now, I can probably fix this in my up/down scripts and set all the desired routes manually, but the 'route-ipv6-gateway'-option might make things easier. Especially because lots of IPv6 related code of the 'redirect-gateway'-option seems to be in place already.

What do you think?

Post Reply