error parsing IPv6 route

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
tommyj27
OpenVpn Newbie
Posts: 4
Joined: Mon Nov 08, 2010 6:56 pm

error parsing IPv6 route

Post by tommyj27 » Wed Feb 06, 2013 4:41 pm

I just installed the OpenVPN Connect application on my Jelly Bean-based tablet. I imported the configuration file that I use for all of my _traditional_ clients, but I get the following error on connect.

TUN Error: tun_builder_error: error parsing IPv6 route: [route-ipv6] [0::0/0] [<my v6 gateway>] : tun_builder_route_error: route destinations other than vpn_gateway or net_gateway are not supported

I am using version 1.1.9 (build 35) of the android client. I have used a non-official OpenVPN client w/o issue, though my understanding is that the official client is a new code base. My server config is as follows (redacted):

Code: Select all

daemon
dev tun
proto udp
port 1194

ca <file>
cert <file>
key <file>
dh <file>

server <my v4 subnet> 255.255.255.0
server-ipv6 <my v6 subnet>/64

route-ipv6 <a routed v6 subnet>/64
route <a routed v4 subnet> 255.255.255.0
push "route-ipv6 0::0/0 <my v6 gateway>"
topology subnet

mtu-test
tun-mtu 1415
client-to-client
client-config-dir /usr/local/etc/openvpn/ccd
status /var/log/openvpn-status.log 15
user nobody
group nobody
keepalive 10 60
A bit of clarification, this VPN provides dual-stack access to internal services, and a remote location. It also provides v6 Internet connectivity to clients, hence my pushing a default gateway for v6. Any advice would be appreciated.

User avatar
jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: error parsing IPv6 route

Post by jamesyonan » Wed Feb 20, 2013 6:41 pm

Mobile VPN APIs (such as Android and iOS) don't generally allow route destinations to be used other than the tunnel itself. Try removing <my v6 gateway> from the pushed route.

Post Reply