openwrt / luci

LuCI - OpenWrt Configuration Interface
Apache License 2.0
6.28k stars 2.51k forks source link

luci-app-softether does not show any information #5474

Open NilsRo opened 2 years ago

NilsRo commented 2 years ago

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

jow- commented 2 years ago

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

NilsRo commented 2 years ago

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

grafik

jow- commented 2 years ago

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

NilsRo commented 2 years ago

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...

jow- commented 2 years ago

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

NilsRo commented 2 years ago

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.

Mohsen7s commented 2 years ago

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.

leosongwei commented 2 years ago

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

ringtailedfox commented 2 years ago

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

asmwarrior commented 1 year ago

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.

nikemir commented 6 months ago

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!

ringtailedfox commented 6 months ago

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

nikemir commented 6 months ago

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.