Disable export vpn config

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
justin
Posts: 1
Joined: Wed Aug 06, 2025 10:06 am

Disable export vpn config

Post by justin » Wed Aug 06, 2025 10:10 am

Is there a way to disable users from being able to export the VPN config? The point of this so they cannot just set it up on another device as we want it to be on their work laptop only.

solo
Posts: 1711
Joined: Sun Feb 14, 2021 10:31 am

Re: Disable export vpn config

Post by solo » Wed Aug 06, 2025 2:49 pm

There is no ordinary way to do so. Would you patch the binary to disable it?
Something like this viewtopic.php?f=7&t=69774

EDIT
The patching works...

solo
Posts: 1711
Joined: Sun Feb 14, 2021 10:31 am

Re: Disable export vpn config

Post by solo » Thu Sep 04, 2025 9:37 pm

This patch applies only to SE v4.44.

- exit "SoftEther VPN Client Manager"
- "net stop sevpnclient"
- backup vpncmgr.exe or vpncmgr_x64.exe depending on Windows 32 or 64
- open vpncmgr.exe or vpncmgr_x64.exe in a hex editor
- search/replace as HEX VALUES not text (2 actual bytes are changed)
- "net start sevpnclient"
- run "SoftEther VPN Client Manager"

Code: Select all

vpncmgr.exe
 search: 06837D0C007505E9F40200008B450C50
replace: 06837D0C009090E9F40200008B450C50

vpncmgr_x64.exe
 search: 83BC24C8080000007505E92103000048
replace: 83BC24C8080000009090E92103000048
The "Export VPN Connection Setting" option is now ineffective.

Post Reply