<?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[OpenVPN: connecting to LAN subnet]]></title><description><![CDATA[<p dir="auto">Hey Folks,</p>
<p dir="auto">I have built an ESXi box and am running Pfsense as a virtual machine (among others). I followed many guides on setting up OpenVPN and I can connect remotely. However, I cannot reach any LAN resources other than the pfsense router itself. The LAN is on the 10.0.0.0/24 subnet and the OpenVPN connections are on the 10.0.10.0/24 subnet. From a remotely connected client I can ping 10.0.0.1 (pfsense) with an IP of 10.0.10.6 but I can't ping any of my other servers on the 10.0.0.0 subnet.</p>
<p dir="auto">Is there anything I should check?<br />
Thanks.</p>
]]></description><link>https://forum.netgate.com/topic/46565/openvpn-connecting-to-lan-subnet</link><generator>RSS for Node</generator><lastBuildDate>Thu, 19 Nov 2026 05:00:35 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/46565.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Jul 2012 21:33:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Fri, 06 Jul 2012 14:45:34 GMT]]></title><description><![CDATA[<p dir="auto">This line looks like a problem:</p>
<pre><code>10.0.0.0        255.0.0.0         On-link          10.0.0.9    266
</code></pre>
<p dir="auto">Your 10.0.0.9 interface (on your server, if I understood the descriptions correctly) is thinking that it is sitting on a 10.0.0.0/8 network. So when it replies to any 10.n.n.n addresses, it will think it can reach them directly on its local LAN. It should be in the 10.0.0.0/24 network. Then it will send packets for 10.0.10.0/24 network addresses to the router.</p>
]]></description><link>https://forum.netgate.com/post/345733</link><guid isPermaLink="true">https://forum.netgate.com/post/345733</guid><dc:creator><![CDATA[phil.davis]]></dc:creator><pubDate>Fri, 06 Jul 2012 14:45:34 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Fri, 06 Jul 2012 13:18:49 GMT]]></title><description><![CDATA[<p dir="auto">Please post your tunnel settings.  Are you routed or bridged?</p>
]]></description><link>https://forum.netgate.com/post/345722</link><guid isPermaLink="true">https://forum.netgate.com/post/345722</guid><dc:creator><![CDATA[marvosa]]></dc:creator><pubDate>Fri, 06 Jul 2012 13:18:49 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Thu, 05 Jul 2012 13:47:10 GMT]]></title><description><![CDATA[<p dir="auto">This is after OpenVPN client is connected:</p>
<h1><a class="anchor-offset" name="ipv4-route-table"></a>IPv4 Route Table</h1>
<h1><a class="anchor-offset" name="active-routes-br-network-destination-netmask-gateway-interface-metric-br-0.0.0.0-0.0.0.0-10.0.0.1-10.0.0.9-266-br-10.0.0.0-255.0.0.0-on-link-10.0.0.9-266-br-10.0.0.0-255.255.255.0-10.0.10.5-10.0.10.6-30-br-10.0.0.9-255.255.255.255-on-link-10.0.0.9-266-br-10.0.10.1-255.255.255.255-10.0.10.5-10.0.10.6-30-br-10.0.10.4-255.255.255.252-on-link-10.0.10.6-286-br-10.0.10.6-255.255.255.255-on-link-10.0.10.6-286-br-10.0.10.7-255.255.255.255-on-link-10.0.10.6-286-br-10.255.255.255-255.255.255.255-on-link-10.0.0.9-266-br-127.0.0.0-255.0.0.0-on-link-127.0.0.1-306-br-127.0.0.1-255.255.255.255-on-link-127.0.0.1-306-br-127.255.255.255-255.255.255.255-on-link-127.0.0.1-306-br-224.0.0.0-240.0.0.0-on-link-127.0.0.1-306-br-224.0.0.0-240.0.0.0-on-link-10.0.10.6-286-br-224.0.0.0-240.0.0.0-on-link-10.0.0.9-266-br-255.255.255.255-255.255.255.255-on-link-127.0.0.1-306-br-255.255.255.255-255.255.255.255-on-link-10.0.10.6-286-br-255.255.255.255-255.255.255.255-on-link-10.0.0.9-266"></a>Active Routes:<br />
Network Destination        Netmask          Gateway      Interface  Metric<br />
          0.0.0.0          0.0.0.0        10.0.0.1        10.0.0.9    266<br />
        10.0.0.0        255.0.0.0        On-link          10.0.0.9    266<br />
        10.0.0.0    255.255.255.0        10.0.10.5        10.0.10.6    30<br />
        10.0.0.9  255.255.255.255        On-link          10.0.0.9    266<br />
        10.0.10.1  255.255.255.255        10.0.10.5        10.0.10.6    30<br />
        10.0.10.4  255.255.255.252        On-link        10.0.10.6    286<br />
        10.0.10.6  255.255.255.255        On-link        10.0.10.6    286<br />
        10.0.10.7  255.255.255.255        On-link        10.0.10.6    286<br />
  10.255.255.255  255.255.255.255        On-link          10.0.0.9    266<br />
        127.0.0.0        255.0.0.0        On-link        127.0.0.1    306<br />
        127.0.0.1  255.255.255.255        On-link        127.0.0.1    306<br />
  127.255.255.255  255.255.255.255        On-link        127.0.0.1    306<br />
        224.0.0.0        240.0.0.0        On-link        127.0.0.1    306<br />
        224.0.0.0        240.0.0.0        On-link        10.0.10.6    286<br />
        224.0.0.0        240.0.0.0        On-link          10.0.0.9    266<br />
  255.255.255.255  255.255.255.255        On-link        127.0.0.1    306<br />
  255.255.255.255  255.255.255.255        On-link        10.0.10.6    286<br />
  255.255.255.255  255.255.255.255        On-link          10.0.0.9    266</h1>
