OpenVPN v3.0.5(1503) log shows server-pushed options data too large

Post Reply
nice_fox
OpenVpn Newbie
Posts: 4
Joined: Tue Dec 18, 2018 1:14 pm

OpenVPN v3.0.5(1503) log shows server-pushed options data too large

Post by nice_fox » Tue Dec 18, 2018 1:31 pm

Hello, I have a very large routing table , and I wanna push the routes to my mobile phones. The routing table is around 8300 routes.
When I connect to the server, the log shows many "Options continuation...", and then shows "Client exception in transport_recv: option_error: server-pushed options data too large".

I just tested on iOS, same error log also. But on Windows, it works perfect ,just need some time to wait the routes to be added to the routing table.

Is there a chance to fix this ?

User avatar
Pippin
OpenVPN Expert
Posts: 439
Joined: Wed Jul 01, 2015 8:03 am

Re: OpenVPN v3.0.5(1503) log shows server-pushed options data too large

Post by Pippin » Tue Dec 18, 2018 1:55 pm

You cannot consolidate routes?

nice_fox
OpenVpn Newbie
Posts: 4
Joined: Tue Dec 18, 2018 1:14 pm

Re: OpenVPN v3.0.5(1503) log shows server-pushed options data too large

Post by nice_fox » Tue Dec 18, 2018 2:10 pm

Actually, these routes are consolidate already. :D

The routes list is from this project
https://github.com/fivesheep/chnroutes/ ... ADME.en.md

That's why the routing table is soo large.

User avatar
Pippin
OpenVPN Expert
Posts: 439
Joined: Wed Jul 01, 2015 8:03 am

Re: OpenVPN v3.0.5(1503) log shows server-pushed options data too large

Post by Pippin » Tue Dec 18, 2018 2:20 pm

The fix would be, call Apple, ask them to increase memory... ;)
Do those clients really need them all?
If not, maybe setup client specific configuration (ccd) is a better approach...?

Setting so many routes will probably make such device unusable but that's just my guess.

nice_fox
OpenVpn Newbie
Posts: 4
Joined: Tue Dec 18, 2018 1:14 pm

Re: OpenVPN v3.0.5(1503) log shows server-pushed options data too large

Post by nice_fox » Tue Dec 18, 2018 2:25 pm

I alreay set those routes at ccd per client config, for ex:

ifconfig-push 10.168.250.2 255.255.255.0
push 'block-outside-dns'
push "route 1.0.1.0 255.255.255.0 net_gateway"
push "route 1.0.2.0 255.255.254.0 net_gateway"
push "route 1.0.8.0 255.255.248.0 net_gateway"
push "route 1.0.32.0 255.255.224.0 net_gateway"
push "route 1.1.0.0 255.255.255.0 net_gateway"
push "route 1.1.2.0 255.255.254.0 net_gateway"
push "route 1.1.4.0 255.255.252.0 net_gateway"
push "route 1.1.8.0 255.255.255.0 net_gateway"
push "route 1.1.9.0 255.255.255.0 net_gateway"
push "route 1.1.10.0 255.255.254.0 net_gateway"
push "route 1.1.12.0 255.255.252.0 net_gateway"
push "route 1.1.16.0 255.255.240.0 net_gateway"
.
.
.
.
.
and so on....because so many "push route", so i got the error "Client exception in transport_recv: option_error: server-pushed options data too large".

nice_fox
OpenVpn Newbie
Posts: 4
Joined: Tue Dec 18, 2018 1:14 pm

Re: OpenVPN v3.0.5(1503) log shows server-pushed options data too large

Post by nice_fox » Tue Dec 18, 2018 4:46 pm

I wish the Openvpn Team could see my request and fix/improve it ;)

Post Reply