openvpn3 icon indicating copy to clipboard operation
openvpn3 copied to clipboard

openvpn3 server code example?

Open lattice0 opened this issue 4 years ago • 3 comments

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!

lattice0 avatar Feb 05 '20 02:02 lattice0

This library does not include a server.

schwabe avatar Feb 05 '20 15:02 schwabe

@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?

lattice0 avatar Feb 06 '20 23:02 lattice0

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.

dsommers avatar Feb 07 '20 13:02 dsommers