OpenVPN / openvpn3

OpenVPN 3 is a C++ class library that implements the functionality of an OpenVPN client, and is protocol-compatible with the OpenVPN 2.x branch.
https://openvpn.net
Other
973 stars 383 forks source link

openvpn3 server code example? #99

Open lattice0 opened 4 years ago

lattice0 commented 4 years ago

Hi, sorry for asking here, but I couldn't find a way to write an OpenVPN server anywhere. Searching github for "openvpn server" in C++ or C gives nothing.

I sucessfully edited the code of OpenVPN3 to include a client in my app, but I also need a server to run on the other side of my app. This repo only includes client examples.

Thank you so much!

schwabe commented 4 years ago

This library does not include a server.

lattice0 commented 4 years ago

@schwabe so there's only C server? No C++ server? I thougth openvpn3 was a complete rewrite of the old one. Is there a plan to write a C++ server?

dsommers commented 4 years ago

Let's rephrase this. This OpenVPN 3 project is a library, it is neither a client nor a server. But it does ship with a reference client implementation, to test the client features. We do not have the same ready for a server. But the library supports being implemented as a server.

Currently, it is the OpenVPN 3 Linux and OpenVPN for Android open source projects which implements the OpenVPN 3 library. Both projects has focused on the client side so far. The OpenVPN 3 Linux project will probably be extended with a server feature in the future - but no concrete plans of when that will happen yet.