LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   help with ipchains (https://www.linuxquestions.org/questions/linux-security-4/help-with-ipchains-77853/)

eduac 07-31-2003 07:44 PM

help with ipchains
 
somebody could help me with ipchains? I need to block one door, but i dont need to block of all ips on my network, only some ips (users)...i have a server with debian installed.

anybody can help with this doubt?

unSpawn 08-01-2003 11:51 AM

If you have a list containing ip addresses, you could easily do something like: "cat list | while read i; do /sbin/ipchains -A input -s "$i" -j DENY; done"


All times are GMT -5. The time now is 07:09 PM.