Hello openvpn developers,

First of all, many thanks for such a great product.

I am wondering, is it possible to get something like "net6_gateway" parameter 
for pushing routes to client?

The problem is the following. I have a dual stack IPv4/IPv6 ethernet connection 
to my ISP. So I have native working IPv4 and IPv6.
I have a remote OpenVPN server and I would like to route all my IPv4 and IPv6 
traffic (except some networks) trough that OpenVPN.
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.

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? You may say, that "hey, dude, just do 2 server configs, one for IPv4 and one for IPv6", and I answer - no, I can't. Because at home I have dual stack IPv4/IPv6 network, and on Internet cafe or in a hotel I may not :(

So, any help would be appreciated, Many thanks.

streampp.

Reply via email to