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?
Route pushing not working for IOS clients
-
- OpenVpn Newbie
- Posts: 1
- Joined: Thu Sep 09, 2021 10:04 pm
- openvpn_inc
- OpenVPN Inc.
- Posts: 1333
- Joined: Tue Feb 16, 2021 10:41 am
Re: Route pushing not working for IOS clients
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
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
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
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