Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-19-2001, 11:34 AM   #1
LQ Newbie
Registered: Apr 2001
Location: newbie
Posts: 2

Rep: Reputation: 0

im trying to deny all access to all services from the outside on my realserver but I need to allow any host from within my network....

My hosts.deny file looks like this


my hosts.allow file looks like this


But when I try to ftp or telnet from another host on
i get connection refused for telnet and service not available for ftp.

I need to be able to ftp/telnet from within my network only

This is the example from the man pages but it doesnt seem to work for me.

When I remove the ALL:ALL from the host.deny file then It lets me in but EVERYBODY ELSE CAN TOO! which I dont want!

any thoughts?
Old 04-19-2001, 07:00 PM   #2
LQ Newbie
Registered: Apr 2001
Location: west coast usa
Posts: 1

Rep: Reputation: 0
Your asking some good questions. I would like to ask the same questions your asking.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 09:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 03:52 PM
hosts.deny help/how-to jon_k Linux - Software 1 07-25-2003 10:17 PM
hosts.deny and hosts.allow defaults? gui10 Linux - Security 5 12-20-2001 01:57 AM
hosts.deny 98steve600 Linux - General 1 01-10-2001 07:39 PM

All times are GMT -5. The time now is 10:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration