Tuesday, January 6, 2009
How to use hosts.allow and hosts.deny (tcpwrappers)
Posted on 6:46 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 bottom 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