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
5
votes
3 answers

Pam_tally2 not resetting failures on success

I'm using OpenVPN in combination with PAM for user auth via username/password. I have created a customised PAM file as follows: auth required pam_unix.so shadow nodelay auth requisite pam_succeed_if.so user ingroup vpn auth required pam_tally2.so…
vrwolf
  • 403
  • 4
  • 10
5
votes
1 answer

OpenVPN Source vars not working on debian

I have to create a script to setup an OpenVPN server automatically. In this script I need to source the vars file in /etc/openvpn/easy-rsa/ But when I'm executing the following script in the /etc/openvpn/easy-rsa/ folder (with chmod 775 on the…
il0venoobs
  • 147
  • 1
  • 3
  • 8
5
votes
1 answer

Set VPN connection on iOS programmatically or openVPN source code

I tried to find openVPN source code for iOS, but found only for Android. OpenVPN create app for AppStore in collaboration with Apple or something, so they don't want (or can't) to distribute source codes. So, I continued searching on this theme and…
Niko
  • 65
  • 1
  • 6
4
votes
0 answers

Getting "Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)" error while trying to connect to OpenVPN on Alpine docker container

What do i do to fix this error: ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno =1). On a Docker container running the "prantlf/alpine-glibc" image, I'm trying to connect to OpenVPN. My Dockerfile: FROM…
alp3r
  • 51
  • 2
4
votes
0 answers

Connect openvpn on android via am command

I have android 6.0.1 with OpenVPN Connect 3.2.5.(7182) installed on it and trying to figure out how to connect to vpn with specified profile using adb and android am command. I found some "Tasker instructions" (don't even know what is it exactly) on…
Kaderma
  • 115
  • 6
4
votes
2 answers

VPN is not connecting after uploading android app bundle(..aab) to play store

I am using ics-openvpn version 0.7.33 latest one. The app runs fine with .apk. But once I upload to Google play store through .aab then It's not connecting. After installing the app from the play store, opens fine but on connecting throws…
jaykr
  • 81
  • 7
4
votes
0 answers

How can WSL2 use the openvpn client on Windows host to connect remote?

I am using OpenVPN GUI to connect the remote OpenVPN server, now I want WSL2 can also connect the remote server, how do?
amchii
  • 91
  • 5
4
votes
1 answer

Use sshuttle to route traffic to company's VPN server

I need to access company's internal network without using their OPENVPN server directly (My ISP blocks it). So I used an instance with a public IP, where my company is located, and have configured a OPENVPN client then used it to connect to the…
Badr
  • 694
  • 1
  • 7
  • 26
4
votes
1 answer

Access on-premise database from AWS services (e.g.: Lambda) via OpenVPN that is hosted inside an EC2 instance

I have an EC2 instance that hosts an OpenVPN service. The company has multiple mini-sites that use this service to sync its data with the headquarter. So site 1 has IP 10.8.0.1, site 2 has IP 10.8.1.1, etc.. I want to slowly shift to collect and…
SLOBY
  • 1,007
  • 2
  • 10
  • 24
4
votes
1 answer

Openvpn connection programmatically in java

I want to develop an automation application that works with VPN. For this I have Openvpn config files. However, I don't know how to connect. A solution is mentioned in this link but it didn't work for me. Where and how do I type my vpn user and…
idrisyagci
  • 218
  • 4
  • 19
4
votes
0 answers

OpenVPN "use this connection only for resources on its network" not allowing access to VPN hosted site (Ubuntu 20.04)

I am connected to a VPN using OpenVPN. Everything was working fine but the network administrator informed me I had unusually high traffic. I inspected my VPN settings and realised I had forgotten to check "Use this connection only for resources on…
Steven Gillies
  • 471
  • 7
  • 18
4
votes
1 answer

Openvpn configuration not connecting to server

I have an openvpn connection that I'm creating on a linux host to another linux host. I believe that there may be a config error or misunderstanding here. I have my client keys and server keys generated, and the CA in place, but I can't seem to…
Chris Rutherford
  • 1,592
  • 3
  • 22
  • 58
4
votes
2 answers

Cipher Alogrithm 'AES-256-GCM' Not Found (OpenVPN Error)

I was trying to connect to a .ovpn file using OpenVPN but when I try to connect it with this command: sudo openvpn --config downloaded-client-config.ovpn It failed with the following output: Wed Jun 17 23:53:03 2020 OpenVPN 2.3.10…
Sparsh Dutta
  • 103
  • 2
  • 11
4
votes
1 answer

Where do I get the old OpenVPN GUI v11.13.0.0

I have an open VPN GUI v11.13 which works perfectly on my Windows 10 laptop. Such that I can just move the client.conf, *.crt and *.key from my Ubuntu PC to the Windows 10 laptop openVpn folder and just simply connect and it just…
Naten Baptista
  • 137
  • 1
  • 1
  • 9
4
votes
0 answers

Create OpenVPN file with L2TP/IPSEC credentials

I created a VPN from my windows server and I use it with L2TP credentials access (host, preshared key, login and password). I downloaded a portable format of OpenVPN client for windows to put in USB key. The application can auto start with ovpn file…
Mayzz
  • 116
  • 1
  • 9