Problem with pushing routes via client configuration in iOS

Post Reply
sergey.martynov@gamenet.ru
OpenVpn Newbie
Posts: 1
Joined: Thu Sep 14, 2017 1:49 pm

Problem with pushing routes via client configuration in iOS

Post by sergey.martynov@gamenet.ru » Thu Sep 14, 2017 2:01 pm

Hello!
We using mikrotik openvpn server, and we trying push routes via client configuration file, like this sample:

push "route 192.168.5.0 255.255.255.0 192.168.7.1 1"
push "route 192.168.1.115 255.255.255.255 192.168.7.1 1"


Client successfully connects to server, vpn gateway is reachable, but routes does not work. In openvpn client log we see records like:

...skipped...
2 [route] [192.168.5.0] [255.255.255.0] [192.168.7.1]
3 [route] [192.168.1.115] [255.255.255.255] [192.168.7.1]]

...skipped...
Error parsing IPv4 route: [route] [192.168.5.0] [255.255.255.0] [192.168.7.1] : tun_prop_route_error: route destinations other than vpn_gateway or net_gateway are not supported
Error parsing IPv4 route: [route] [192.168.1.115] [255.255.255.255] [192.168.7.1] : tun_prop_route_error: route destinations other than vpn_gateway or net_gateway are not supported


What does it means?
Anybody knows how to fix this problem?

PS: tested on iOS versions 9.3.2, 10.3.3 and OpenVPN 1.1.1 build 212 (iOS 64-bit)

Thanks for you interest to my topic, with best regards, Sergey E. Martynov.

Post Reply