How to Suefirewall2 block whole country ip's

Hi,

can someone please help me with this, i have found a iptables script
http://www.itworld.com/security/397733/how-block-traffic-other-countries-linux
, but don’t know how to merge it with susefirewall2 to get it work.
Or any other script to block whole country ip’s.

regards

Czeslaw M.

cmruk wrote:

>
> Hi,
>
> can someone please help me with this, i have found a iptables script
> http://tinyurl.com/l3nkj3h
> , but don’t know how to merge it with susefirewall2 to get it work.
> Or any other script to block whole country ip’s.
>
> regards
>
> Czeslaw M.
>
>

Czeslaw;

You can create custom rules for SuSEfirewall2 in
/etc/sysconfig/scripts/SuSEfirewall2-custom. The only documentation for
this feature is in the comments to that file. I would suggest you make a
backup copy of this file before you alter anything.

(Actually you could designate another custom configuration file with
YaST>/etc/sysconfig Editor > Network > Firewall > SuSEfirewall2 but I would
not reccomend that.)

P.V.
“We’re all in this together, I’m pulling for you” Red Green