Skip to main content
The 2024 Developer Survey results are live! See the results
26 events
when toggle format what by license comment
S Oct 8, 2023 at 9:20 history suggested Sergio CC BY-SA 4.0
Various grammar fixes
Oct 8, 2023 at 1:02 review Suggested edits
S Oct 8, 2023 at 9:20
Aug 9, 2023 at 13:01 review Suggested edits
Aug 10, 2023 at 9:27
Aug 26, 2022 at 17:12 history edited DGoiko CC BY-SA 4.0
added 385 characters in body
Aug 26, 2022 at 17:05 history edited DGoiko CC BY-SA 4.0
added 385 characters in body
May 2, 2021 at 23:57 comment added bfrguci I know my configs are correct, because if I manually start the OpenVPN GUI and double click on its taskbar icon, it automatically connects to my server with no problem. Also, I can manually run the CLI client openvpn.exe with my config file, no problem either. I am also sure that my configs are in the shared location under "Program Files", not in my user specific location.
May 2, 2021 at 23:55 comment added bfrguci This approach sounds promising but does not work on my machine with Windows 10 and the v2.5.2 OpenVPN Community client (openvpn.net/community-downloads). The client installs an "OpenVPN Interactive Service", but the service description says that it simply provide connection functionalities to the OpenVPN GUI that runs in non-privileged mode. The outcome is that I put my config and certs, etc. in the above places and check that the service is already set to automatically start. Yet nothing happens when my system starts.
Dec 8, 2020 at 7:16 comment added Klaws @YetAnotherRandomUser There is a README.txt in C:\Program Files\OpenVPN\config which mentions "When OpenVPN is started as a service, a separate OpenVPN process will be instantiated for each configuration file." and "When OpenVPN GUI is started configs in this directory are added to the list of available connections."
Aug 20, 2018 at 7:55 comment added DGoiko @YetAnotherRandomUser sorry I initially missed your comment. I've never seen it in the documentation, however, in my experfience thats what happens. Normally, as you only have ONE TUN/TAP interface, only the first bind success, so, yes, only the first connection is used, but thats caused because both connections want to exclusively bind to the same interface. With proper configuration files, every connection is stablished, which has been a pain in the a** for me. I've edited the original post. Sometimes is it not the first file the one that wins the race to bind to the interface, giving probs
Aug 20, 2018 at 7:52 history edited DGoiko CC BY-SA 4.0
added 316 characters in body
Aug 20, 2018 at 7:46 history edited DGoiko CC BY-SA 4.0
added 316 characters in body
S Aug 16, 2018 at 4:31 history suggested Chris Morgan CC BY-SA 4.0
Rewrite the first section completely for a drastic improvement in clarity (reviewers: please don’t blindly reject this, it’s a genuine and extremely useful change; before the edit, the answer is rambly and hides the useful information in poor investigative technique and prose; intent is preserved)
Aug 16, 2018 at 2:22 review Suggested edits
S Aug 16, 2018 at 4:31
Apr 17, 2018 at 1:27 review Suggested edits
Apr 17, 2018 at 2:01
Mar 30, 2018 at 12:36 history edited DGoiko CC BY-SA 3.0
added 59 characters in body
Feb 15, 2018 at 17:14 comment added DGoiko @deed02392 not that I know, sorry.
Jan 14, 2018 at 12:19 comment added deed02392 Is there a way that the OpenVPN GUI can 'see' the active connections made by the service?
Apr 2, 2017 at 18:50 comment added user198350 Also Task Scheduler (<kbd>Windows key</kbd> + <kbd>R</kbd>, typeTaskschd.msc and press <kbd>Enter</kbd>) can be used.
Jan 23, 2017 at 21:26 comment added YetAnotherRandomUser Oh, BTW, the service is not the same thing as the GUI, and the service doesn't give you the option to pick a different profile later, nor does it give you any kind of feedback.
Jan 12, 2017 at 8:33 history edited DGoiko CC BY-SA 3.0
added 1415 characters in body
Jan 12, 2017 at 8:25 comment added DGoiko If you want an user not to be able to connect to the Internet until the VPN is up, you could leave his default gateway unconfigured and set a static persistent route to the VPN server. Once the VPN client is connected, you can use the "push" to add routes through the VPN on clients. I'm editing my initial answer to cover this
Jan 12, 2017 at 8:22 comment added DGoiko Hello Dan. Most of my experience comes from OpenVPN servers in CentOS, and whenever I store multiple server files it runs them all. I'll conduct a test to determine if the behaviour with client files is the same, but I've no reason to think it will be different. Sorry if I misleaded you, will report back ASAP (I'm at work right now, either when I've some free time or after work i'll check it on a Windows machine).
Jan 11, 2017 at 18:56 comment added YetAnotherRandomUser "The OpenVPN service will look into the config directory and connect to every VPN profile that is stored here." That doesn't seem to be the case. It seems to be that it connects to the first one, when they are sorted alphabetically. Can you link to documentation? I can't find a section that covers that.
Jan 11, 2017 at 17:19 comment added YetAnotherRandomUser I consider myself a power user, but I'd like to be able to set this up for nonpower users and have it work seamlessly too. I don't need to prevent other power users from tinkering.
Jan 11, 2017 at 16:40 comment added Jeff F. You could use the route command to force all traffic through the VPN. See comentum.com/route.html
Jan 11, 2017 at 16:28 history answered DGoiko CC BY-SA 3.0