From 3e334285ad161c5abdffc409854c4d690c2cab8d Mon Sep 17 00:00:00 2001 From: Tom Schaefer Date: Sat, 2 Oct 2010 04:25:46 -0400 Subject: countryblock 1.7 - added two pages, redo on gui --- config/countryblock/help.tmp | 145 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 config/countryblock/help.tmp (limited to 'config/countryblock/help.tmp') diff --git a/config/countryblock/help.tmp b/config/countryblock/help.tmp new file mode 100644 index 00000000..abfd9596 --- /dev/null +++ b/config/countryblock/help.tmp @@ -0,0 +1,145 @@ + + + + +

+ + + + + + + + +
+ +
+
+ + + + + + + + + + + + + +
Help
+ + + +Usage:

+Countries - Check the country that you would like to block completely.
+                   +Choose if you want to block outbound access and if you want to log attempts.
+                   +Click "Commit Countries" to store your settings. +

+Settings - +Click the setting you want and save
+                 +Block outbound blocks all outbound traffic. You will not be able to browse a website hosted in one of these countries.
+                 +Enable Logging will log all attempted traffic in/out to any of your selected countries. Logs show in the Firewall secion +

+Whitelist - +Add networks you don't want blocked and save
+                 +Add a CIDR Range and press + +

+Interfaces - +Select which interfaces to block on
+                    +All selected countries will be blocked from the interfaces you slected.
+                    +By Default all interfaces are selected.
+                    +It's highly recommended that you keep all interfaces selected +

+Cron Jobs - +Setup a cron job for countryblock
+                    +To run countryblock as a cron job use /usr/local/etc/rc.d/countryblock.sh
+                    +*Before the cron job will work, countryblock must be run via the webGUI atleast once +

+ +Warning! - Apply after every firewall change or state reset. Use at your own risk. + + + + + + + +
+
+
+
+ '0') echo "Running"; + else + echo "NOT running"; + + //Get Errors if exists + ob_start(); + $results = exec("tail -r errorOUT.txt"); + ob_end_clean(); + echo "
"; + echo $results; + echo ""; + + //Get IP Count + echo "
You are blocking "; + ob_start(); + $results = exec("pfctl -T show -t countryblock |grep -v -c Z"); + ob_end_clean(); + echo $results; + echo " Networks"; + ?> + +

+ +

+

+
+ + + + + -- cgit v1.2.3