Questions tagged [openvpn]

Free software implementing virtual private networks (VPN). **Important:** This tag is exclusively for programming-related questions, NOT for general questions on configuring or using VPNs; questions about general network and server administration should be directed to Server Fault, and questions about general software use should be directed to Super User.

OpenVPN is an open source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. OpenVPN allows peers to authenticate each other using a pre-shared secret key, certificates, or username/password.

In contrast to traditional VPN which uses IPSec/IP protocol (with which many home routers and firewalls have issues), it uses TLS over TCP/IP and UDP/IP protocols.

Read more about OpenVPN at Wikipedia..

954 questions
84
votes
9 answers

How make openvpn work with docker

I have recently installed privacy vpn, and it turns out that enabled openvpn breaks docker. When I try to run docker-compose up i get following error ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to…
jb.
  • 23,300
  • 18
  • 98
  • 136
66
votes
2 answers

OpenVPN failed connection / All TAP-Win32 adapters on this system are currently in use

^^ i get this error if i would connect to any OpenVPN Network. All TAP-Win32 adapters on this system are currently in use. Here is a Screenshot. -> http://www.abload.de/image.php?img=openvpn_failbhjde.jpg What i did before i post this? Removing…
PatrickB
  • 3,225
  • 5
  • 31
  • 55
45
votes
2 answers

How to create a 2nd TAP adapter for OpenVPN client on Win7/10

I want to create 2 separate tunnels on 2 separate subnets, so I have 2 separate .ovpn (client) files. The 1st tunnel comes up, but the 2nd one fails because of a conflict over the same TAP-windows adapter. Evidently the 2nd tunnel needs its own…
flymike
  • 935
  • 2
  • 9
  • 18
41
votes
1 answer

How can I get the variable value inside the EOF tags?

I have this following script, but I need to get $i variable value working inside that each block starting with EOF and ending with EOF. It is not reading the variable value but putting $i. /var/tmp/vpn.sh I…
user285594
32
votes
4 answers

Pass private key password to openvpn command directly in Ubuntu 10.10

I tried the method with different parameter I have password. Here below password is mypassword 1) root$ echo mypassword || openvpn client.conf.ovpn the result was display: mypassword 2) root$ openvpn client.warriors.conf.ovpn || echo…
bond
  • 329
  • 1
  • 3
  • 4
24
votes
2 answers

Azure VPN P2S Azure AD Authentication Connection Problem: The operation was canceled by the user

I've setup an Azure VPN Gateway according to the instructions on https://learn.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant However, each time I connect, the AAD Credentials token for the user is received successfully. But next I…
epieters
  • 1,077
  • 1
  • 7
  • 10
20
votes
2 answers

problems installing openvpn client

following the instructions on the official vpn page (instructions install openvpn client) in the second step: # curl -fsSL https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub | gpg --dearmor >…
grafeno30
  • 479
  • 1
  • 5
  • 17
19
votes
2 answers

org.jetbrains? What is it?

I recently cloned the ics-openvpn project: https://code.google.com/p/ics-openvpn/source/checkout But when I opened the project, it gave me some errors considering these lines not being resolved: import org.jetbrains.annotations.NotNull; import…
Black Magic
  • 2,706
  • 5
  • 35
  • 58
18
votes
2 answers

Best practice for connecting to a vpn though docker

Some apps we have depend on being connected to our VPN to connect to different (not-yet dockerized)solutions. What is the 'docker way' of doing this? In my mind adding OpenVPN to an existing image is against the docker philosophy. From where I'm…
Jono
  • 3,393
  • 6
  • 33
  • 48
15
votes
3 answers

How do I manage the error "OpenSSL v1.1.1 ssl_choose_client_version unsupported protocol"?

While trying to connect to a VPN via openvpn I get the following error from openssl Tue Oct 30 11:34:16 2018 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead. ... several more lines Tue Oct 30 11:34:17 2018 OpenSSL:…
Marcus
  • 1,685
  • 1
  • 18
  • 33
14
votes
1 answer

openvpn - unable to browse internet after connect to openVPN

I have set up a openVPN tunnel using the following server side configuration: port 1194 proto udp dev tun server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt ca ca.crt cert server.crt key server.key dh dh1024.pem push "route 10.8.0.0…
AZhu
  • 273
  • 2
  • 4
  • 9
14
votes
1 answer

get the ssl certificate of openvpn server on tcp port

It's easy to get the ssl certificate of HTTPS port (443 by default) But how about ssl on tcp port? Live example: 205.185.198.226:1194 This is vpn (openvpn server) running on port 1194 IP 205.185.198.226 using ssl/tls on port 1194 to proccess client…
user2203703
  • 1,955
  • 4
  • 22
  • 36
13
votes
2 answers

Can't configure easy-rsa as vars file didn't exist

I'm trying to set up open vpn latest version on CentOS 7 following this tutorial https://www.hugeserver.com/kb/how-to-config-openvpn-linux-server/ The problem was there was no "vars" file to edit. I checked every folder in easy-rsa including 3, 3.0,…
The One
  • 2,261
  • 6
  • 22
  • 38
13
votes
5 answers

Error Loading extension section usr_cert

I am running openvpn on an Ubuntu 14.04 box. The setup was fine until an OpenSSL upgrade, then when I try to create new client cert with easy-rsa, I got this message: root@:easy-rsa# ./pkitool onokun Using Common Name: onokun Generating a 2048 bit…
eN_Joy
  • 853
  • 3
  • 11
  • 20
11
votes
3 answers

Build OpenVPN with specific OpenSSL version

Similar questions have been asked before, but the answers no longer seem to apply as the flags have changed for the configure script. I am trying to compile OpenVPN from the git source on Ubuntu 14.04.5 on both x86 and x64. I have OpenSSL 1.0.1t…
Antony
  • 153
  • 1
  • 2
  • 7
1
2 3
63 64