<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Disable telnet from certain ip in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134316#M8288</link>
    <description>Hi,&lt;BR /&gt;I have done it by using webmin utility ( GUI Based System Admin Utility )&lt;BR /&gt;&lt;BR /&gt;In this utility login as root and go to Networking===&amp;gt;Linux Firewall menu&lt;BR /&gt;&lt;BR /&gt;And make one chain to reject from a particular ipaddress. Eg:&lt;BR /&gt;&lt;BR /&gt;Reject If protocol is TCP and source is 192.168.178.134 and input interface is eth1 and destination port is 23&lt;BR /&gt;&lt;BR /&gt;Its very easy...&lt;BR /&gt;&lt;BR /&gt;Sujith</description>
    <pubDate>Tue, 11 May 2004 02:32:18 GMT</pubDate>
    <dc:creator>sujith_2</dc:creator>
    <dc:date>2004-05-11T02:32:18Z</dc:date>
    <item>
      <title>Disable telnet from certain ip</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134309#M8281</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to disable telnet in a linux box, but only from certains IpÂ´s. I know to do this in HPUX, in the file /var/adm/inetd.sec, but how can I do it in red hat?&lt;BR /&gt;&lt;BR /&gt;Th</description>
      <pubDate>Wed, 03 Dec 2003 03:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134309#M8281</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2003-12-03T03:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet from certain ip</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134310#M8282</link>
      <description>If you use Red Hat or don't mind installing xinetd instead of inetd then you can look at /etc/xinetd.d/telnet and specify an "only_from" line.  You would have something like "only_from hostname1 hostname2 etc"&lt;BR /&gt; &lt;BR /&gt;If you are not using xinetd, I think you are ought of luck.</description>
      <pubDate>Wed, 03 Dec 2003 03:51:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134310#M8282</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-03T03:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet from certain ip</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134311#M8283</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I use xinetd, but wat I want is to specify "not from" or something like this, instead of "only from"&lt;BR /&gt;&lt;BR /&gt;Thanks and regards</description>
      <pubDate>Wed, 03 Dec 2003 03:59:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134311#M8283</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2003-12-03T03:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet from certain ip</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134312#M8284</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;IÂ´ve found it. Is putting the clause "no_access" in telnet file.&lt;BR /&gt;&lt;BR /&gt;Thxs &amp;amp; regar</description>
      <pubDate>Wed, 03 Dec 2003 04:08:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134312#M8284</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2003-12-03T04:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet from certain ip</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134313#M8285</link>
      <description>There are two files in /etc.  hosts.allow and hosts.deny.  In hosts.deny you add the following.&lt;BR /&gt;&lt;BR /&gt;telnet:ALL&lt;BR /&gt;&lt;BR /&gt;This denies telnet to all systems.&lt;BR /&gt;&lt;BR /&gt;In hosts.allow you can add.&lt;BR /&gt;&lt;BR /&gt;telnet:123.123.123.&lt;BR /&gt;telnet:servera.abc.com&lt;BR /&gt;&lt;BR /&gt;This will allow only those systems/subnets/IPs listed in the hosts.allow to access your system using telnet.&lt;BR /&gt;&lt;BR /&gt;--Jim</description>
      <pubDate>Wed, 03 Dec 2003 08:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134313#M8285</guid>
      <dc:creator>James Specht</dc:creator>
      <dc:date>2003-12-03T08:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet from certain ip</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134314#M8286</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;my idea would be to add this to /etc/profile:&lt;BR /&gt;REMOTEIP=expr "`who -m`" : ".*(\(.*\)).*"&lt;BR /&gt;case ${REMOTEIP} in&lt;BR /&gt;  "10.0.0.1"|"10.0.0.2") echo sorry!!;exit;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Dec 2003 10:26:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134314#M8286</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2003-12-03T10:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet from certain ip</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134315#M8287</link>
      <description>3 ways to do it.&lt;BR /&gt;&lt;BR /&gt;James mentioned one.&lt;BR /&gt;&lt;BR /&gt;You found a second.&lt;BR /&gt;&lt;BR /&gt;The third is just to firewall it out with 'iptables', i.e.:&lt;BR /&gt;&lt;BR /&gt;iptables -IN INPUT -j DROP -s &lt;BAD ip=""&gt; -p tcp --dport 23&lt;BR /&gt;&lt;BR /&gt;Fun huh? :)&lt;/BAD&gt;</description>
      <pubDate>Wed, 03 Dec 2003 19:33:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134315#M8287</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-12-03T19:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet from certain ip</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134316#M8288</link>
      <description>Hi,&lt;BR /&gt;I have done it by using webmin utility ( GUI Based System Admin Utility )&lt;BR /&gt;&lt;BR /&gt;In this utility login as root and go to Networking===&amp;gt;Linux Firewall menu&lt;BR /&gt;&lt;BR /&gt;And make one chain to reject from a particular ipaddress. Eg:&lt;BR /&gt;&lt;BR /&gt;Reject If protocol is TCP and source is 192.168.178.134 and input interface is eth1 and destination port is 23&lt;BR /&gt;&lt;BR /&gt;Its very easy...&lt;BR /&gt;&lt;BR /&gt;Sujith</description>
      <pubDate>Tue, 11 May 2004 02:32:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134316#M8288</guid>
      <dc:creator>sujith_2</dc:creator>
      <dc:date>2004-05-11T02:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet from certain ip</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134317#M8289</link>
      <description>The easiest way is tcp wrappers.&lt;BR /&gt;&lt;BR /&gt;man 5 hosts_access on newish redhat systems will take you to the man page.&lt;BR /&gt;&lt;BR /&gt;You can also look at /etc/hosts.allow and /etc/hosts.deny to see a template.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 May 2004 14:51:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134317#M8289</guid>
      <dc:creator>Mark Travis</dc:creator>
      <dc:date>2004-05-11T14:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Disable telnet from certain ip</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134318#M8290</link>
      <description>HO,&lt;BR /&gt;I think the best to accomplish this in your existing setup would be using the /etc/hosts.allow and /etc/hosts.deny files.&lt;BR /&gt;&lt;BR /&gt;Edit the file /etc/hosts.allow and make an entry ALL. Then edit file /etc/hosts.deny and make an entry for all the IP addresses which need to be blocked.&lt;BR /&gt;&lt;BR /&gt;Let me know if you have any specific questions.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Thu, 13 May 2004 01:06:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disable-telnet-from-certain-ip/m-p/3134318#M8290</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2004-05-13T01:06:23Z</dc:date>
    </item>
  </channel>
</rss>