<h1><a class="anchor-offset" name="persistent-routes-br-network-address-netmask-gateway-address-metric-br-0.0.0.0-0.0.0.0-10.0.0.1-default"></a>Persistent Routes:<br />
  Network Address          Netmask  Gateway Address  Metric<br />
          0.0.0.0          0.0.0.0        10.0.0.1  Default</h1>
]]></description><link>https://forum.netgate.com/post/345601</link><guid isPermaLink="true">https://forum.netgate.com/post/345601</guid><dc:creator><![CDATA[KM]]></dc:creator><pubDate>Thu, 05 Jul 2012 13:47:10 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Thu, 05 Jul 2012 13:42:24 GMT]]></title><description><![CDATA[<p dir="auto">This is after a reboot of the machine. The route is gone because I didn't add it as persistent. The default gateway is set as 10.0.0.1 on this machine in the adapter config settings.</p>
<blockquote>
<p dir="auto">route print<br />
IPv4 Route Table<br />
===========================================================================<br />
Active Routes:<br />
Network Destination        Netmask          Gateway      Interface  Metric<br />
          0.0.0.0          0.0.0.0        10.0.0.1        10.0.0.9    266<br />
        10.0.0.0        255.0.0.0        On-link          10.0.0.9    266<br />
        10.0.0.9  255.255.255.255        On-link          10.0.0.9    266<br />
  10.255.255.255  255.255.255.255        On-link          10.0.0.9    266<br />
        127.0.0.0        255.0.0.0        On-link        127.0.0.1    306<br />
        127.0.0.1  255.255.255.255        On-link        127.0.0.1    306<br />
  127.255.255.255  255.255.255.255        On-link        127.0.0.1    306<br />
        224.0.0.0        240.0.0.0        On-link        127.0.0.1    306<br />
        224.0.0.0        240.0.0.0        On-link          10.0.0.9    266<br />
  255.255.255.255  255.255.255.255        On-link        127.0.0.1    306<br />
  255.255.255.255  255.255.255.255        On-link          10.0.0.9    266<br />
===========================================================================<br />
Persistent Routes:<br />
  Network Address          Netmask  Gateway Address  Metric<br />
          0.0.0.0          0.0.0.0        10.0.0.1  Default<br />
