I could really use this feature as well. Should be easy to implement. Additionally I would like to see a search function. Finding a VPN connection between a list of more than 100 tunnels is no fun.
The whole reason I bought the client is because OpenVPN GUI has a connection limit of 50.
Thanks for the feedback. These are both features we would like to implement and are on our list. I’m sorry we can’t give you a solid timeframe of when they might be added.
I’m afraid we don’t have anything we can report at this stage.
However I will add that most of the time when we get asked about sorting connections, people aren’t aware that Viscosity supports customising the order of connections by clicking and dragging them in the Preferences window to change their order. It’s possible to re-arrange them into any order you like, as well as sort them into folders (using the New Folder option from the “+” button).
If you have hundreds or thousands of connections, we can understand that re-ordering them by hand isn’t ideal, and so we do hope to add an alphabetical sort option in a future update.
Yes, I’m aware that customizing the order can be done by clicking and dragging.
But after installing an update the connections go back in a random order.
Folders and dragging are great features but I have to manage dozens of connections for the servers I support and an A-Z sorting feature would make life better for me.
Had the same problem, but lucky I know my way around some programming.
I will attach a .rar with the .exe of the program, so you can run it, if you don’t trust me compile from the source code(source.txt in C#) or scan via Virus total.
PLS SAVE YOUR SETTING BEFORE RUNNING THIS, THIS IS UNTESTED CODE!!
Settings file can be found in %appdata%\RoamingViscosity\Settings.xml Viscosity_Sort_Source.txt (3.73 KB)
Thanks for posting your contribution - it’s always nice to see people making mods and tools for Viscosity!
I’m afraid I had to remove the .exe file from your post. While I doubt it’s doing anything malicious, I’m afraid to protect our users we can’t take that chance. However I did leave the source code posted if someone wants to compile it for themselves (e.g. using the “cnc” command or Visual Studio).
Could someone point me in the right direction how to compile this file to an .exe please?
Tried to build is with Visual Studio Code but got some errors..
Thank you for being interested in keeping up with the latest news from us! Please double-check your email address below and then click the Subscribe button.