DULMEN.net   Follow me on Facebook Contact DULMEN.net  

wwwBlock - Programming@DULMEN.net

wwwBlock
Application for setting a firewall rule that blocks all internet but sustains access to the local network. The rule can be activated or deactivated as long as you have administrator rights.

This tool is succeeded by AfterImage which combines more functions.
 
Features
-Information of current IP settings from selected interface
-Reconfigure hostname and IP settings with optionally prefilled settings
-The "Set Configuration" button only becomes active after all settings are filled following the prefilled settings
 
Description
We had to deploy a fully configured Windows 10 environment to over 50 touchscreen computers. These computers had a single task and were not allowed to access internet resources (except for administrators).
To reach this goal a set of firewall rules were created blocking all traffic beneeth and above the local network IP range. This tool can create, activate and deactivate these firewall rules allowing the administrator by simply pressing a button to get internet access.

The first time wwwBlock is started it elevates itself by registering with the highest privileges. The Windows User Account Control (UAC) will prompt for confirmation. As long as it is started from the same folder this confirmation is not needed after the first run.
 
Screenshots
wwwBlock create rule wwwBlock internet blocked wwwBlock internet enabled
 
Commandline options
No command-line options available.
 
Configuration file settings
[FirewallOptions]
RuleNameInbound Inbound firewall rule name (e.g. SL_BLOCK_INET_IN)
RuleNameOutbound Outbound firewall rule name (e.g. SL_BLOCK_INET_OUT)
IpRange1 IP range below local network (e.g. 1.0.0.0-10.163.59.255)
IpRange2 IP range above local network (e.g. 10.163.64.0-255.255.255.254)
 
Version history
v1.0 Initial setup
v1.1 Bugfix 01 set firewall commands after reading configuration file
 
Known bugs
Bug no. Version Fixed in Description
01 v1.0 v1.1 Configuration changes not accepted
 
Future enhancements
None planned. This tool is succeeded by AfterImage which combines more functions.
 
Download
Please read the legal notice first, allthough you probably heard it before :)


Copyright 2018 DULMEN.net. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY DULMEN.net ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL DULMEN.net OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of DULMEN.net.


You can download wwwBlock as a compressed folder containing all files needed. No need to install the software, just unzip, adapt the configuration file wwwBlock.ini and run wwwBlock.exe.
wwwBlock is free for personal and bussiness use and is free to distribute as is as long as the program is not altered and accompanied with the wwwBlock text file.

VersionFileSize
v1.1wwwBlock_v1.1.zip417,51 KB (427532 bytes)
v1.1wwwBlock_v1.1.7z343,82 KB (352067 bytes)
 
 
DULMEN.net © v8 2018 - Designed & written by Arno van Dulmen