<?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[setup rule from linux to webserver]]></title><description><![CDATA[<p dir="auto">How would I create a firewall rule to allow direct connection from a Linux system to a web server running SSH service?</p>
]]></description><link>https://forum.netgate.com/topic/173411/setup-rule-from-linux-to-webserver</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 08:51:28 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/173411.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Jul 2022 15:00:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to setup rule from linux to webserver on Tue, 12 Jul 2022 17:49:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/crawford">@<bdi>crawford</bdi></a> source would be the IP of the client, port would be any.  You really have no idea what source port a client would use, other than something random above 1023</p>
<p dir="auto">This webserver is on a different than lan?  Then yeah destination would be its IP and port 22, which is the default ssh port.</p>
]]></description><link>https://forum.netgate.com/post/1051508</link><guid isPermaLink="true">https://forum.netgate.com/post/1051508</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Tue, 12 Jul 2022 17:49:04 GMT</pubDate></item><item><title><![CDATA[Reply to setup rule from linux to webserver on Tue, 12 Jul 2022 17:06:40 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/1051482">setup rule from linux to webserver</a>:</p>
<blockquote>
<p dir="auto">need to allow for ssh to the network or IP your webserver is on.</p>
</blockquote>
<p dir="auto">It's on the LAN. Is the Rules form below look good?</p>
<p dir="auto">Action: Pass<br />
Interface: LAN<br />
TCP/IP: IP4<br />
Protocol: TCP</p>
<p dir="auto">Source Type: what should the selection be for Linux?<br />
Address: Linux IP address</p>
<p dir="auto">Destination Type: what would be for a webserver?<br />
Address: the webserver IP?/22</p>
]]></description><link>https://forum.netgate.com/post/1051497</link><guid isPermaLink="true">https://forum.netgate.com/post/1051497</guid><dc:creator><![CDATA[crawford]]></dc:creator><pubDate>Tue, 12 Jul 2022 17:06:40 GMT</pubDate></item><item><title><![CDATA[Reply to setup rule from linux to webserver on Tue, 12 Jul 2022 15:45:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/crawford">@<bdi>crawford</bdi></a> what network is the client going to be on, if on lan the default rules would already allow access to any other network/vlan you created on pfsense.</p>
<p dir="auto">If client is on lan, and you had messed with the default rules, you would need to allow for ssh to the network or IP your webserver is on.  If the webserver is on lan, there are no rules needed because pfsense has nothing to do with traffic between devices on the same network.</p>
]]></description><link>https://forum.netgate.com/post/1051482</link><guid isPermaLink="true">https://forum.netgate.com/post/1051482</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Tue, 12 Jul 2022 15:45:19 GMT</pubDate></item></channel></rss>