<?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[Need help with routings&#x2F;rules? (pfsense as openvpn client)]]></title><description><![CDATA[<p dir="auto">hi all,</p>
<p dir="auto">I'm trying to setup my pfsense to connect as openvpn client to our companies openvpn server. the connect itself, including pki authorization works. openvpn logs in the web-gui look fine, and when ssh-ing on the pfsense, i can ping/ssh/reach company network hosts.<br />
i can, however, not reach anything from the remote subnet from my local network clients, i can only access it directly from the pfsense machine.</p>
<p dir="auto">now, i'm a bit confused about how the routings and firewall rules should look like in order to enable any client in my local network to access the remote network.</p>
<p dir="auto">the configuration is like this:</p>
<p dir="auto">local network (10.0.0.0) –- pfsense (router/openvpn client, 10.0.0.1) --- local vpn endpoint (10.0.1.210) --- WAN --- remote endpoint (10.0.1.209) --- remote network (192.168.0.0)</p>
<p dir="auto">the routing table on my pfsense is:</p>
<pre><code>
Internet:
Destination                  Gateway                      Flags    Refs      Use    Mtu    Netif Expire
default                      lo1.br56.fra.de.hansenet.net UGS         0     7447   1492      ng0
10.0.0.0                     link#2                       UC          0        0   1500      vr1
10.0.0.40                    00:1a:4d:4a:36:cb            UHLW        1    92503   1500      vr1   1158
10.0.1.209                   10.0.1.210                   UH         26        0   1500     tun0
192.168.0.0                  10.0.1.209                   UGS         0        0   1500     tun0
... etc

</code></pre>
<p dir="auto">where 10.0.40 is my pc.<br />
now, when i do ssh user@192.168.0.X from the shell on pfsense, i can connect. i can't, when doing this on my local pc/clients. i can ping the adress 10.0.1.210 (my local vpn endpoint) from my pc. i can't however ping the remote endpoint (i can do this from the pfsense shell). I cant traceroute the 10.0.1.210 neither:</p>
<pre><code>
Host:~ s710$ ping 10.0.1.210
PING 10.0.1.210 (10.0.1.210): 56 data bytes
64 bytes from 10.0.1.210: icmp_seq=0 ttl=64 time=0.430 ms
64 bytes from 10.0.1.210: icmp_seq=1 ttl=64 time=0.205 ms
^C
--- 10.0.1.210 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.205/0.318/0.430/0.112 ms
Host:~ s710$ traceroute 10.0.1.210
traceroute to 10.0.1.210 (10.0.1.210), 64 hops max, 40 byte packets
 1  * * *

</code></pre>
<p dir="auto">i tried googling quite a bit, and so far i tried assigning a new interface (tun0 -&gt; 'VPN', enabled, ip address 'none'), and adding a rule to permit traffic (had no effect). i also disabled any auto-added openvpn firewall rules (although i could not find any auto-created rules?), but didnt help.</p>
<p dir="auto">so can someone guide me to the correct configuration?</p>
]]></description><link>https://forum.netgate.com/topic/19155/need-help-with-routings-rules-pfsense-as-openvpn-client</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 23:17:39 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/19155.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 09 Nov 2009 21:48:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Need help with routings&#x2F;rules? (pfsense as openvpn client) on Fri, 13 Nov 2009 11:28:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gruensfroeschli">@<bdi>GruensFroeschli</bdi></a>:</p>
<blockquote>
<blockquote>
<p dir="auto">Are you sure about this?</p>
</blockquote>
<p dir="auto">Yes i am sure.<br />
Your setup is the classic stumbling block if you're not really familiar with routing.</p>
<blockquote>
<p dir="auto">I just tried the manual nat as well, but it didnt change anything Sad</p>
</blockquote>
<p dir="auto">Please describe a little more detailed what you did.<br />
Can you show a screenshot of your AoN rules?</p>
</blockquote>
<p dir="auto">Hi there, i just got it to work :) The NAT rule i added yesterday had the subnets configured. Now  just tried adding a new NAT rule for the vpn interface and any subnet, now everything works :)</p>
<p dir="auto">thanks for your support :)</p>
]]></description><link>https://forum.netgate.com/post/213194</link><guid isPermaLink="true">https://forum.netgate.com/post/213194</guid><dc:creator><![CDATA[soul710]]></dc:creator><pubDate>Fri, 13 Nov 2009 11:28:37 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with routings&#x2F;rules? (pfsense as openvpn client) on Fri, 13 Nov 2009 07:27:34 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Are you sure about this?</p>
</blockquote>
<p dir="auto">Yes i am sure.<br />
Your setup is the classic stumbling block if you're not really familiar with routing.</p>
<blockquote>
<p dir="auto">I just tried the manual nat as well, but it didnt change anything Sad</p>
</blockquote>
<p dir="auto">Please describe a little more detailed what you did.<br />
Can you show a screenshot of your AoN rules?</p>
]]></description><link>https://forum.netgate.com/post/213180</link><guid isPermaLink="true">https://forum.netgate.com/post/213180</guid><dc:creator><![CDATA[GruensFroeschli]]></dc:creator><pubDate>Fri, 13 Nov 2009 07:27:34 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with routings&#x2F;rules? (pfsense as openvpn client) on Thu, 12 Nov 2009 21:18:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gruensfroeschli">@<bdi>GruensFroeschli</bdi></a>:</p>
<blockquote>
<p dir="auto">The route TO the company works.<br />
The problem is: the router at your company does not know where to send the response.</p>
</blockquote>
<p dir="auto">Are you sure about this? Just to clearify:</p>
<p dir="auto">On my pc (ip 10.0.0.40), <code>ssh user@192.168.0.x</code> won't do anything.</p>
<p dir="auto">When ssh'ing from 10.0.0.40 to my pfsense box (ip 10.0.0.1), issuing <code>ssh user@192.168.0.x</code> from there will successfully establish a ssh session between pfsense-box &amp; company network hpst.</p>
<p dir="auto">Just today i tried the other way round, by leaving the openvpn running and connecting to my pfsense box from work. executing <code>ssh root@10.0.1.210</code> on my linux box at work successfully connected to my pfsense-box at home.</p>
<p dir="auto">this leaves me thinking that someting between local clients &amp; pfsense box is wrong, be it firewall or routings. i havent tried to actually connect to any pc behind the pfsense though, i might try tomorrow.</p>
<p dir="auto">i just tried the manual nat as well, but it didnt change anything :(</p>
]]></description><link>https://forum.netgate.com/post/213149</link><guid isPermaLink="true">https://forum.netgate.com/post/213149</guid><dc:creator><![CDATA[soul710]]></dc:creator><pubDate>Thu, 12 Nov 2009 21:18:29 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with routings&#x2F;rules? (pfsense as openvpn client) on Wed, 11 Nov 2009 13:13:25 GMT]]></title><description><![CDATA[<p dir="auto">I've done #2 sucessfully (not with pfsense, but a linux gateway, but same principle.)</p>
]]></description><link>https://forum.netgate.com/post/212984</link><guid isPermaLink="true">https://forum.netgate.com/post/212984</guid><dc:creator><![CDATA[danswartz]]></dc:creator><pubDate>Wed, 11 Nov 2009 13:13:25 GMT</pubDate></item><item><title><![CDATA[Reply to Need help with routings&#x2F;rules? (pfsense as openvpn client) on Wed, 11 Nov 2009 13:40:52 GMT]]></title><description><![CDATA[<p dir="auto">The route TO the company works.<br />
The problem is: the router at your company does not know where to send the response.</p>
<p dir="auto">Two ways to solve:<br />
1: Add a route on your company's OpenVPN router.<br />
2: NAT into the OpenVPN tunnel.</p>
<p dir="auto">Usually i would suggest 1. But i dont think this is feasible in your case.</p>
<p dir="auto">I'm not sure if 2. works.<br />
It "should"…. (I never tried).</p>
<p dir="auto">Did you follow the steps to be able to firewall the OpenVPN interface?<br />
If yes: enable AoN (firewall --&gt; NAT --&gt; outbound --&gt; "manual NAT rule generation"<br />
And create a rule for your local subnet with as NAT interface the OpenVPN interface.</p>
]]></description><link>https://forum.netgate.com/post/212962</link><guid isPermaLink="true">https://forum.netgate.com/post/212962</guid><dc:creator><![CDATA[GruensFroeschli]]></dc:creator><pubDate>Wed, 11 Nov 2009 13:40:52 GMT</pubDate></item></channel></rss>