Latest LQ Deal: Latest LQ Deals
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, 12:34 PM   #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, 08: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 10:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 04:52 PM
hosts.deny help/how-to jon_k Linux - Software 1 07-25-2003 11:17 PM
hosts.deny and hosts.allow defaults? gui10 Linux - Security 5 12-20-2001 02:57 AM
hosts.deny 98steve600 Linux - General 1 01-10-2001 08:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:36 AM.

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
Open Source Consulting | Domain Registration