how to stop using *telnet <domain> 25*

harley7@mnsi.net harley7
Mon May 17 11:58:35 PDT 2004


On Sat, 24 Jan 2004 00:00:20 -0800
Ken Moffat <kmoffat at drizzle.com> wrote:

> Swapana Ghosh wrote:
> 
> >Hi
> >
> >--- Bill Campbell <linux-sxs at celestial.com> wrote:
> >  
> >
> >>On Fri, Jan 23, 2004, Swapana Ghosh wrote:
> >>...
> >>    
> >>
> > 
> > (b) it would prevent your own roaming users
> >  
> >
> >>from sending mail from outside your network.
> >>
> >>    
> >>
> > 
> >Yes that is the main problem. We can't stop any users mails. By the
> >way*telnet* port is closed for all our servers -  that is from our
> >server level, but how to stop others from telnet and using port 25.
> >
> >Thanks again
> >-Swapna
> >
> >
> >  
> >
> 
> 
> Do you know who you want to block?
> How about using /etc/hosts.allow:
> in.telnetd : 192.168.1.100
> in.telnetd : *.example.com
> in.telnetd : ALL : DENY
> 
> I think this would allow only 192.168.1.100 and *.example.com to
> access telnet?
> 
> Or how about blocking the port and using ssh tunnelling? (I'm reading 
> about that...) Access by key only?
> 
> -- 
> Ken

He's not running telnetd. Well... he could be. But in this instance he's
refering to someone using a telnet client to connect to his mail server
to send mail.

Bill


More information about the Linux-users mailing list