Page 1 of 1

SoftEther Server configuration

Posted: Mon Aug 29, 2016 6:33 pm
by prateekgogia
Hi

I am trying to build a custom client for SoftEther Server configuration, till now I have been using VPNCMD utility but its hard to automate every command and parse the output for that commands. I am writing a client which can connect to the server and configure hubs/ users/ ACL. I am at a point where my client is able to connect to the server, what I want to check is -- whats the encoding scheme used by the SoftEther server ? I get a response back with status 200, but the response needs to be decoded by the client. Is there a standard encoding / decoding scheme used by SoftEther ?


Thanks
Prateek

Re: SoftEther Server configuration

Posted: Tue Aug 30, 2016 11:26 pm
by moatazelmasry
I believe the default encoding is utf8
You can also format the output of vpncmd into csv by adding the paramater /CSV

There's a python project that connect to softether and lets you do most of the tasks programmatically. Appearantly softether has some http*/service.cgi that would let you do that. Who knew
Here's a link to the project:
https://github.com/mindcollapse/SoftEtherPy

I started myself a nodejs project that wraps and invokes and vpncmd functionality, but the project is in a very alpha stage and has like 5-6 commands max:
https://github.com/moatazelmasry2/softether.js

Hope this helps