Overview over Server Virtual Hub
-
- Posts: 15
- Joined: Sun May 12, 2019 5:40 pm
Overview over Server Virtual Hub
I have a Softether Server running with 40 Virtual Hub
I am looking for a program or a way where I can have a overview over all the 40 Hub if any is connected to the Hub.
I am looking for a program or a way where I can have a overview over all the 40 Hub if any is connected to the Hub.
-
- Posts: 477
- Joined: Tue Sep 11, 2018 5:58 pm
Re: Overview over Server Virtual Hub
I adapted vpncmd sorce code, so I do not have to type in any info like IP, hub name, password... so I only star it in command window and I get result from command SessionList.
If you make 40 times compilation for different hub name, then just call 40 times your special vpncmd and you get list of all connections at once. If you redirect in filename then you get text file.
If you make 40 times compilation for different hub name, then just call 40 times your special vpncmd and you get list of all connections at once. If you redirect in filename then you get text file.
-
- Posts: 15
- Joined: Sun May 12, 2019 5:40 pm
Re: Overview over Server Virtual Hub
Today I am running SE-VPN Server Manager (Tools) from a windows machine
and the Softether server is on another machine
I am looking for something where I from my windows can have an overview
and the Softether server is on another machine
I am looking for something where I from my windows can have an overview
-
- Posts: 477
- Joined: Tue Sep 11, 2018 5:58 pm
Re: Overview over Server Virtual Hub
Of course it works also from another machine!
See my thread:
https://www.vpnusers.com/viewtopic.php?f=7&t=66431
See my thread:
https://www.vpnusers.com/viewtopic.php?f=7&t=66431
-
- Posts: 1293
- Joined: Sun Feb 14, 2021 10:31 am
Re: Overview over Server Virtual Hub
No need to peruse the source code to compile a special version of vpncmd and then call it 40 times. Create these two files and fill-in your server's data:
Code: Select all
SoftEther.bat
-------------
vpncmd /server address:port /password:password /in:batch.txt > %tmp%\SoftEther.txt
start wordpad.exe %tmp%\SoftEther.txt
batch.txt
---------
hub hub1
SessionList
hub hub2
SessionList
...
...
...
hub hub40
SessionList
-
- Posts: 477
- Joined: Tue Sep 11, 2018 5:58 pm
Re: Overview over Server Virtual Hub
Password is visible
-
- Posts: 15
- Joined: Sun May 12, 2019 5:40 pm
Re: Overview over Server Virtual Hub
Solo>>>>
If I create the Softether.bat file where to place it then?
You are talking about two files?
If I create the Softether.bat file where to place it then?
You are talking about two files?
-
- Posts: 1293
- Joined: Sun Feb 14, 2021 10:31 am
Re: Overview over Server Virtual Hub
As vpncmd is in the system's path, you can place the two files (together) anywhere.
Refer to this doc if you have any doubts about the syntax.
Refer to this doc if you have any doubts about the syntax.
-
- Posts: 15
- Joined: Sun May 12, 2019 5:40 pm
Re: Overview over Server Virtual Hub
Solo>>>>>>>
I created Softether.bat and batch.txt and placed them on my windows desktop and started Softether.bat
But is is only showing again and again the patch to the Softether.bat file
I created Softether.bat and batch.txt and placed them on my windows desktop and started Softether.bat
But is is only showing again and again the patch to the Softether.bat file
-
- Posts: 1293
- Joined: Sun Feb 14, 2021 10:31 am
Re: Overview over Server Virtual Hub
Place both files on path without spaces, eg C:\SoftEther\SoftEther.bat
If still a problem, add "pause"...
...and post the exact error message.
If still a problem, add "pause"...
Code: Select all
vpncmd /server address:port /password:password /in:batch.txt > %tmp%\SoftEther.txt
start wordpad.exe %tmp%\SoftEther.txt
pause
-
- Posts: 15
- Joined: Sun May 12, 2019 5:40 pm
Re: Overview over Server Virtual Hub
solo>>>>
Still the same, even I put in the line pause
Showing the path where SoftEther.bat is placed again and again
Still the same, even I put in the line pause
Showing the path where SoftEther.bat is placed again and again
-
- Posts: 1293
- Joined: Sun Feb 14, 2021 10:31 am
Re: Overview over Server Virtual Hub
MS CLI issues are off-topic on this forum. Please refer to Windows CMD Shell How-to guides and examples or wait for someone to offer a point-and-click GUI app for an Overview over Server Virtual Hub.