<?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 Block SSH and FTP Access to Specific IP and Network Range in Linux	</title>
	<atom:link href="https://www.tecmint.com/block-ssh-and-ftp-access-to-specific-ip-and-network-range/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/block-ssh-and-ftp-access-to-specific-ip-and-network-range/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 11 Jan 2021 10:30:59 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: pyrhania		</title>
		<link>https://www.tecmint.com/block-ssh-and-ftp-access-to-specific-ip-and-network-range/comment-page-1/#comment-1413116</link>

		<dc:creator><![CDATA[pyrhania]]></dc:creator>
		<pubDate>Mon, 11 Jan 2021 10:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=17761#comment-1413116</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/block-ssh-and-ftp-access-to-specific-ip-and-network-range/comment-page-1/#comment-878762&quot;&gt;ravinder&lt;/a&gt;.

Simply edit &lt;strong&gt;/etc/hosts&lt;/strong&gt; and add line &lt;code&gt;127.0.0.1 facebook.com www.facebook.com&lt;/code&gt; and others what should be disabled. FB works on DNS, and this modification redirects all trafic to internal ip 127.0.0.1 .]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/block-ssh-and-ftp-access-to-specific-ip-and-network-range/comment-page-1/#comment-878762">ravinder</a>.</p>
<p>Simply edit <strong>/etc/hosts</strong> and add line <code>127.0.0.1 facebook.com www.facebook.com</code> and others what should be disabled. FB works on DNS, and this modification redirects all trafic to internal ip 127.0.0.1 .</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kumar		</title>
		<link>https://www.tecmint.com/block-ssh-and-ftp-access-to-specific-ip-and-network-range/comment-page-1/#comment-896158</link>

		<dc:creator><![CDATA[Kumar]]></dc:creator>
		<pubDate>Wed, 21 Jun 2017 01:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=17761#comment-896158</guid>

					<description><![CDATA[Senthil,

This is a nice article for iptables. I&#039;m using it to block access from countries that we do not do business. Your readers could download the free list from ip2location.com/free/visitor-blocker and it is working fine using iptables.]]></description>
			<content:encoded><![CDATA[<p>Senthil,</p>
<p>This is a nice article for iptables. I&#8217;m using it to block access from countries that we do not do business. Your readers could download the free list from ip2location.com/free/visitor-blocker and it is working fine using iptables.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jigs		</title>
		<link>https://www.tecmint.com/block-ssh-and-ftp-access-to-specific-ip-and-network-range/comment-page-1/#comment-887634</link>

		<dc:creator><![CDATA[Jigs]]></dc:creator>
		<pubDate>Wed, 03 May 2017 01:54:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=17761#comment-887634</guid>

					<description><![CDATA[Hey, you have mentioned what to do to allow few IP address or range for the FTP access. But before allowing them we have to block the FTP at all and then I&#039;ll keep adding IDs which I want to be allowed.
So What will be the first step?]]></description>
			<content:encoded><![CDATA[<p>Hey, you have mentioned what to do to allow few IP address or range for the FTP access. But before allowing them we have to block the FTP at all and then I&#8217;ll keep adding IDs which I want to be allowed.<br />
So What will be the first step?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/block-ssh-and-ftp-access-to-specific-ip-and-network-range/comment-page-1/#comment-878769</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 27 Mar 2017 07:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=17761#comment-878769</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/block-ssh-and-ftp-access-to-specific-ip-and-network-range/comment-page-1/#comment-878762&quot;&gt;ravinder&lt;/a&gt;.

@Ravinder,

You can block facebook.com for particular network IP address and rest allowed using iptables as shown.
&lt;pre&gt;
# iptables -I FORWARD ! -s 192.168.10.16 -m string --algo bm --string &quot;facebook.com&quot; -j DROP
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/block-ssh-and-ftp-access-to-specific-ip-and-network-range/comment-page-1/#comment-878762">ravinder</a>.</p>
<p>@Ravinder,</p>
<p>You can block facebook.com for particular network IP address and rest allowed using iptables as shown.</p>
<pre>
# iptables -I FORWARD ! -s 192.168.10.16 -m string --algo bm --string "facebook.com" -j DROP
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ravinder		</title>
		<link>https://www.tecmint.com/block-ssh-and-ftp-access-to-specific-ip-and-network-range/comment-page-1/#comment-878762</link>

		<dc:creator><![CDATA[ravinder]]></dc:creator>
		<pubDate>Mon, 27 Mar 2017 06:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=17761#comment-878762</guid>

					<description><![CDATA[I not able to block facebook.com on lan (but in lan particular ip and i don&#039;t want to use squid server for this ). i have two interface, eth0 is a WAN interface and eth1 is a lan interface. 
&lt;pre&gt;
My WAN ip 1.2.3.4 
LAN network :- 192.168.10.1/24
&lt;/pre&gt;
I want to block facebook.com on 192.168.10.16 and rest able to access facebook.com. how can i do this and I am using Centos 6.7]]></description>
			<content:encoded><![CDATA[<p>I not able to block facebook.com on lan (but in lan particular ip and i don&#8217;t want to use squid server for this ). i have two interface, eth0 is a WAN interface and eth1 is a lan interface. </p>
<pre>
My WAN ip 1.2.3.4 
LAN network :- 192.168.10.1/24
</pre>
<p>I want to block facebook.com on 192.168.10.16 and rest able to access facebook.com. how can i do this and I am using Centos 6.7</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
