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

Passing a password for an SSL-Key in openvpn

At the moment I am about to change a script called "pkitool" (if anybody who doesn't use openvpn, but wants to help me as well, this is how the pkitool looks like:…
BoJack Horseman
  • 4,406
  • 13
  • 38
  • 70
6
votes
1 answer

Create a lightweight openvpn client on Android (server config already)

I have a server which I install openvpn. I have config some client and now I want to create an openvpn client to connect to it with the client config I've created. I know there is an OpenVpn client on the market. But, how can I do my own client with…
user2134598
  • 87
  • 1
  • 1
  • 3
6
votes
1 answer

OpenVPN and Android NDK

I have a custom made C (cross-platform) application. An OpenVPN variant. I want to compille this for the Android version with NDK. It compiles under Linux. Does this mean i can easily compile it for Andoird too with the NDK? And if so, how can i…
Vivendi
  • 20,047
  • 25
  • 121
  • 196
5
votes
2 answers

OpenVPN Client in Kubernetes Pod

I am looking at how to make OpenVPN client work on a pod's container, I explain what I do, but you can skip all my explanation and offer your solution directly, I don't care replacing all the below with your steps if it works, I want to make my…
Melardev
  • 1,101
  • 10
  • 22
5
votes
1 answer

AWS Client VPN Client-Client Communication

I have an AWS Client VPN set up using certificate auth. I'm setting this up for a client-client access system, essentially as is described in this AWS scenario/example. It's all working, and I can ping from one client to another if I know their IP…
Jordan
  • 3,998
  • 9
  • 45
  • 81
5
votes
1 answer

Hiding a docker container behind OpenVPN, in docker swarm, with an overlay network

The goal: To deploy on docker swarm a set of services, one of which is only available for me when I am connected to the OpenVPN server which has also been spun up on docker swarm. How can I, step by step, only connect to a whoami example container,…
Jimbo
  • 25,790
  • 15
  • 86
  • 131
5
votes
1 answer

Docker exposed port stops working when connected to a VPN

I'm trying to create a Docker image which will forward a port through a VPN. I've created a simple image which exposes port 5144, and tested that it works properly: sudo docker run -t -d -p 5144:5144 \ --name le-bridge \ …
executifs
  • 1,138
  • 1
  • 9
  • 23
5
votes
3 answers

How to remove openvpn profile from windows 10

I am trying to delete the outdated profiles of open vpn from the GUI in Windows 10. There does not seem to be a delete option. Any pointers on how to get rid of old profiles would be helpful. The user manual says to use the delete button but there…
craba
  • 187
  • 1
  • 1
  • 8
5
votes
2 answers

Creating VPN by using OpenVPN

I am facing issue to connect VPN on Android 10 and getting below message in logcat. This is Error of permissions. Looking for solution. Also added android:requestLegacyExternalStorage="true" in Mainfest but not work for me. D/ConnectionStatus: IO…
5
votes
1 answer

Ubuntu 18, VPN and DNS: curl wont resolve VPN-host, but nslookup and dig can

i found that apparently in Ubuntu 18 the whole DNS-setup is very confusing. Im connected through an pritunl VPN to my kube-cluster and im trying to use the kube-dns server. So i first tried to use…
leberknecht
  • 1,526
  • 15
  • 27
5
votes
0 answers

How to make a Docker VPN gateway for other Docker containers & stacks?

We are implementing a CI infrastructure as Docker stacks. Some of the containers in the stacks now need to access external services, only available through an OpenVPN connection, let's say on the 192.168.2.0/24 subnet. In order to keep containers as…
Ad N
  • 7,930
  • 6
  • 36
  • 80
5
votes
1 answer

Settingup router vpn while exluding Netflix

I have an DD-WRT router with an activated OpenVPN service. I have created the following startup script which I was hoping would exclude Netflix from the VPN tunnel. However, I havent succeeded just yet. When I lookup the ip at whatsmyip.org I still…
7heViking
  • 7,137
  • 11
  • 50
  • 94
5
votes
1 answer

Openvpn client log file

I have set up a openvpn client (version 2.3.12) on a Raspberry Pi (Raspbian 7 whezzy) and I configured a vpntest.conf file in the folder /etc/openvpn. The connection is working when I call it with sudo openvpn /etc/openvpn/vpntest.conf But when I…
anderswo
  • 89
  • 1
  • 1
  • 7
5
votes
2 answers

Custom OpenVPN iOS client

I'm working on a custom iOS OpenVPN client. I found this native OpenVPN client core sources https://staging.openvpn.net/openvpn3/ I can build it for the iOS platform. How can I integrate this OpenVPNClient as an extension to set up an OpenVPN…
Alex Bakhitn
  • 59
  • 1
  • 3
5
votes
1 answer

Is TCP over UDP VPN reliable?

Does TCP in applications will be reliable if I will use it over UDP VPN? For example, I have VPN server with some application listen TCP on 10.8.0.1:8080 and I will connect from TCP from host 10.8.0.2 to 10.8.0.1:8080. Will it be…
Ivan Borshchov
  • 3,036
  • 5
  • 40
  • 62