<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Open Port for a Specific IP Address in Firewalld	</title>
	<atom:link href="https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Tue, 28 Mar 2023 17:58:16 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ayuk ROLAND AGBOR		</title>
		<link>https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/comment-page-1/#comment-1989617</link>

		<dc:creator><![CDATA[Ayuk ROLAND AGBOR]]></dc:creator>
		<pubDate>Tue, 28 Mar 2023 17:58:16 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=39757#comment-1989617</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/comment-page-1/#comment-1914241&quot;&gt;Alex Chen&lt;/a&gt;.

This is because the &lt;strong&gt;/32&lt;/strong&gt; subnet gives you only two usable ip addresses. So only 2 devices can try using the port whereas &lt;strong&gt;/20&lt;/strong&gt; has a whole subnet with more than &lt;strong&gt;254&lt;/strong&gt; useable addresses.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/comment-page-1/#comment-1914241">Alex Chen</a>.</p>
<p>This is because the <strong>/32</strong> subnet gives you only two usable ip addresses. So only 2 devices can try using the port whereas <strong>/20</strong> has a whole subnet with more than <strong>254</strong> useable addresses.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex Chen		</title>
		<link>https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/comment-page-1/#comment-1914241</link>

		<dc:creator><![CDATA[Alex Chen]]></dc:creator>
		<pubDate>Mon, 14 Nov 2022 01:52:03 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=39757#comment-1914241</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/comment-page-1/#comment-1489151&quot;&gt;Ravi Saive&lt;/a&gt;.

That didn&#039;t work for me. I have to add &#039;/32&#039; for a single IP.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/comment-page-1/#comment-1489151">Ravi Saive</a>.</p>
<p>That didn&#8217;t work for me. I have to add &#8216;/32&#8217; for a single IP.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rashid Amin		</title>
		<link>https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/comment-page-1/#comment-1870541</link>

		<dc:creator><![CDATA[Rashid Amin]]></dc:creator>
		<pubDate>Thu, 01 Sep 2022 05:53:14 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=39757#comment-1870541</guid>

					<description><![CDATA[This helped me restrict &lt;strong&gt;iSCSI&lt;/strong&gt; to access the right way to a production storage server that I created from scratch.]]></description>
			<content:encoded><![CDATA[<p>This helped me restrict <strong>iSCSI</strong> to access the right way to a production storage server that I created from scratch.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/comment-page-1/#comment-1849166</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Fri, 22 Jul 2022 05:51:36 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=39757#comment-1849166</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/comment-page-1/#comment-1848727&quot;&gt;Manu&lt;/a&gt;.

@Manu,

Adding source IP means, allowing access to this IP (source) address only...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/comment-page-1/#comment-1848727">Manu</a>.</p>
<p>@Manu,</p>
<p>Adding source IP means, allowing access to this IP (source) address only&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Manu		</title>
		<link>https://www.tecmint.com/open-port-for-specific-ip-address-in-firewalld/comment-page-1/#comment-1848727</link>

		<dc:creator><![CDATA[Manu]]></dc:creator>
		<pubDate>Thu, 21 Jul 2022 07:51:59 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=39757#comment-1848727</guid>

					<description><![CDATA[When I just try adding a port using the command;
&lt;pre&gt;
# firewall-cmd --add-port=80/tcp --permanent; firewall-cmd --reload
&lt;/pre&gt;
The port does add fine and is accessible from all ip’s even though the Sources in the Zones are empty.
&lt;pre&gt;
[root@localhost ~]# firewall-cmd --list-all
ZABBIXHA (active)
target: default
icmp-block-inversion: no
interfaces: enp0s3 enp0s8
sources:
services: high-availability
ports: 80/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
&lt;/pre&gt;
Why is that so..? Any idea..?

And what is the use of just adding a source like:
&lt;pre&gt;
# firewall-cmd --add-source=192.XX.XX.XX --permanent
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>When I just try adding a port using the command;</p>
<pre>
# firewall-cmd --add-port=80/tcp --permanent; firewall-cmd --reload
</pre>
<p>The port does add fine and is accessible from all ip’s even though the Sources in the Zones are empty.</p>
<pre>
[root@localhost ~]# firewall-cmd --list-all
ZABBIXHA (active)
target: default
icmp-block-inversion: no
interfaces: enp0s3 enp0s8
sources:
services: high-availability
ports: 80/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
</pre>
<p>Why is that so..? Any idea..?</p>
<p>And what is the use of just adding a source like:</p>
<pre>
# firewall-cmd --add-source=192.XX.XX.XX --permanent
</pre>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
