Sunday, January 18, 2009
How to work with tcpwrappers - hosts.deny and hosts.allow files
Posted on 8:55 AM by Unknown
1. Open terminal2. su - if you not a root user3. Use your favorite editor like vi.4. Type vi /etc/hosts.deny5. At the buttom line just type “ALL:ALL:deny” to restricted all of deamon process6. Save it.7. Open “/etc/hosts.allow” with vi editor8. At the buttom line “ALL:(some ip that you allow):allow” to allow anything from my IP address9. Save it.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment