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
2
votes
1 answer

openVPN Network extension packet tunnel provider not start to VPN tunnel

Open vpn not working properly. After configureVPN function start connection.startVpn part is run but nothing happened.But I would put in below I also checked PacketTunnelProvider plist everthing seems perfect. readFile function returns Data that…
Bartu Akman
  • 187
  • 10
2
votes
0 answers

openvpn push DNS fails when 'Use this connection only for resources on its network' is checked

I have setup openvpn server with following configuration local xxx.xxx.xxx.xxx port 1194 proto udp dev tun ca ca.crt cert server.crt key server.key dh dh.pem auth SHA512 tls-crypt tc.key topology subnet server 192.168.255.0…
shk
  • 63
  • 7
2
votes
2 answers

Failed openssl check in ./configure

I am trying to manually install openvpn 2.4.8 on my kali 2020.1, and it shows configure: error: openssl check failed I looked at many threads such as this and this, but couldn't fix it. What is the reason and how to fix this?
sh.3.ll
  • 815
  • 7
  • 17
2
votes
0 answers

Python script to check openvpn server is active or dead

I am looking at the python program which will check if list of remote openvpn servers are really working!! I tried the following code but no luck. after connecting the vpn server the control is not passing back to execute next line unless pressed…
Biswajit Das
  • 644
  • 7
  • 26
2
votes
0 answers

Nginx forward UDP port to OpenVPN running on same machine

I have a web server for hobby project running behind Nginx (listen to tcp port 443) On the same server, I installed OpenVPN server (listen to udp port 1194). And it's working properly with my home wifi. However, a lot of public wifi is blocking port…
Trong Hiep Le
  • 43
  • 1
  • 5
2
votes
0 answers

Running Docker commands that require user input with the Golang SDK

I am creating a service which programmatically creates and runs an OpenVPN Docker container (pschiffe/openvpn which extends kylemanna/openvpn) using the Golang SDK. At some point in the process, the command easyrsa init-pki is ran in the…
Andrew Willis
  • 2,289
  • 3
  • 26
  • 53
2
votes
0 answers

Unable to connect via OpenVPN when generating cert for Azure VPN

I am trying to create VPN in Azure and use OpenVPN Connect from Mac but was unable to do so. I followed several instructions to create the…
HP.
  • 19,226
  • 53
  • 154
  • 253
2
votes
2 answers

Trying to set up PIA with OVPN client (docker)

I have been trying to get a OpenVPN client running with docker. But I got this error while setting up. My VPN provider is Private Internet Access. This is the Docker Image I used. docker-compose up -d && docker logs -f…
Sam Simons
  • 115
  • 1
  • 1
  • 6
2
votes
1 answer

mknod: /dev/net/tun Operation not permited on kubernetes cluster using openvpn/stable

I am setting a openvpn service inside my kubernetes cluster, the issue is that i've done this before and saved the chart configuration, but now i can't really pin the problem of this issue: i've tried everything i could think of but can't really…
0x4139
  • 73
  • 2
  • 10
2
votes
0 answers

How to make a vpn connection using code on Android?

how to write some code on Android phone using java or some other language to connect a vpn account? i know the it's a PPTP vpn that i'm going to connect,and i have account name and password. i also could set it right via my HTC Desire. but,i…
Barry Wey
  • 49
  • 1
  • 6
2
votes
0 answers

Connect to EC2 instance with a private IP address via a VPN

I've created a VPC with IPv4 CIDR 172.16.0.0/16, next I've created three subnets: subnet_1 172.16.0.0/20 subnet_2 172.16.16.0/20 subnet_3 172.16.32.0/20 Next I created an Internet Gateway attached to the VPC. At this point I've created an EC2…
2
votes
1 answer

Create OpenVPN connection from docker container

I have a simple docker file FROM ubuntu:14.04 USER root RUN apt-get update && sudo apt-get -y install openvpn COPY . /tmp where . contains all necessary information about the vpn connection (ovpn file, ca file, user certificate and…
Florian Hansen
  • 746
  • 7
  • 19
2
votes
1 answer

How to create an OpenVPN client in C++? (not a tun/tap manager, a true client)

The way OpenVPN3 library works is by creating a TUN/TAP interface on the host system. On Android, for example, it's not possible to create two different VPN connections at the same time, but I really need to be able to use 2 or more connections at…
PPP
  • 1,279
  • 1
  • 28
  • 71
2
votes
1 answer

connecting to a Unix domain socket from an AWK script

I want to open a Unix domain socket for both reading and writing from an AWK script. I'm using Gnu AWK. Accoring to this guide, ordinary sockets could be opened as "/net-type/protocol/local-port/remote-host/remote-port", where "net-type" is inet4 or…
Javad Kouhi
  • 135
  • 4
2
votes
1 answer

Access OpenVPN-restricted website with Testcafe

There's a website that can only be accessed if I have an OpenVPN Connect 2.1.3.111 profile running. I need to access this website using Testcafe, but so far I haven't found any documentation regarding using Testcafe with VPNs. Is there something I…