Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VPN connection contained within an application

Is it possible to have a program which establishes a VPN connection but the VPN is contained only within the application?

Example: An application establishes a VPN connection to retrieve the data from another server via VPN without having an effect on the machine's network connectivity - The machine remains on the network/internet as if there is no VPN connection established.

Ideally I'd like to do this in C#.

Also, I currently use a Cisco VPN client which has "Group Authentication" as well an individual user name and password. The C# VPN code I've seen seems to only use the standard username and password so does anyone know if this "Group Authentication" functionality can be implemented in C#?

like image 960
totalfreakingnoob Avatar asked Nov 12 '22 13:11

totalfreakingnoob


1 Answers

I don't think there's anything technically impossible about your application creating its own unshared VPN connection to tunnel data across, but that's certainly not the usual use case for a VPN. A quick Google search didn't turn up any libraries that you might use for this, but you should contact the vendor to see if they have any suggestions.

like image 156
bmm6o Avatar answered Nov 15 '22 05:11

bmm6o