Route pushing not working for IOS clients

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
truckerboy
OpenVpn Newbie
Posts: 1
Joined: Thu Sep 09, 2021 10:04 pm

Route pushing not working for IOS clients

Post by truckerboy » Thu Sep 09, 2021 10:19 pm

When running OpenVPN client version 3.2.3 on iOS 14.6, pushing routes to the client to allow it to reach other private subnets behind the OpenVPN host is not working (host sees client IP as opposed to host IP).
Route pushing to Android clients works just fine.
My guess is IOS is unable to parse this line in OpenVPN server.conf:

push "route 10.8.0.0 255.255.255.0 10.8.0.1 1"

Anyone know how to make it work for both IOS and Android clients?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: Route pushing not working for IOS clients

Post by openvpn_inc » Mon Sep 20, 2021 7:09 am

Hello truckerboy,

On Android and iOS we have to go through the VPN API in the OS, which does not allow to specify alternate destination addresses.

You should use:
push "route 10.8.0.0 255.255.255.0"

Without specifying an alternate gateway address. And then ensure that your VPN server can reach the subnet you've just pushed.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply