<?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[[Solved] Gateway over OpenVPN]]></title><description><![CDATA[<p dir="auto">I have an OpenVPN server on pfSense. I have a main client that connects and goes out the public IP of the pfSense box. It works fine. I have a second client that needs to route all of its VPN traffic to a third client (to use the third client's public IP). I have been trying to setup a gateway with the third client's VPN IP and use policy routing to route traffic from the second client to the new gateway. The new gateway doesn't appear in the advanced section of the firewall rule. Am I doing something wrong or am I going about this the wrong way or do I just need to setup another pfSense box?</p>
]]></description><link>https://forum.netgate.com/topic/136755/solved-gateway-over-openvpn</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 20:39:25 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/136755.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Oct 2018 04:12:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved] Gateway over OpenVPN on Wed, 17 Oct 2018 04:44:39 GMT]]></title><description><![CDATA[<p dir="auto">You must not assign an ip address on the openvpn interface. Keep it at none.<br />
It will be assigned by openvpn server (or client) automatically.<br />
Then you will have the needed gateway,</p>
]]></description><link>https://forum.netgate.com/post/797998</link><guid isPermaLink="true">https://forum.netgate.com/post/797998</guid><dc:creator><![CDATA[netblues]]></dc:creator><pubDate>Wed, 17 Oct 2018 04:44:39 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Gateway over OpenVPN on Tue, 16 Oct 2018 18:30:58 GMT]]></title><description><![CDATA[<p dir="auto">Of course, it isn't shown in the droptown if it is disabled.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mecjay12" aria-label="Profile: mecjay12">@<bdi>mecjay12</bdi></a> said in <a href="/post/797916">Gateway over OpenVPN</a>:</p>
<blockquote>
<p dir="auto">The VPN doesn't work if the interface is enabled</p>
</blockquote>
<p dir="auto">Obviously you did something wrong.<br />
Assigned an IP address to it?</p>
<p dir="auto">Check the OpenVPN log for relevant entries.</p>
]]></description><link>https://forum.netgate.com/post/797918</link><guid isPermaLink="true">https://forum.netgate.com/post/797918</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Tue, 16 Oct 2018 18:30:58 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Gateway over OpenVPN on Tue, 16 Oct 2018 18:26:18 GMT]]></title><description><![CDATA[<p dir="auto">Right. I have a gateway on an interface assigned to my openvpn server. The VPN doesn't work if the interface is enabled. When I go to make a firewall rule to do policy routing the gateway doesn't show up.</p>
]]></description><link>https://forum.netgate.com/post/797916</link><guid isPermaLink="true">https://forum.netgate.com/post/797916</guid><dc:creator><![CDATA[MeCJay12]]></dc:creator><pubDate>Tue, 16 Oct 2018 18:26:18 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Gateway over OpenVPN on Tue, 16 Oct 2018 18:23:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mecjay12" aria-label="Profile: mecjay12">@<bdi>mecjay12</bdi></a> said in <a href="/post/797910">Gateway over OpenVPN</a>:</p>
<blockquote>
<p dir="auto">Why/how would setting up another openvpn server allow me ignore the regular routing table?</p>
</blockquote>
<p dir="auto">That can be achieved by policy routing. However, therefore you need a gateway for the client. A gateway requires an interface to be assigned to the appropriate OpenVPN instance.</p>
]]></description><link>https://forum.netgate.com/post/797915</link><guid isPermaLink="true">https://forum.netgate.com/post/797915</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Tue, 16 Oct 2018 18:23:12 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Gateway over OpenVPN on Tue, 16 Oct 2018 18:03:08 GMT]]></title><description><![CDATA[<p dir="auto">So the third client who has the other public IP needed is a pfSense box. It is on a network that I cannot open ports on so it has to connect out. I can setup another openvpn server on the current pfsense openvpn server but then I don't understand why I wouldn't have the same issue. I am trying to make a default gateway out of client rather than the regular default gateway. Adding another openvpn server / interface would make the gateway show up? I can go make a rule on the wan interface already with the wan gateway. Why/how would setting up another openvpn server allow me ignore the regular routing table?</p>
]]></description><link>https://forum.netgate.com/post/797910</link><guid isPermaLink="true">https://forum.netgate.com/post/797910</guid><dc:creator><![CDATA[MeCJay12]]></dc:creator><pubDate>Tue, 16 Oct 2018 18:03:08 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Gateway over OpenVPN on Tue, 16 Oct 2018 17:19:22 GMT]]></title><description><![CDATA[<p dir="auto">It is "normal" for openvpn to die when assigning an interface. Please restart the service and it will work.<br />
As far as routing is concerned, openvpn handles it internally, when you enable the peer to peer communication option.<br />
Then it is quite possible to e.g. rdp from one client to another via openvpn.<br />
The thing is you are trying to access the Internet using the ip of another client.<br />
This means quite a few things.<br />
First the "client" supplying internet should be able to do nat of the traffic arriving on vpn to its public ip.<br />
And you also need a second vpn interface on pf so as to policy route the default gw traffic of the client.<br />
I would opt for an openvpn server running at the "client" that needs to give internet acccess. Linux of course, or another pf in a dedicated role.<br />
And then a client connection from pf, to this openvpn server.</p>
<p dir="auto">I have already tested this and works well.</p>
]]></description><link>https://forum.netgate.com/post/797899</link><guid isPermaLink="true">https://forum.netgate.com/post/797899</guid><dc:creator><![CDATA[netblues]]></dc:creator><pubDate>Tue, 16 Oct 2018 17:19:22 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Gateway over OpenVPN on Tue, 16 Oct 2018 13:51:22 GMT]]></title><description><![CDATA[<p dir="auto">pfSense is only able to route between interfaces. So each of the concerned vpn clients has to be connected to a different interface.</p>
]]></description><link>https://forum.netgate.com/post/797830</link><guid isPermaLink="true">https://forum.netgate.com/post/797830</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Tue, 16 Oct 2018 13:51:22 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Gateway over OpenVPN on Tue, 16 Oct 2018 13:44:51 GMT]]></title><description><![CDATA[<p dir="auto">If I add another server instance (not another install if I'm understanding correctly), why wouldn't I run into the same issue? The routing table will still have The current server's public IP/interface as the default route.</p>
]]></description><link>https://forum.netgate.com/post/797825</link><guid isPermaLink="true">https://forum.netgate.com/post/797825</guid><dc:creator><![CDATA[MeCJay12]]></dc:creator><pubDate>Tue, 16 Oct 2018 13:44:51 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Gateway over OpenVPN on Tue, 16 Oct 2018 13:32:16 GMT]]></title><description><![CDATA[<p dir="auto">I'm in doubt that this would work properly with only one OpenVPN instance.<br />
You may add an additional server instance for one of the affected clients and then assign interfaces to both. After that you can route between these interfaces.</p>
]]></description><link>https://forum.netgate.com/post/797822</link><guid isPermaLink="true">https://forum.netgate.com/post/797822</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Tue, 16 Oct 2018 13:32:16 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Gateway over OpenVPN on Tue, 16 Oct 2018 12:04:35 GMT]]></title><description><![CDATA[<p dir="auto">Yes. It is disabled and if I enable it then the OpenVPN server dies.</p>
]]></description><link>https://forum.netgate.com/post/797798</link><guid isPermaLink="true">https://forum.netgate.com/post/797798</guid><dc:creator><![CDATA[MeCJay12]]></dc:creator><pubDate>Tue, 16 Oct 2018 12:04:35 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Gateway over OpenVPN on Tue, 16 Oct 2018 05:05:40 GMT]]></title><description><![CDATA[<p dir="auto">Have you assigned an interface for openvpn?</p>
]]></description><link>https://forum.netgate.com/post/797749</link><guid isPermaLink="true">https://forum.netgate.com/post/797749</guid><dc:creator><![CDATA[netblues]]></dc:creator><pubDate>Tue, 16 Oct 2018 05:05:40 GMT</pubDate></item></channel></rss>