Communication between vpncmd and vpnserver SSL protocol

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
warpandas
Posts: 4
Joined: Thu Jan 19, 2017 3:43 am

Communication between vpncmd and vpnserver SSL protocol

Post by warpandas » Fri Jan 20, 2017 9:27 am

By default, `vpncmd` appears to be using TLSv1.2 for communication with `vpnserver`.

Is there any information with regards to how one would write a library for communicating with the vpnserver?

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: Communication between vpncmd and vpnserver SSL protocol

Post by moatazelmasry » Mon Jan 23, 2017 10:12 am

The best library I know is SoftEtherPy
https://github.com/mindcollapse/SoftEtherPy

Which talks to a vpnserver service via Python. You can have a look at the code and how this library is communicating with the server.

Also a while back, I started working on a similar library based on NodeJS, that makes direct use of vpncmd:
https://github.com/moatazelmasry2/softether.js

But so far I implemented like 10% of the functionality and almost no documentation yet

Hope this helps
Moataz

warpandas
Posts: 4
Joined: Thu Jan 19, 2017 3:43 am

Re: Communication between vpncmd and vpnserver SSL protocol

Post by warpandas » Wed Jan 25, 2017 3:22 am

moatazelmasry wrote:
> The best library I know is SoftEtherPy
> https://github.com/mindcollapse/SoftEtherPy
>
> Which talks to a vpnserver service via Python. You can have a look at the
> code and how this library is communicating with the server.
>
> Also a while back, I started working on a similar library based on NodeJS,
> that makes direct use of vpncmd:
> https://github.com/moatazelmasry2/softether.js
>
> But so far I implemented like 10% of the functionality and almost no
> documentation yet
>
> Hope this helps
> Moataz

Is this a working js library? Also, correct me if I'm wrong, but this seems to a bit higher level than SoftEtherPy.

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: Communication between vpncmd and vpnserver SSL protocol

Post by moatazelmasry » Wed Jan 25, 2017 11:39 am

SoftEtherPy uses the service layer/API offered by SoftEther server

softether.js automates the use of vpncmd tool

Post Reply