Hello,
Just want the share this program / code with you all - I wanted a easy way to check for logged in sessions instead of opening the full GUI and have come up with this.
It's a Python code to load a small widget into the tray that when clicked on, shows sessions connected to a local Softether VPN Server, based on VPN Hub. (instead of going through the Softether VPN GUI). It will also show a notification pop up through the native windows notification system when a new user connects. (ensure ‘Focus Assist’ is allowing notifications!)
Full info here; 
https://www.jamescooke.me.uk/it-interne ... in-python/
			
						SoftEther Tray Monitor / Notifications Of New Sessions
- 
				jam_rs
 - Posts: 1
 - Joined: Sun Apr 27, 2025 8:41 pm
 
SoftEther Tray Monitor / Notifications Of New Sessions
You do not have the required permissions to view the files attached to this post.
			
									
						- 
				solo
 - Posts: 1734
 - Joined: Sun Feb 14, 2021 10:31 am
 
Re: SoftEther Tray Monitor / Notifications Of New Sessions
A ChatGPT code, interesting. A non-GUI, non-AI equivalent would be...
Output:
			
									
									
						Code: Select all
@echo off
:go
cls
vpncmd localhost /server /password:xxx /adminhub:VPN /cmd SessionList
ping -n 10 localhost > nul
goto go
Code: Select all
...
Item            |Value
----------------+-------------
Session Name    |SID-1-1
VLAN ID         |-
Location        |Local Session
User Name       |1
Source Host Name|localhost
TCP Connections |2 / 2
Transfer Bytes  |1,026
Transfer Packets|3
