Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limit access to certain IP addresses?

Status
Not open for further replies.

JAFrank

Technical User
Nov 16, 2002
84
US
I am planning to install an Ultra 10 in another city as a print server/controller for a production print device. All print work will come from a host in my city, and will be sent via LPR as a Postscript file.

We would like to find a way to lock this machine down to the point that it will only accept connections for LPD, and then only from a specific host.

In other words, it should reject all Telnet, FTP, http, Remote Console, etc connections...

Is this possible? Could it be as simple as using the right combination of hosts.allow and hosts.deny entries?

Thanks!
 
You could simply disable those services completely by commenting them out of /etc/inetd.conf, except for the service called 'printer', of course.

You probably need to install tcpwrappers to hosts.allow and hosts.deny to have any effect? Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top