[ILUG] restrict telnet
hrishys at yahoo.co.uk
Mon Mar 11 08:59:11 GMT 2002
Thank you very very much for your answer.I am actually
a 16 year old student and i am not full time sys
heeheh.But i am impressed by your quick anmnswers
thank you very much .You are really quick in
--- Paul Kelly <longword at esatclear.ie> wrote: >
> > I am running redhat linux6.2
> And you haven't been hacked yet?
> Get RedHat 7.2 ASAP - and apply all the available
> > And iw ant to restrict
> > telnet acesses to some ports like 80,25 etc..Does
> > anybody have any idea on how to do this.
> You have two choices. You can do it at the
> application level, or you can
> do it through firewall rules. If you want to go with
> the former,
> /etc/hosts.allow and /etc/hosts.deny can control
> access to a number of
> services including telnet (why aren't you using
> ssh!) and ftp - have a
> look at man 5 hosts_access. That won't cover Apache
> or sendmail but you
> can restrict access to those through their own
> config files.
> If you want to use firewall rules, check out the
> ipchains HOWTO on
> linuxdoc.org for a 2.2 kernel, or if you updated to
> RedHat 7.2 with a
> 2.4 kernel you should be using iptables in which
> case you should have a
> look at http://netfilter.samba.org/ for help.
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for
> (un)subscription information.
> List maintainer: listmaster at linux.ie
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
More information about the ILUG