disable webui

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
saeed_ta98
Posts: 1
Joined: Fri Sep 27, 2019 4:13 pm

disable webui

Post by saeed_ta98 » Fri Sep 27, 2019 4:17 pm

hello
i wanted to disable vpn server webui completly
because the govetment can detect my vpnserver
by scanning and finding this page

SoftEther VPN Server / Bridge
For VPN users:

Connect to this VPN Server
by Official SoftEther VPN Client (download)
by L2TP/IPsec, OpenVPN or SSTP traditional clients
For VPN administrators:

Manage this VPN Server or VPN Bridge
by SoftEther VPN Server Manager GUI for Windows / macOS (download) (Recommended)
by SoftEther VPN Command Line Management Utility (vpncmd) for CUI
by JSON-RPC API from your favorite programming language (JavaScript, TypeScript, Java, Python, Ruby, C#, ... etc.)
(ID: 'administrator', Password: same to the VPN Server's password. Default: empty)
by Built-in HTML5 Web Administration Console (New, under construction)
(ID: 'administrator', Password: same to the VPN Server's password. Default: empty)

If you want to disable this embedded web server and JSON-RPC server:
Stop the daemon.
Modify the value of "bool DisableJsonRpcWebApi" from "false" to "true" on the vpn_server.config or vpn_bridge.config.
Restart the daemon.





any one can help ?

ozone
Posts: 65
Joined: Thu Sep 19, 2019 7:18 pm

Re: disable webui

Post by ozone » Fri Sep 27, 2019 8:14 pm

I assume you read the response from the webserver, as posted by you.

The last part says it all.
If you want to disable this embedded web server and JSON-RPC server:
Stop the daemon.
Modify the value of "bool DisableJsonRpcWebApi" from "false" to "true" on the vpn_server.config or vpn_bridge.config.
Restart the daemon.
So.... either in Softether-vpn-server-manager:
-click "edit config" button,
-export the config with the "save to file" button,
-open it in Notepad++ (for instance),
-find the "bool DisableJsonRpcWebApi",
-change it from false to true, and save file,
-go back to Softether-vpn-server-manager, "edit config" button,
-but now use "import file and apply" button to import the file you just edited.

That should be it.

Or...

-Stop the service(deamon) in linux or windows (or whatever you run softether in/on)
-edit the "vpn_server.config" file with your favorite editor,
-change "bool DisableJsonRpcWebApi" from "false" to "true",
-save file,
-start service(deamon) again.

Done!

Good luck.

Post Reply