OpenVPN / OpenVPN/openvpn3

How to include and use openvpn3 library on Windows

Open
#361 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.2k
Forks
467
PR merge metrics
No merged PRs in 30d

Description

Let's imagine we have a task. Connect to vpn server via .ovpn config file. How to solve It?

  • I've built openvpn3 in C:\core
  • My project located in C:\prjs\MyPrjs
MyPrj /
   ├── CMakeLists.txt
   ├── main.cpp
   ├── config.ovpn

// CMakeLists.txt
cmake_minimum_required(VERSION 3.30)
project(MyPrj)

set(CMAKE_CXX_STANDARD 20)

add_executable(main main.cpp)

// main.cpp
#include // What should I include?


int main() {

}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the mentioned CMakeLists.txt and main.cpp, then inspect the OpenVPN 3 build under C:\core and the config.ovpn input. Document the supported Windows integration path, required include and linking details, and a minimal working connection example; done means the example builds and uses the configuration successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, networking, security
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.