Hi, On Sat, Jul 16, 2016 at 08:45:03PM +0300, streampp wrote: > I'm connecting to my remote OpenVPN server via IPv4. On openvpn-server.conf I > have something like: > > push "route 10.0.0.0 255.0.0.0 net_gateway" > push "route 172.16.0.0 255.240.0.0 net_gateway" > push "route 192.168.0.0 255.255.0.0 net_gateway" > > with works perfect and my IPv4 gateway replaces "net_gateway" parameter, so > with IPv4 everything is fine.
"why"?
> But... I want same thing for IPv6:
>
> push "route-ipv6 fc00::/64 net_gateway" and that is not working, because
> net_gateway represents IPv4 gateway...
>
> Can you do something like "net6_gateway" variable for such cases?
By excluding that range (push "route-ipv6 2000::/3" instead of ::/0)
you can achieve the same effect - fc00:: will go to your existing
net_gateway.
But it still doesn't make very much sense to me why you want to exclude
private ranges from the tunnel - why not just route everything?
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
signature.asc
Description: PGP signature
