ipv6 route outside tunnel

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Clodo
OpenVPN User
Posts: 37
Joined: Mon Oct 10, 2011 11:25 pm

ipv6 route outside tunnel

Post by Clodo » Tue Jun 20, 2017 1:40 pm

In IPv4 i can use

Code: Select all

route 8.8.8.8 255.255.255.255 net_gateway
what is the equivalent for IPv6?
Using

Code: Select all

route-ipv6 2001:4860:4860::8888/128 net_gateway
throw

Code: Select all

OpenVPNROUTE6: cannot parse gateway spec 'net_gateway'
I'm missing something or is a missing implementation? Thanks.

(Edit: sorry, forum mistake, any mod can move under 'configuration' subforum? thx, sorry again)

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: ipv6 route outside tunnel

Post by TinCanTech » Tue Jun 20, 2017 5:25 pm

Try

Code: Select all

$net_gateway_ipv6
and let me know if it works :)

Post Reply