===========================================================================</p>
</blockquote>
]]></description><link>https://forum.netgate.com/post/345598</link><guid isPermaLink="true">https://forum.netgate.com/post/345598</guid><dc:creator><![CDATA[KM]]></dc:creator><pubDate>Thu, 05 Jul 2012 13:42:24 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Thu, 05 Jul 2012 11:11:54 GMT]]></title><description><![CDATA[<p dir="auto">or with```<br />
route print</p>
<pre><code></code></pre>
]]></description><link>https://forum.netgate.com/post/345562</link><guid isPermaLink="true">https://forum.netgate.com/post/345562</guid><dc:creator><![CDATA[Metu69salemi]]></dc:creator><pubDate>Thu, 05 Jul 2012 11:11:54 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Thu, 05 Jul 2012 10:42:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/km" aria-label="Profile: KM">@<bdi>KM</bdi></a>:<br />
As marvosa said, please post the client routing tabel. On Windows you can find this with "netstat -rn"</p>
]]></description><link>https://forum.netgate.com/post/345561</link><guid isPermaLink="true">https://forum.netgate.com/post/345561</guid><dc:creator><![CDATA[Nachtfalke]]></dc:creator><pubDate>Thu, 05 Jul 2012 10:42:26 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Thu, 05 Jul 2012 05:52:55 GMT]]></title><description><![CDATA[<p dir="auto">Post server config and post client routing table once connected.</p>
<p dir="auto">A screen shot of the firewall rule from openvpn tab would also be helpful.</p>
]]></description><link>https://forum.netgate.com/post/345537</link><guid isPermaLink="true">https://forum.netgate.com/post/345537</guid><dc:creator><![CDATA[marvosa]]></dc:creator><pubDate>Thu, 05 Jul 2012 05:52:55 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Thu, 05 Jul 2012 00:06:37 GMT]]></title><description><![CDATA[<p dir="auto">Some more interesting things:<br />
On a hunch I decided to add a route from one of the devices on the 10.0.0.0 subnet to the 10.0.10.0 subnet to see if that would help. Previously a ping from 10.0.10.6 to 10.0.0.5 (for example) resulted in a request timeout and a ping from 10.0.0.9 to 10.0.10.6 resulted in a destination unreachable reply.</p>
<p dir="auto">So, on my 10.0.0.9 machine I opened a command prompt with the following command: route ADD 10.0.10.0 MASK 255.255.255.0 10.0.0.1 METRIC 266<br />
To my surprise this allowed pings to pass both ways. I'll keep you updated, but I'm not really sure why this would make a difference given the routes already present on the machines.</p>
]]></description><link>https://forum.netgate.com/post/345524</link><guid isPermaLink="true">https://forum.netgate.com/post/345524</guid><dc:creator><![CDATA[KM]]></dc:creator><pubDate>Thu, 05 Jul 2012 00:06:37 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Wed, 04 Jul 2012 23:46:37 GMT]]></title><description><![CDATA[<p dir="auto">While playing around I found something interesting. As I mentioned pfsense is running as a VM inside an ESXi host. From the VPN connected computer (10.0.10.6) I can ping 10.0.0.1 which is pfsense, but I can also ping 10.0.0.2, which is the esxi host, but none of the machines past that. I just thought this was odd.</p>
]]></description><link>https://forum.netgate.com/post/345521</link><guid isPermaLink="true">https://forum.netgate.com/post/345521</guid><dc:creator><![CDATA[KM]]></dc:creator><pubDate>Wed, 04 Jul 2012 23:46:37 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Wed, 04 Jul 2012 22:31:50 GMT]]></title><description><![CDATA[<p dir="auto">Here is a copy of my route table. I'm not sure if this is right or not.</p>
<p dir="auto">IPv4<br />
Destination Gateway        Netif<br />
default 142.177.<em>.</em> em0<br />
10.0.0.0/24 link#2                em1<br />
10.0.0.1 link#2                lo0<br />
10.0.10.0/24 10.0.10.2 ovpns1<br />
10.0.10.1 link#8         lo0<br />
10.0.10.2 link#8         ovpns1<br />
127.0.0.1 link#4         lo0<br />
142.177.<em>.</em>/22 link#1 em0<br />
142.177.<em>.</em> link#1 lo0</p>
]]></description><link>https://forum.netgate.com/post/345513</link><guid isPermaLink="true">https://forum.netgate.com/post/345513</guid><dc:creator><![CDATA[KM]]></dc:creator><pubDate>Wed, 04 Jul 2012 22:31:50 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Wed, 04 Jul 2012 22:20:12 GMT]]></title><description><![CDATA[<p dir="auto">Didn't use the wizard for that so I had to manually add these routes in my environment.<br />
If the route exists and the firewall rule allows the traffic then there is another problem.</p>
<p dir="auto">Check the firewall on the destination host on LAN subnet - better disable the firewall for testing.</p>
<p dir="auto">Do you run the OpenVPN client on a Windows 7 machine ? If yes - run it "As administrator". But you probably did that because it added the route.</p>
]]></description><link>https://forum.netgate.com/post/345512</link><guid isPermaLink="true">https://forum.netgate.com/post/345512</guid><dc:creator><![CDATA[Nachtfalke]]></dc:creator><pubDate>Wed, 04 Jul 2012 22:20:12 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Wed, 04 Jul 2012 22:04:52 GMT]]></title><description><![CDATA[<p dir="auto">I have the push "route 10.0.0.0 255.255.255.0" created on the server, although I think this is already created through the wizard. There is also a pass firewall rule under the openvpn tab, which was also created with the wizard.</p>
<p dir="auto">Actually, when I connect the remote client without the "push route…." there are no errors on the OpenVPN client dialog, but when I add it, it says "route addition failed... : the object already exists" and connects successfully. This is why I assumed that PFsense created that route automatically.</p>
]]></description><link>https://forum.netgate.com/post/345510</link><guid isPermaLink="true">https://forum.netgate.com/post/345510</guid><dc:creator><![CDATA[KM]]></dc:creator><pubDate>Wed, 04 Jul 2012 22:04:52 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN: connecting to LAN subnet on Wed, 04 Jul 2012 21:36:19 GMT]]></title><description><![CDATA[<p dir="auto">The OpenVPN server needs to push the rout of the LAn subnet to the client.</p>
<pre><code>
push "Route 10.0.0.0 255.255.255.0";

</code></pre>
<p dir="auto">The Firewall rule on OpenVPN tab must be setup correct.</p>
]]></description><link>https://forum.netgate.com/post/345504</link><guid isPermaLink="true">https://forum.netgate.com/post/345504</guid><dc:creator><![CDATA[Nachtfalke]]></dc:creator><pubDate>Wed, 04 Jul 2012 21:36:19 GMT</pubDate></item></channel></rss>