LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-17-2005, 08:02 PM   #1
stakhous
Member
 
Registered: May 2003
Location: PA
Posts: 82

Rep: Reputation: 15
NFS with TCP Wrappers!


Hello,

I am setting up a NFS server and I wanted to use hosts.allow and hosts.deny for protection.

However I need to run the nfs daemon inside tcp wrappers. From what Ive read, this can be easily done by editing /inetd.conf. However, I could not find out how to do this by editing xinetd.conf.

Does anyone have any advice or resources?


Thanks


Stakhous
 
Old 02-17-2005, 09:25 PM   #2
stakhous
Member
 
Registered: May 2003
Location: PA
Posts: 82

Original Poster
Rep: Reputation: 15
My bad


You can do this with the following changes to hosts.allow/hosts.deny:
Notice the service daemon at the start of each line
#

# File: hosts.allow

#

ALL:��� 192.168.1.0/24 192.168.2.0/255.255.255.0

sshd:�� 172.16.1.1 216.10.119.244

httpd:� ALL



#

# File: hosts.deny

#

ALL:��� ALL
 
  


Reply



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
TCP Wrappers on LE2005 iggep Mandriva 1 10-31-2005 09:25 AM
TCP Wrappers ? juanb Linux - Newbie 1 01-31-2004 01:35 PM
tcp wrappers and Slackware 9.0 pine0279 Slackware 1 07-05-2003 09:48 AM
tcp wrappers --with-tcp-wrappers ForumKid Linux - Security 2 01-04-2002 04:01 PM
TCP Wrappers ltrain Linux - Security 6 05-31-2001 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:39 PM.

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