<?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 route to host]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I am new to pfSense and have a problem setting up the routing correctly. The underlying problem is that the gateway for the Internet is outside the subnet:</p>
<ul>
<li>IP address: 135.125.25.X</li>
<li>gateway: 5.135.X.254</li>
<li>Interface: vtnet0</li>
</ul>
<p dir="auto">Manually I get it set up under FreeBSD::</p>
<pre><code>/sbin/route add -host 5.135.X.254 -iface vtnet0
/sbin/route add default 5.135.X.254
</code></pre>
<p dir="auto">How can I best configure this in pfSense? It seems to be possible in the interface only to define a static route to a whole network via a gateway, which does not help me.</p>
<p dir="auto">At the moment I help myself by putting the commands in <code>/usr/local/etc/rc.d/network.sh</code>.</p>
]]></description><link>https://forum.netgate.com/topic/158876/add-route-to-host</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 22:18:21 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/158876.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 Dec 2020 11:38:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Add route to host on Fri, 04 Dec 2020 16:51:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnpoz">@<bdi>johnpoz</bdi></a> said in <a href="/post/949424">Add route to host</a>:</p>
<blockquote>
<p dir="auto">Under system routing, when you add a gateway - bottom of page advanced.  You can set that the gateway is not local to your wan subnet</p>
</blockquote>
<p dir="auto">Thank you, <a class="plugin-mentions-user plugin-mentions-a" href="/user/johnpoz">@<bdi>johnpoz</bdi></a> ! This was too simple. <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f644.png?v=717669fab53" class="not-responsive emoji emoji-android emoji--face_with_rolling_eyes" style="height:23px;width:auto;vertical-align:middle" title=":face_with_rolling_eyes:" alt="🙄" /></p>
]]></description><link>https://forum.netgate.com/post/949517</link><guid isPermaLink="true">https://forum.netgate.com/post/949517</guid><dc:creator><![CDATA[svengo]]></dc:creator><pubDate>Fri, 04 Dec 2020 16:51:42 GMT</pubDate></item><item><title><![CDATA[Reply to Add route to host on Fri, 04 Dec 2020 12:10:06 GMT]]></title><description><![CDATA[<p dir="auto">Under system routing, when you add a gateway - bottom of page advanced.  You can set that the gateway is not local to your wan subnet</p>
<p dir="auto"><img src="/assets/uploads/files/1607083803563-gateway.png" alt="gateway.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/949424</link><guid isPermaLink="true">https://forum.netgate.com/post/949424</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Fri, 04 Dec 2020 12:10:06 GMT</pubDate></item></channel></rss>