I'm rinnung a virtual server at hosteurope.de
First I used PLESK, but it is quite heavy to run for the vserver.
So I tried ISPConfig.
Ubuntu 8.04.1 fresh installed with ISPConfig3.
It runs like a charm!
Now, I want to block Asianet and some other countries with my firewall.
On PLESK I used the integrated firewall-settings -have a look at the attachment-
How can I accomplish this with ISPConfig?
I tried to follow HOWTO: Implement iptables blocking by Country but I ran into some serious incompatibilities with Ubuntu 8.04 :eek:
Check out my post about blocking by countries.
HOWTO: Implement iptables blocking by Country
Hopefully that will help you out.
Even firs 58.*-rule blocks networks from:
I did not even bother to check out rest of them. They are _way_ too much.
Currently Maxmind's GeoIP-database has 289 net-blocks from Asia. With your current firewall implementation you need 289 for Asia-rules to prevent blocking countries you (or your clients?) don't want to block.
I suggest you try again with drewb0y's HOWTO.
I blocked the complete APNIC Range, and some of the AFRINIC ranges.
You can find the ranges here:
Now I added the DROPs to my iptables with the following commandline commands:
You are doing it right way. Currently used firewall implementation does not allow to insert custom rules.
|All times are GMT +2. The time now is 20:30.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.