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 ?
OpenVPN v3.0.5(1503) log shows server-pushed options data too large
-
- OpenVpn Newbie
- Posts: 4
- Joined: Tue Dec 18, 2018 1:14 pm
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenVPN v3.0.5(1503) log shows server-pushed options data too large
You cannot consolidate routes?
-
- 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
Actually, these routes are consolidate already. 
The routes list is from this project
https://github.com/fivesheep/chnroutes/ ... ADME.en.md
That's why the routing table is soo large.

The routes list is from this project
https://github.com/fivesheep/chnroutes/ ... ADME.en.md
That's why the routing table is soo large.
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenVPN v3.0.5(1503) log shows server-pushed options data too large
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.

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.
-
- 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
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".
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".
-
- 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
I wish the Openvpn Team could see my request and fix/improve it 
