tknx Posted January 30, 2020 Share Posted January 30, 2020 Hey - I started to setup OpenVPN, but Brave reports the certificate is no good: Your connection is not private Attackers might be trying to steal your information from 10.0.1.31 (for example, passwords, messages, or credit cards). Learn more NET::ERR_CERT_REVOKED ReloadHide advanced 10.0.1.31 normally uses encryption to protect your information. When Brave tried to connect to 10.0.1.31 this time, the website sent back unusual and incorrect credentials. This may happen when an attacker is trying to pretend to be 10.0.1.31, or a Wi-Fi sign-in screen has interrupted the connection. Your information is still secure because Brave stopped the connection before any data was exchanged. You cannot visit 10.0.1.31 right now because its certificate has been revoked. Network errors and attacks are usually temporary, so this page will probably work later. I realize I could just use a different browser, but obviously I would prefer to get this working. Any thoughts? Quote Link to comment
saarg Posted January 30, 2020 Share Posted January 30, 2020 2 hours ago, tknx said: Hey - I started to setup OpenVPN, but Brave reports the certificate is no good: Your connection is not private Attackers might be trying to steal your information from 10.0.1.31 (for example, passwords, messages, or credit cards). Learn more NET::ERR_CERT_REVOKED ReloadHide advanced 10.0.1.31 normally uses encryption to protect your information. When Brave tried to connect to 10.0.1.31 this time, the website sent back unusual and incorrect credentials. This may happen when an attacker is trying to pretend to be 10.0.1.31, or a Wi-Fi sign-in screen has interrupted the connection. Your information is still secure because Brave stopped the connection before any data was exchanged. You cannot visit 10.0.1.31 right now because its certificate has been revoked. Network errors and attacks are usually temporary, so this page will probably work later. I realize I could just use a different browser, but obviously I would prefer to get this working. Any thoughts? Use another browser or a certificate that is not self-signed. Quote Link to comment
Jhardy51 Posted February 2, 2020 Share Posted February 2, 2020 (edited) I am trying to set up open vpn for the first time but whenever i try and access the WebUI it says the site cannot be reached. I am following space invader ones tuorial and followed his steps but cannot get it to open. Anything im missing Edited February 2, 2020 by Jhardy51 Spelling 1 Quote Link to comment
saarg Posted February 2, 2020 Share Posted February 2, 2020 2 hours ago, Jhardy51 said: I am trying to set up open vpn for the first time but whenever i try and access the WebUI it says the site cannot be reached. I am following space invader ones tuorial and followed his steps but cannot get it to open. Anything im missing Which address are you using to access it? Quote Link to comment
Jhardy51 Posted February 2, 2020 Share Posted February 2, 2020 3 hours ago, saarg said: Which address are you using to access it? 192.168.0.42 (server ip) and then tried ports 943, 9443 and 1194 Quote Link to comment
Jhardy51 Posted February 2, 2020 Share Posted February 2, 2020 Just now, Jhardy51 said: 192.168.0.42 (server ip) and then tried ports 943, 9443 and 1194 and these are the settings Quote Link to comment
saarg Posted February 2, 2020 Share Posted February 2, 2020 1 hour ago, Jhardy51 said: and these are the settings You can just use the webui link on the docker page. That takes you to the admin page at https://192.168.0.42:943/admin, which is the correct address. Quote Link to comment
Jhardy51 Posted February 2, 2020 Share Posted February 2, 2020 1 minute ago, saarg said: You can just use the webui link on the docker page. That takes you to the admin page at https://192.168.0.42:943/admin, which is the correct address. This is what i get, Im click on the docker image on the docker page, then web ui and I get this. Quote Link to comment
saarg Posted February 2, 2020 Share Posted February 2, 2020 6 minutes ago, Jhardy51 said: This is what i get, Im click on the docker image on the docker page, then web ui and I get this. Try using /mnt/cache/ instead of /mnt/user/ for the appdata. Also post the container log. Quote Link to comment
Jhardy51 Posted February 2, 2020 Share Posted February 2, 2020 16 minutes ago, saarg said: Try using /mnt/cache/ instead of /mnt/user/ for the appdata. Also post the container log. Sorry ive tried googling it, how do i do this? everything ive tried has come up with the folder doesnt exist in lamens terms Quote Link to comment
saarg Posted February 2, 2020 Share Posted February 2, 2020 (edited) 1 hour ago, Jhardy51 said: Sorry ive tried googling it, how do i do this? everything ive tried has come up with the folder doesnt exist in lamens terms You edit the template for openvpn-as and change your appdata path where it says /mnt/user/whatever_your_share_is/openvpn-as to /mnt/cache/whatever_your_share_is/openvpn-as You have to click "Show more settings" to see it. Edited February 2, 2020 by saarg Quote Link to comment
MikeyJJ Posted February 8, 2020 Share Posted February 8, 2020 Hi, I'm sure I'm doing something wrong - OpenVPNAS runs fine on my machine that is until I update it... once I update it, it loses all settings and I have to start again and reconfigure it and reissue new keys to users etc... I like to keep things updated but my only choice at the moment is to not update OpenVPNAS... Am I doing something wrong, is this correct behaviour for this docker? Any help would be very much appreciated!! Quote Link to comment
Hoopster Posted February 8, 2020 Share Posted February 8, 2020 19 minutes ago, MikeyJJ said: once I update it, it loses all settings and I have to start again and reconfigure it and reissue new keys to users etc. Did you read and follow the Application Setup instructions in the links in the first post if this thread? If your users were created with PAM authentication, their credentials do not survive container reboots/updates. Quote Link to comment
MikeyJJ Posted February 8, 2020 Share Posted February 8, 2020 1 minute ago, Hoopster said: Did you read and follow the Application Setup instructions in the links in the first post if this thread? If your users were created with PAM authentication, their credentials do not survive container reboots/updates. Hi yes I did. It's not just the users - the entire configuration is reset. Everything under Configuation, User Management, Authentication is all reset to 'default' - it's as if I've deleted the docker and reinstalled it.... Quote Link to comment
Hoopster Posted February 8, 2020 Share Posted February 8, 2020 25 minutes ago, MikeyJJ said: Hi yes I did. It's not just the users - the entire configuration is reset. Everything under Configuation, User Management, Authentication is all reset to 'default' - it's as if I've deleted the docker and reinstalled it.... I just updated this container as I have done many times and all configuration information was preserved (as it always has been). The only thing I can think of is the location to which the OVPN configuraiton is saved in your appdata share is somehow read-only and the changes are never written permanently. Grasping at straws, perhaps. Quote Link to comment
aptalca Posted February 8, 2020 Share Posted February 8, 2020 36 minutes ago, MikeyJJ said: Hi yes I did. It's not just the users - the entire configuration is reset. Everything under Configuation, User Management, Authentication is all reset to 'default' - it's as if I've deleted the docker and reinstalled it.... Check the logs after an update. Post your docker run. Make sure the config folder is on /mnt/cache Quote Link to comment
JonathanM Posted February 8, 2020 Share Posted February 8, 2020 9 hours ago, aptalca said: Make sure the config folder is on /mnt/cache And make sure your cache pool is healthy. Quote Link to comment
cherritaker Posted February 9, 2020 Share Posted February 9, 2020 I'm getting an error when I try to log in as admin to openvpn that says my "session has expired, please reauthenticate (9007)" I removed the docker and image and did a clean reinstall and it still pops up with the same error. The full error reads: Sorry, a session error has occurred It is possible that your session has expired or your login credentials do not allow access to this resource. See error text below for further details: SESSION ERROR: SESSION: Your session has expired, please reauthenticate (9007) It give a link to retry the login but I end up in an endless loop to this page again. Any ideas as to why I cannot log in with this clean install? thanks. Quote Link to comment
aptalca Posted February 10, 2020 Share Posted February 10, 2020 2 hours ago, cherritaker said: I'm getting an error when I try to log in as admin to openvpn that says my "session has expired, please reauthenticate (9007)" I removed the docker and image and did a clean reinstall and it still pops up with the same error. The full error reads: Sorry, a session error has occurred It is possible that your session has expired or your login credentials do not allow access to this resource. See error text below for further details: SESSION ERROR: SESSION: Your session has expired, please reauthenticate (9007) It give a link to retry the login but I end up in an endless loop to this page again. Any ideas as to why I cannot log in with this clean install? thanks. Post your docker run Quote Link to comment
TomS Posted February 10, 2020 Share Posted February 10, 2020 21 minutes ago, aptalca said: Post your docker run I have the same issue. It says "SESSION ERROR: SESSION: Your session has expired, please reauthenticate (9007)" I've used the default docker-compose.yml provided on docker hub page. version: "2" services: openvpn-as: image: linuxserver/openvpn-as container_name: openvpn-as cap_add: - NET_ADMIN environment: - PUID=1000 - PGID=1000 - TZ=America/New_York - INTERFACE=eth0 #optional volumes: - openvpn_data:/config ports: - 943:943 - 9443:9443 - 1194:1194/udp restart: unless-stopped volumes: openvpn_data: Quote Link to comment
JonathanM Posted February 10, 2020 Share Posted February 10, 2020 7 minutes ago, TomS said: I have the same issue. It says "SESSION ERROR: SESSION: Your session has expired, please reauthenticate (9007)" I've used the default docker-compose.yml provided on docker hub page. Quote If you are not using Unraid (and you should be!) then please do not post here, instead head to linuxserver.io to see how to get support. From the first post in this thread. Quote Link to comment
TomS Posted February 10, 2020 Share Posted February 10, 2020 10 minutes ago, jonathanm said: From the first post in this thread. My bad. sorry about that. Quote Link to comment
cherritaker Posted February 10, 2020 Share Posted February 10, 2020 53 minutes ago, aptalca said: Post your docker run How does one go about finding the docker run to post? Quote Link to comment
trurl Posted February 10, 2020 Share Posted February 10, 2020 27 minutes ago, cherritaker said: How does one go about finding the docker run to post? First link in the Docker FAQ pinned near the top of the Docker Engine subforum. Quote Link to comment
cherritaker Posted February 10, 2020 Share Posted February 10, 2020 root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='openvpn-as' --net='bridge' -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'PGID'='100' -e 'PUID'='99' -p '943:943/tcp' -p '9443:9443/tcp' -p '1194:1194/udp' -v '/mnt/user/appdata/openvpn-as':'/config':'rw' --cap-add=NET_ADMIN 'linuxserver/openvpn-as' 8e356127ef4712a502b0a24a3d9b9324c7c6fcedc5e8a2273cb4a4461ba97c28 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.