This is an example of VPN client and server on the UWP platform. This repo contains 2 sub-projects
- The server program, the path is in the
./Server
directory, and the compilation command line is
g++ VpnServer.cpp VpnServer`
- UWP program, the path is in
./UWPClient/VPNSample.sln
, the solution contains two projects, first compileVpnDll
, then compileVPNSample
- The server port can be modified in
VpnServer.cpp
, the specific code is
#define PORT 10000`
- The IP and port that the client is connected to can be modified in the sample project