A library for blocking access to network on-the-fly
LibNetBlock is a library that on-the-fly (by preloading) prevents a program under its control to use the network, to help to keep the user's privacy, prevent data leakage and virus spreading.
You can think of LibNetBlock as a simple layer-7 (L7) firewall that simply blocks the network access for the program it controls.
There is NO NEED to rebuild your software, because LibNetBlock is a pre-loadable library, meaning you just need to RUN the software with LibNetBlock loaded.
...
OpenVPN 2 is a robust and highly flexible tunneling application that uses all of the encryption, authentication, and certification features of the OpenSSL library to securely tunnel IP networks over a single TCP/UDP port.
Discussion forums and project wiki can be found here:
https://forums.openvpn.net/
https://community.openvpn.net/
The Nemesis Project is designed to be a command line based, portable human
IP stack for UNIX-like and Windows systems. The suite is broken down by
protocol, and should allow for useful scripting of injected packets from
simple shell scripts.