<?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[Add some more routes to OpenVPN exported profiles for Mac and Win]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">please excuse my total lack of knowledge for OpenVPN, I just started playing with it.</p>
<p dir="auto">I have a pfsense 2.0.2 firewall with 3 subnets and one openVPN subnet:</p>
<p dir="auto">LAN: 172.16.1.0/24<br />
Opt1: 192.168.190.0/24<br />
Opt2: 10.0.0.1/24<br />
VPN Network: 10.13.37.0/24</p>
<p dir="auto">What I would like is to include some additional OpenVPN parameters into the export wizard field so I can reach all these 4 subnets via VPN (thus adding routes to every subnet).</p>
<p dir="auto">I would like this to work for the exported viscosity bundle as well as the windows OpenVPN installers.</p>
<p dir="auto">When I click "route all traffic through this VPN" in Viscosity I can reach all networks, but I don't want all traffic through vpn, just routes for these networks.</p>
<p dir="auto">I played round with Viscosity and got this from the config:<br />
route 192.168.190.0 24 vpn_gateway default<br />
route 172.16.1.0 24 vpn_gateway default<br />
route 10.0.0.0 24 vpn_gateway default</p>
<p dir="auto">Does not work for the windows client.</p>
<p dir="auto">I googled some and adapted my settings for the Windows OpenVPN client:</p>
<p dir="auto">route add 172.16.1.0 mask 255.255.255.0 10.13.37.1 metric 1 -p<br />
route add 192.168.190.0 mask 255.255.255.0 10.13.37.1 metric 1 -p<br />
route add 10.0.0.0 mask 255.255.255.0 10.13.37.1 metric 1 -p</p>
<p dir="auto">This does not work on the Mac (also doesn't work on Windows).</p>
<p dir="auto">Could you please advise me on how to add these routes to the <em>Additional configuration options</em>? Thank you!</p>
]]></description><link>https://forum.netgate.com/topic/52954/add-some-more-routes-to-openvpn-exported-profiles-for-mac-and-win</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 11:05:00 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/52954.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Feb 2013 15:36:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Add some more routes to OpenVPN exported profiles for Mac and Win on Thu, 14 Feb 2013 08:18:24 GMT]]></title><description><![CDATA[<p dir="auto">Thank you so much! :)</p>
]]></description><link>https://forum.netgate.com/post/378970</link><guid isPermaLink="true">https://forum.netgate.com/post/378970</guid><dc:creator><![CDATA[p0ddie]]></dc:creator><pubDate>Thu, 14 Feb 2013 08:18:24 GMT</pubDate></item><item><title><![CDATA[Reply to Add some more routes to OpenVPN exported profiles for Mac and Win on Mon, 11 Feb 2013 19:27:09 GMT]]></title><description><![CDATA[<p dir="auto">You're overcomplicating things quite a bit.</p>
<p dir="auto">You can push from the server config as heper mentioned, or in the client config:</p>
<pre><code>route x.x.x.x y.y.y.y
</code></pre>
<p dir="auto">Where x.x.x.x is the IP/subnet, and y.y.y.y is the subnet mask.</p>
]]></description><link>https://forum.netgate.com/post/378368</link><guid isPermaLink="true">https://forum.netgate.com/post/378368</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Mon, 11 Feb 2013 19:27:09 GMT</pubDate></item><item><title><![CDATA[Reply to Add some more routes to OpenVPN exported profiles for Mac and Win on Mon, 11 Feb 2013 17:24:23 GMT]]></title><description><![CDATA[<p dir="auto">example:</p>
<pre><code>push "route 192.168.0.0 255.255.255.0" ;
</code></pre>
]]></description><link>https://forum.netgate.com/post/378350</link><guid isPermaLink="true">https://forum.netgate.com/post/378350</guid><dc:creator><![CDATA[heper]]></dc:creator><pubDate>Mon, 11 Feb 2013 17:24:23 GMT</pubDate></item></channel></rss>