Windows' openvpn based app - VPN only for selected processes

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Majjz
OpenVpn Newbie
Posts: 1
Joined: Wed Feb 07, 2018 7:56 pm

Windows' openvpn based app - VPN only for selected processes

Post by Majjz » Wed Feb 07, 2018 8:58 pm

Hi,

We are a team of french engineering students. We built an open source software for a school project.

As the title explains, it's a windows based program that allows only the selected processes to use the openVPN connection, while the rest use the default connection. It also contains a few network monitor tools.

It is created using Python for the main program and C++ for the Dll. All sources and installation informations are in our ReadMe on github : https://github.com/Penmast/Chameleon

The program uses a ovpn file to connect to the openVPN server, but the route are made so the vpn isn't the primary NIC choosen by windows, even if the route is available and works.
Then, a custom built Dll is injected in the desired process to bind the packets, which makes the injected process use the VPN connection, while the others still uses the normal connection.

There is still a lot of improvement to do, as it doesn't allow any special OpenVPN options for example. There are also some inconsistency in the Dll execution, might need to be build on your computer if the included Dll doesn't work immediatly.

Don't hesitate to check it out, and possibly give reviews or report bugs.

Post Reply