I have 2 issues with the VPN.
1. I can connect and go online however can only access my desktop that's on the ethernet port. I cannot access my desktop on the WLAN. I am guessing I need to route via the config? Both is selected on the VPN Server settings.
2. I saw a post to block the admin account and added a custom configuration but it does not work.
Custom config:
script-security 2
client-connect /jffs/scripts/ovpn-client-connect.sh
Ovpn-client-connect.sh has this:
[username=="admin"] && exit 1
All users have execute right to the .sh
I get this error: "WARNING: Failed running command (--client-connect): could not execute external program"
On the SSH connection I tried this: dos2unix /jffs/scripts/ovpn-client-connect.sh it still does not work. I am unsure what the issue is. If I removed the custom config. The VPN works.
Hoping someone has an idea why it does not work?
1. I can connect and go online however can only access my desktop that's on the ethernet port. I cannot access my desktop on the WLAN. I am guessing I need to route via the config? Both is selected on the VPN Server settings.
2. I saw a post to block the admin account and added a custom configuration but it does not work.
Custom config:
script-security 2
client-connect /jffs/scripts/ovpn-client-connect.sh
Ovpn-client-connect.sh has this:
[username=="admin"] && exit 1
All users have execute right to the .sh
I get this error: "WARNING: Failed running command (--client-connect): could not execute external program"
On the SSH connection I tried this: dos2unix /jffs/scripts/ovpn-client-connect.sh it still does not work. I am unsure what the issue is. If I removed the custom config. The VPN works.
Hoping someone has an idea why it does not work?