<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error while saving OpenVPN Routes]]></title><description><![CDATA[<p dir="auto">I have a use case where I have 19 push routes into an OpenVPN configuration, when I save the configuration everything works without a problem, but If I reset the OpenVPN service, pfsense stores the routes all in the same line and OpenVPN is not able to start and throws the next error:</p>
<p dir="auto"><strong>Options error: In /var/etc/openvpn/server1/config.ovpn:41: Maximum option line length (256) exceeded, line starts with push "route 10.....</strong></p>
<p dir="auto"><strong>Config OK:</strong><br />
<img src="/assets/uploads/files/1713869108017-b9e5aa3c-4f65-4c38-89fe-f5f813fe4060-image.png" alt="b9e5aa3c-4f65-4c38-89fe-f5f813fe4060-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>Config after service restart:</strong><br />
<img src="/assets/uploads/files/1713869130107-2183c9de-5c49-4c2c-a6b1-46b19308a6dc-image.png" alt="2183c9de-5c49-4c2c-a6b1-46b19308a6dc-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Has anyone had the same error in the past?</p>
<p dir="auto">is there any workaround?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.netgate.com/topic/187607/error-while-saving-openvpn-routes</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 15:09:41 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/187607.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Apr 2024 10:45:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error while saving OpenVPN Routes on Tue, 23 Apr 2024 16:49:23 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/viragomann">@<bdi>viragomann</bdi></a> that works perfect</p>
]]></description><link>https://forum.netgate.com/post/1164368</link><guid isPermaLink="true">https://forum.netgate.com/post/1164368</guid><dc:creator><![CDATA[ahdzesq_vfru]]></dc:creator><pubDate>Tue, 23 Apr 2024 16:49:23 GMT</pubDate></item><item><title><![CDATA[Reply to Error while saving OpenVPN Routes on Tue, 23 Apr 2024 11:44:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ahdzesq_vfru">@<bdi>ahdzesq_vfru</bdi></a><br />
The pfSense GUI provides the "Local IPv4 Network/s" box for entering routes to be pushed to the server. You have to use CIDR notation for the subnets and separate them by commas.<br />
You should rather use this box than entering all in the custom options.</p>
<p dir="auto">For stating custom options though, remember to separate them by semi-colons.</p>
]]></description><link>https://forum.netgate.com/post/1164269</link><guid isPermaLink="true">https://forum.netgate.com/post/1164269</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Tue, 23 Apr 2024 11:44:46 GMT</pubDate></item></channel></rss>