Disable export vpn config
-
- Posts: 1
- Joined: Wed Aug 06, 2025 10:06 am
Disable export vpn config
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.
-
- Posts: 1711
- Joined: Sun Feb 14, 2021 10:31 am
Re: Disable export vpn config
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...
Something like this viewtopic.php?f=7&t=69774
EDIT
The patching works...
-
- Posts: 1711
- Joined: Sun Feb 14, 2021 10:31 am
Re: Disable export vpn config
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"
The "Export VPN Connection Setting" option is now ineffective.
- 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