Hello,
I have two problems with openvpn-as:
FIRST PROBLEM
i've also got the Error
SESSION ERROR: SESSION: Your session has expired, please reauthenticate (9007)
and I am at a loss of what exactly i have to do to fix it.
My setup:
(1) I've installed the openvpn-as container in bridge mode - i set up another user name (also with admin access), then login as said user and delete the standard admin user.
(2) I switch the network mode in the container to a custom proxynet (nginx setup from spaceinvader video) so that i can reach my openvpn user and admin login from anywhere
(3) i edit the as.config file entry "boot_pam_users.0=" and put random characters in, so that my admin acc is not accesible if it was reset during switching of dhe network mode
(4) i go to my web interface login of openvpn: openvpn.***.* -> it opens to the user login page
-> i can login as my created user
(5) i go to openvpn.***.*/admin it opens to the admin login page
-> i get said error on login attempt with my created admin user
Now, people linked to this POST a couple of posts back.
There it says, regarding error solution:
"
1. iptables issues on host (either not installed or missing kernel modules)
2. you didn’t add cap-add NET_ADMIN
3. you’re using an unsupported networking method (host or macvlan)
"
1) i do not know what this means or what i have to check and possible fix
2) i've checked in advanced view, docker container is still created with "cap-add NET_ADMIN"
3) i do not know exactly what this means, is it possible that you cannot run openvpn on a custom setup unraid network (in my case "proxynet" and letsencrypt) - does it only run on "bridge" mode?
SECOND PROBLEM
Maybe related to first problem.
With my setup (as explained above) i can go on my mobile, go to my openvpn domain and download the access file for the mobile openvpn client.
BUT when i try to connect to my openvpn server the connection times out.
Openvpn is configured on UDP 1194 and i've forwarded this port to my unraid server (as per spaceinvaders video).
Any idea what could prevent it from getting a connection?
Thanks for the people reading this and in general developing this container.