luci icon indicating copy to clipboard operation
luci copied to clipboard

luci-app-softether does not show any information

Open NilsRo opened this issue 3 years ago • 13 comments

Luci App for Softether does not show any information and hangs on "Loading account information…". Softether itself runs very fine.

firefox_Be4y8F2kLO

Using OpenWrt 21.02.0 r16279-5cc0535800 / LuCI openwrt-21.02 branch git-21.285.75922-4fd8c83

NilsRo avatar Oct 30 '21 08:10 NilsRo

Please open your browser debug console with F12 and look for errors

jow- avatar Oct 31 '21 12:10 jow-

Yes, there is a 403 error visible which matches the plugin.

grafik

NilsRo avatar Oct 31 '21 15:10 NilsRo

Did you reboot or logged out/logged in at least once since you installed the app?

jow- avatar Oct 31 '21 21:10 jow-

Yes. Found the issue. I installed vpn bridge as well as there are more options for configuration. vpn client is also installed but I switched to bridge for flexibillity. So an error in front of the monitor. :-) But would be nice if vpn bridge will be also supported. Perhaps it is easy to add...

NilsRo avatar Nov 01 '21 06:11 NilsRo

Okay, so the issue is that you already uninstalled the package again but the menu was still displaying the entry?

jow- avatar Nov 02 '21 18:11 jow-

If I stop Softether Bridge and start Softether Client it is working fine. I saw this as only Softether Client is listed as dependency. Will perhaps think about switching to Client but like the Softether Bridge as it can be configured like a hub and also this is more the case with OpenWRT Router.

NilsRo avatar Nov 02 '21 18:11 NilsRo

I also have same issue, here is what I tried. Modem Factory Reset. A fresh install of luci-app-softether which also install softethervpn5 client as dependency. Once I go to softether management URL, I get exactly permission deny by ACL.

Mohsen7s avatar Nov 26 '21 06:11 Mohsen7s

Same problem here, fresh install luci-app-softether, and got the same 403 permission deny by ACL.

[Powered by LuCI openwrt-21.02 branch (git-22.083.69138-0a0ce2a)](https://github.com/openwrt/luci) / OpenWrt 21.02.3 r16554-1d4dea6d4f

leosongwei avatar Apr 25 '22 15:04 leosongwei

is there a way to allow access to these resources so luci/openwrt doesn't whine about HTTP 403: Permission Denied errors?

ringtailedfox avatar May 22 '22 18:05 ringtailedfox

I have the same issue here. When I click on the F12, I see some error message like: PermissionError: Access to command denied by ACL I just installed the luci-app-softether. I have reboot the system, also, I have logged out and logged in again.

Any one know how to solved this issue? Thanks.

asmwarrior avatar Jun 01 '23 13:06 asmwarrior

The error stems from an hanging, unattended password prompt in accessing the VPN client services.

I traced the error all the way to the 'local' terminal command that is being executed. Note that the API call from luci is remote but the terminal command being executed is 'local'.

You will not encounter the issue if no password is set as it bypasses password prompts entirely. If you have/need a password set, must set /REMOTEONLY:yes to bypass password prompts for local operations.

Problem: VPN Client>PasswordGet Set Password | Enable Request Password for Remote Operation Only | Disable (Require password for all operations)

Solution 1: VPN Client>PasswordGet Set Password | Enable Request Password for Remote Operation Only | Enable (Bypass password for 'local' operations) To achieve, use: VPN Client>PasswordSet <YourPassword> /REMOTEONLY:yes

Solution 2: VPN Client>PasswordGet Set Password | Disable Request Password for Remote Operation Only | Disable (Bypass password prompt entirely) To achieve, use: VPN Client>PasswordSet none

Got the SoftEther Status page working. It is not in any way a configuration panel, more of an informative view of the client services. Good luck!

nikemir avatar Mar 13 '24 09:03 nikemir

is this done in OpenWRT? or do i need a VPN Program in Windows/Linux like SoftEther VPN client?

ringtailedfox avatar Mar 15 '24 01:03 ringtailedfox

Yes in OpenWRT. You have to ssh in or use terminal in OpenWRT and run: vpncmd > 2 (for vpn client) > localhost (for destination)

Then you will be presented with the VPN Client> prompt where you can use the commands above like PasswordGet and PasswordSet.

Just so that we’re on the same page, the panel is to display the connection status as a client. I have my router here (se client) to connect to an office router (se server) so that all my devices here can access office resources, without setting up/configuring each one of them. I had a previous misunderstanding where I would see the pool of clients connected to a server.

nikemir avatar Mar 15 '24 05:03 nikemir