OpenVPN for iOS- tun_builder_error: route is not canonical
-
Hello!
I am building a new pfsense alix box for OpenVPN.
I use a connection with Viscosity, connects fine.
The same connection with iOS OpenVPN client i get:
2013-03-03 19:52:00 TUN Error: tun_builder_error: error parsing IPv4 route: [route] [172.16.1.1] [255.255.255.0] : tun_builder_error: route is not canonical
Notice that I use internal IPs, because I am building the box in my home, so my WAN is a DHCP address (different network) from my home router.
Best regards
Kostas
-
It's telling you that you are specifying the route incorrectly.
You've got 172.16.1.1/24 in there for a route (or 172.16.1.1 255.255.255.0 in a route statement) but the network address of a /24 is .0, not .1
So you really need 172.16.1.0/24 in the config.
-
Jimp to the rescue!
Thank you, that was it. I did not check it because computers were connecting fine.
Best regards
Kostas