<?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 - LAN - Router]]></title><description><![CDATA[<p dir="auto">I had installed my first pfsense virtual private network with OpenVPN succesfully. This is a road- warrior connection, and I can connect to every PC behind LAN interface. Now, in this internal network I have a router with another private network attached to it and its own IP range. I can´t figure out which rules must i write to reach the computers behind this router. I intend remote desktop connection to this machines from mi warrior client.<br />
My network topology is the following :<br />
Lan IP is 192.168.1.0/24, Router external interface has 192.168.1.254 ip address, PC´s attached to router have 192.168.30.0/24 IP adresses</p>
<p dir="auto">|–-------------|  Lan      -----------------------<br />
Internet -------- |    pfsense  |-----------|        Switch          |<br />
roadwarrior        ----------------              -----------------------<br />
client                                                            |.......|            |<br />
                                                          PC1  PC9          |<br />
                                                                              -----------<br />
                                                                            |  Router  |<br />
                                                                              ------------<br />
                                                                                | ....... |<br />
                                                                              PC10    PC14</p>
<p dir="auto">Can you help me ? Thanks in advance</p>
]]></description><link>https://forum.netgate.com/topic/78378/openvpn-lan-router</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 10:07:25 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/78378.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Jan 2015 18:13:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenVPn - LAN - Router on Mon, 26 Jan 2015 06:07:36 GMT]]></title><description><![CDATA[<p dir="auto">As a practical matter, I would also change that LAN 192.168.1.0/24 in the middle to some other more obscure private address space.<br />
That will help avoid problems for your Road Warriors when they are sitting in their local cafe and the cafe WiFi hotspot is also 192.168.1.0/24</p>
]]></description><link>https://forum.netgate.com/post/510796</link><guid isPermaLink="true">https://forum.netgate.com/post/510796</guid><dc:creator><![CDATA[phil.davis]]></dc:creator><pubDate>Mon, 26 Jan 2015 06:07:36 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPn - LAN - Router on Sat, 24 Jan 2015 18:17:44 GMT]]></title><description><![CDATA[<p dir="auto">A few things need to happen (some already mentioned):</p>
<ul>
<li>
<p dir="auto">PFsense needs to how to get to the 192.168.30.0/24 network. As viragomann mentioned, you will need a static route, but the next hop/gateway needs to be the router's IP on the Lan side (not the PFsense Lan IP).  i.e. your static route will need "Destination Network" as 192.168.30.0/24 with a "Gateway" of 192.168.1.254</p>
</li>
<li>
<p dir="auto">Check the routing table on your router, you may also need a static route on our router telling it that packets destined for the "192.168.1.0/24" network need to go through the PFsense Lan IP.</p>
</li>
<li>
<p dir="auto">You need to push a route for the 192.168.30.0/24 network to your mobile clients… i.e. add "192.168.30.0/24" to the "<strong>IPv4 Local Network/s</strong>" section on your road warrior config.</p>
</li>
<li>
<p dir="auto">In order for your mobile clients to access the 192.168.30.0/24 network, your router will need a static route for the road warrior tunnel network, which will send the return traffic back towards PFsense.</p>
</li>
</ul>
]]></description><link>https://forum.netgate.com/post/510095</link><guid isPermaLink="true">https://forum.netgate.com/post/510095</guid><dc:creator><![CDATA[marvosa]]></dc:creator><pubDate>Sat, 24 Jan 2015 18:17:44 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPn - LAN - Router on Thu, 22 Jan 2015 23:00:51 GMT]]></title><description><![CDATA[<p dir="auto">That would be a routing matter rather than a rules matter.</p>
<p dir="auto">You have to add a static route in pfSense:<br />
Go to System &gt; Routing &gt; Gateways<br />
Add a new gateway tor your router here if you haven't yet. Enter your routers LAN IP as gateway IP. Don't check "Default Gateway", enter a description and save it.<br />
Then go to Routes tab and add a new route. In destination network field enter 192.168.30.0/24 and at Gateway select the one you have set up first, enter a description and save it.</p>
<p dir="auto">Then go to the OpenVPN server configuration and add the network behind the router (192.168.30.0/24) to the "IPv4 Local Network/s". If you have entered your LAN network there separate it by a comma. This should push a route to this network to VPN clients.</p>
<p dir="auto">Of course, the rules on OpenVPN interface have also to allow traffic to 192.168.30.0/24.</p>
]]></description><link>https://forum.netgate.com/post/509545</link><guid isPermaLink="true">https://forum.netgate.com/post/509545</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Thu, 22 Jan 2015 23:00:51 GMT</pubDate></item></channel></rss>