<?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: How to limit telnet session from some designated clients ? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560407#M18069</link>
    <description>Use the iptables firewall to deny telnet and then accept only from those ip's you want.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;iptables -I INPUT -s 0/0 -p tcp --dport 23 -j DROP&lt;BR /&gt;iptables -I INPUT -s &lt;IP address=""&gt; -p tcp --deport 23 -j ACCEPT&lt;BR /&gt;... repeat for each ip address&lt;BR /&gt;&lt;BR /&gt;Use -A in a firewall startup script.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/IP&gt;</description>
    <pubDate>Wed, 08 Jun 2005 10:34:54 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2005-06-08T10:34:54Z</dc:date>
    <item>
      <title>How to limit telnet session from some designated clients ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560406#M18068</link>
      <description>How can I limit only several designated clients can telnet my Linux server ?&lt;BR /&gt;&lt;BR /&gt;I know the IPs and the Hostnames of those clients.&lt;BR /&gt;&lt;BR /&gt;Thanks !</description>
      <pubDate>Wed, 08 Jun 2005 10:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560406#M18068</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-06-08T10:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit telnet session from some designated clients ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560407#M18069</link>
      <description>Use the iptables firewall to deny telnet and then accept only from those ip's you want.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;iptables -I INPUT -s 0/0 -p tcp --dport 23 -j DROP&lt;BR /&gt;iptables -I INPUT -s &lt;IP address=""&gt; -p tcp --deport 23 -j ACCEPT&lt;BR /&gt;... repeat for each ip address&lt;BR /&gt;&lt;BR /&gt;Use -A in a firewall startup script.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/IP&gt;</description>
      <pubDate>Wed, 08 Jun 2005 10:34:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560407#M18069</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-06-08T10:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit telnet session from some designated clients ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560408#M18070</link>
      <description>do I have to enable firewall on Linux ? is there any other way except firewall ?&lt;BR /&gt;thanks a lot !</description>
      <pubDate>Wed, 08 Jun 2005 10:40:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560408#M18070</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-06-08T10:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit telnet session from some designated clients ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560409#M18071</link>
      <description>&lt;BR /&gt;you can use host access control method to deny access. you can deny access to telnet sessions by putting entries in /etc/hosts.allow and /etc/hosts.deny&lt;BR /&gt;&lt;BR /&gt;check man hosts.allow and hosts.deny for more information.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Wed, 08 Jun 2005 11:23:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560409#M18071</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-08T11:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit telnet session from some designated clients ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560410#M18072</link>
      <description>but /etc/hosts.allow and /etc/hosts will block all services, not just telnet.&lt;BR /&gt;&lt;BR /&gt;thanks!</description>
      <pubDate>Wed, 08 Jun 2005 11:50:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560410#M18072</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-06-08T11:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit telnet session from some designated clients ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560411#M18073</link>
      <description>Hi yyghp,&lt;BR /&gt;&lt;BR /&gt;If telnet is configured in xinetd on your system, you can do what you want using  only_from parameter on the configuration file.&lt;BR /&gt;&lt;BR /&gt;man xinetd.conf &lt;BR /&gt;&lt;BR /&gt;will help you.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;xyko</description>
      <pubDate>Wed, 08 Jun 2005 13:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560411#M18073</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2005-06-08T13:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit telnet session from some designated clients ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560412#M18074</link>
      <description>Honestly, I think the firewall is a good bet.&lt;BR /&gt;&lt;BR /&gt;HP-UX has a file called /var/adm/inetd.sec&lt;BR /&gt;&lt;BR /&gt;This lets you allow and deny hosts by service name AND ip address.&lt;BR /&gt;&lt;BR /&gt;I can't find the functional equivalent in Linux.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 08 Jun 2005 14:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560412#M18074</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-06-08T14:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit telnet session from some designated clients ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560413#M18075</link>
      <description>&lt;BR /&gt;hosts.allow and hosts.deny can be configured for individual services.  check 'man hosts_access' and 'man hosts_options' to get more info on this.&lt;BR /&gt;&lt;BR /&gt;for your case, you can use like this:&lt;BR /&gt;/etc/hosts.allow:&lt;BR /&gt;&lt;BR /&gt;in.telnetd: ALL EXCEPT HOST1, HOST2&lt;BR /&gt;&lt;BR /&gt;you can also setup to send mail to the administrator when some one from the exception list trying to access&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 09 Jun 2005 00:19:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560413#M18075</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-09T00:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit telnet session from some designated clients ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560414#M18076</link>
      <description>Hi,&lt;BR /&gt;u can use iptables to block /allow specific connections. The iptables rpm will be installed by default mostly, otherwise install the rpm . Edit the /etc/sysconfig/iptables file to include ur rules. Note that the rules will be analyzed from top to bottom in that order . So allow connections first , then deny the connections, other wise all the connections will be denied at the first rule set itself.&lt;BR /&gt;&lt;BR /&gt;the entries in iptables file will be like this ...for ur setup..&lt;BR /&gt;&lt;BR /&gt;*filter&lt;BR /&gt;-A INPUT -p tcp -m tcp -s &lt;IPADDESS&gt; --dport 23 -j ACCEPT --syn&lt;BR /&gt;.....add entries for each ip....&lt;BR /&gt;-A INPUT -p tcp -m tcp -j REJECT --syn&lt;BR /&gt;&lt;BR /&gt;Dear SEP, &lt;BR /&gt;Ur idea is correct but it will not allow any telnet connections. The order should be reversed as the rules will be analyzed from top to bottom, in ur reply the connections will be rejected at the very first comparison. The remaining rules will not be checked.&lt;/IPADDESS&gt;</description>
      <pubDate>Thu, 09 Jun 2005 08:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-limit-telnet-session-from-some-designated-clients/m-p/3560414#M18076</guid>
      <dc:creator>Bejoy C Alias</dc:creator>
      <dc:date>2005-06-09T08:02:39Z</dc:date>
    </item>
  </channel>
</rss>

