Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >System Management


    

Blue Forest http://www.lslnet.com at 3:18 p.m. on August 18, 2006


Linux security issues, how to limit specified HOST visit from the root?

A company Web Server, defenders hope to use SSH connection from designated HOST visit other open Web services, FTP, etc. can be obtained from any HOST visit, will be how set up.

Linux security issues, how to limit specified HOST visit from the root?

A INPUT-p tcp --dport /sbin/iptables s yourip 22 -j ACCEPT

Linux security issues, how to limit specified HOST visit from the root?

Linux security issues, how to limit specified HOST visit from the root?

-->
Http://man.www.lslnet.com/linux/network/iptables-tutorial-cn-1.1.19.html#COMMAND

Linux security issues, how to limit specified HOST visit from the root?

-->


Very grateful to the system but the thing is really profound, more one studies it, the more novice

Linux security issues, how to limit specified HOST visit from the root?

First, I use the iptables-F, with the removal of the original strategy
Then iptables iptables P P INPUT and OUTPUT DROP DROP
Later strategy iptables-A INPUT-p tcp --dport 80 -j ACCEPT
This strategy increases End, I was unable to visit the Web Server. Please enlighten prawn

Linux security issues, how to limit specified HOST visit from the root?

OUTPUT DROP is not necessary, you do not visit the course
Iptables-F
Iptables-P INPUT DROP
ACCEPT iptables-A INPUT -i lo -j
Iptables-A INPUT-p tcp-m state --state NEW --dport 80, RELATED, ESTABLISHED -j ACCEPT

Linux security issues, how to limit specified HOST visit from the root?

-->
Operation mistakes ACCEPT iptables-A INPUT -i lo -j
Thank you, I carefully check the file first, then ask questions, Thank you

Linux security issues, how to limit specified HOST visit from the root?

-->
Learning is right, not asked repeatedly silly ^_^

Linux security issues, how to limit specified HOST visit from the root?

Using iptables is not necessary, and sufficient tcpwrapper

Linux security issues, how to limit specified HOST visit from the root?

Another way :
Http://www.chinaemail.com.cn/server/server/200507/1440.html

Linux security issues, how to limit specified HOST visit from the root?

Linux security issues, how to limit specified HOST visit from the root?

-->

In fact, I installed the HTTPD.CONF x is used to limit the user to visit.

HOST.DENY HOST.ALL and started to think about the most, but later we found out is not the same thing, I thank the Honorable withheld

Linux security issues, how to limit specified HOST visit from the root?

Linux security issues, how to limit specified HOST visit from the root?

: D



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com