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
4
votes
0 answers

"Timed out" when using openvpn-api for Python

I don't know if anyone here have ever used openvpn-api for Python, I couldn't find any troubleshooting about it. So here is my problem... I'm trying to connect to my VPN management interface, using this openvpn-api. But the connection never happens,…
jgtvares
  • 337
  • 2
  • 13
4
votes
2 answers

I can't connect mysql client to RDS through VPN

I've been really struggling to use AWS RDS. All networking configuration things is a really pain in the back since I have no skills in networking and I don't like it either. My goal is to create my mysql DB on RDS be able to connect to it through…
4
votes
0 answers

In iOS after session.startTunnel() connection status stops on connecting state

We are trying to connecting vpn (TCP & UDP) through “.ovpn” configuration using TunnelKit, But after calling startTunnel NEPacketTunnelProvider is not initiating. Here's code: private func makeProtocol() -> NETunnelProviderProtocol { let…
Sanjay Bhalani
  • 2,424
  • 18
  • 44
4
votes
0 answers

Is it possible to add a network route to a Docker container running in a swarm?

In our swarm, some containers will need to access external service via an OpenVPN connection. Adhering to separation of responsibilities, we implement a client OpenVPN containers that will be responsible for the VPN layer. And we intend other…
Ad N
  • 7,930
  • 6
  • 36
  • 80
4
votes
1 answer

Tunnelblick can't load load net.tunnelblick.tun and/or net.tunnelblick.tap kexts

Description of the bug I'm using Tunnelblick 3.7.9beta02 (build 5200) on macOS Mojave version 10.14.2 (18C54). It was working just fine until I installed Sophos. So removed sophos, but the problem persists. When I try to connect, the following error…
Shahad Ishraq
  • 341
  • 2
  • 11
4
votes
3 answers

GCP: IP address restriction to use service account from limited set of ip addresses

I am using service accounts to access GCP resources like compute engine api , data store api . Is there any way to add ip restriction so that I can use service account only from some particular set of ip addresses ? As of now if I have service…
4
votes
1 answer

How do I connect to VPN from a build running on CircleCI

I've read this, but they mention they will describe options in a follow-up article that looks like it never got written. What are my options? I'm using OpenVPN if it matters, and I have access to both the server and client configs.
Ryan Shillington
  • 23,006
  • 14
  • 93
  • 108
4
votes
2 answers

How to create an SSL connection using an installed user certificate on android

We are using user certificates for authentication from our mobile application to an F5 server. We have tested the process using a test certificate that we installed and created a keystore to use in creating our SSLContext object. For production we…
Mike
  • 41
  • 2
4
votes
3 answers

docker-compose not adding hostname to /etc/hosts

I'm working on a docker-compose config which should spin up an openvpn container attached to a dnsmasq container. The openvpn server should automatically discover the dnsmasq container and use it as the dns server. Discovery is done by searching for…
Sven van de Scheur
  • 1,809
  • 2
  • 15
  • 31
4
votes
1 answer

How to Config openVPN programmatically in swift?

I am new to IOS - Swift. I don't know how to config openVPN programmatically in swift. I have .ovpn file. I am able to config the .ovpn file via "openVPN connect APP"(which is available in itunes) its working fine and vpn is configured. But i don't…
4
votes
2 answers

Not able to connect openvpn ubuntu 16.04

I am trying to connect to openvpn with google authenticator enabled but it is showing the issue AUTH_FAILED,Google Authenticator Code must be a number However I am able to connect it via web. Please help me and thanks in advance
pramesh
  • 1,914
  • 1
  • 19
  • 30
4
votes
1 answer

Use STDOUT as input for openvpn auth-user-pass

I am writing a bash script to automatically connect to VPNBook's free openvpn service. I gather the username and password by calling a python script which currently just prints them to STDOUT. The python script to gather the username and password…
jamiejackherer
  • 113
  • 1
  • 2
  • 10
4
votes
2 answers

Android OpenVPN connection

I'm developing an Android application and want it to connect to an OpenVPN Server. Since Android 4.0 there is a VPNService class. This class however needs to intercept all the network packets(and require special permissions) because it is apperently…
krial
  • 842
  • 1
  • 7
  • 15
4
votes
0 answers

Compile OpenVPN or SoftEther as DLL for use in C# WPF

I am trying to make a front end for my friends VPN Server hosting company. I have made most of the application with WPF and it is working as a standalone product. It downloads the server list from his website with JSON and populates the selection…
Cameron Stubber
  • 301
  • 3
  • 14
4
votes
3 answers

Bash Script for automated OpenVPN logon

I am very new to bash scripting, so I apologize in advance for being vague. I have a varied number of OpenVPN configuration profiles I need to connect too on a daily basis, and would like to make this a little easier by introducing automation. So I…
rachelproelec
  • 41
  • 1
  • 1
  • 3