Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Does SuSEfirewall in OpenSuSE 11 provide an easy way to block all traffic from a list of IP addresses? Ideally just a textfile into which I can put all IP addresses I want blocked, otherwise some configuration option. I've looked through /etc/sysconfig/SuSEfirewall2, but haven't been able to find anything like that.

share|improve this question

2 Answers 2

If you want to just block IP, you can add the following line to the file /etc/hosts.allow


  ALL: : deny
share|improve this answer

if you want to block ip1 you can edit FW_MASQ_NETS as follows if that's not working just mail to me


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.