Page 1 of 1

secli - Bash CLI to manage SoftEther VPN Server using JSON-RPC

Posted: Sat Feb 11, 2023 6:41 am
by shakibamoshiri
As full time Terminal user I would like to manage SE servers from a Terminal even SE server manger is awesome and makes things much simpler.
The idea began when I needed to disable myself automatically, if my traffic usage exceeded a certain number (e.g. 10 Gig)
There was no such feature and I had two options to go with
1. writing a or some bash scripts as wrapper round "vpncmd"
2. working with RPC-JSON API

The #1 is simple and could be done in few days or weeks, but #2 was harder and more challenging , so I toke #2.
And here is the result
https://github.com/shakibamoshiri/secli

At the moment mostly I am looking for
- bug reports to fix
- common expect functionalities to see and implement (if possible)

I think SoftEther VPN a great tool/technology and deserves having a CLI to be managed with.
So please share your thoughts and ideas to make secli more reliable

Regards

Re: secli - Bash CLI to manage SoftEther VPN Server using JSON-RPC

Posted: Sun Feb 12, 2023 2:27 am
by solo
Great idea. I was thinking about the same but in PHP cli/gui... for portability.