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

OpenVPN --auth-user-pass FILE option on Windows

If you try to pass the username/password to OpenVPN from a file via the --auth-user-pass switch, you get the following error: "Sorry, 'Auth' password cannot be read from a file." At least they're polite. So our workaround was to programmatically…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
3
votes
2 answers

Error in running netperf udp stream over openvpn

Why when I use OpenVPN with sample config file and want to measure performance with netperf UDP_STREAM, I get this error: $ netperf -H 10.8.0.1 -t UDP_STREAM MIGRATED UDP STREAM TEST from 0.0.0.0 () port 0 AF_INET to 10.8.0.1 () port 0…
Maryam Saeidi
  • 1,463
  • 2
  • 21
  • 33
3
votes
2 answers

DEVCON.EXE (driver tool) and OpenVPN

We have written an application that manages OpenVPN from the tray as an add-on for a bigger software package. OpenVPN includes a file called tapinstall.exe that installs the OpenVPN adapter (or any driver for that matter). Doing some research, this…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
2
votes
0 answers

AWS vpn assign static LOCAL IP address to the remote user?

I have an AWS VPN set up. I have just tested connecting and disconnecting to my VPN from my PC in my office. Everything works fine, but I noticed that each time I get a different IP address assigned to my remote PC. For…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
2
votes
0 answers

how build OpenVPN + Stunnel warped android app

as you know for use openvpn + stunnel we need 2 apps ( openvpn ics + ssldroid for Ex ) like this link : https://www.perfect-privacy.com/en/manuals/android_openvpn_stealth_ssldroid i should exclude stunnel on app source ? if yes how can i exclude it…
2
votes
1 answer

Select yes as an option in Github Actions

I have been working on a pipeline to create easy-rsa certificates, it was working fine but recently it failed with the error: You are about to sign the following certificate. Please check over the details shown below for accuracy. Note that this…
learner
  • 61
  • 6
2
votes
0 answers

Google Colab - OpenVPN: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)

I got the following error when trying to use OpenVPN in Google Colab. I added sudo privilege but still doesn't work. What am I doing wrong?
2
votes
1 answer

PHP shell_exec not working when adding options Ubuntu Apache2

I'm trying to run a command from PHP to disconnect a user from OpenVPN Access Server $output = shell_exec('sacli --user test --client_reason EXPIRED DisconnectUser'); echo "
$output
"; This won't work and doesn't disconnect user, I…
Azzy
  • 23
  • 2
2
votes
1 answer

OpenVPN server not pushing route

I've a OpenVPN 2.4.7 x86_64-pc-linux-gnu server running, which is providing around 120 routes. There's an issue with one of the routes not being pushed to the clients. In the server.conf file the route is added as follows: push "route xx.xx.xx.xx…
Allan P
  • 73
  • 6
2
votes
0 answers

"Update required " error while making connection with OPEN VPN in iOS app

I'm implementing an OpenVPN connection. But I'm facing "update required" error when I'm giving the VPN permission from alert under the tab setting >> VPN in red color what to do? I'm facing that error for the last two days.
2
votes
1 answer

Login OpenVPN with Google Authentication OTP from shell command

So I'm writing a script to automatically log into OpenVPN connection, which requires username, password, and Google Authenticator code. Here's the command I've got so far (username and password read from my provided credential_file.txt file) sudo…
2
votes
0 answers

Pritunl server connection issues

I created Pritunl Server successfully on my ubuntu 20.04 vps. Then when I try to connect to it using openvpn, I get a log message everytime... The log is: Sun Nov 28 18:58:55 2021 Outgoing Control Channel Authentication: Using 160 bit message hash…
2
votes
1 answer

OpenVPN Connection Using Python (Windows)

Currently, you have to manually connect to a remote database to extract info via an openvpn connection openvpn-gui.exe to extract the info and disconnect after each extraction job. Connection is authenticated by a config.ovpn file stored locally. Is…
JoshZ
  • 301
  • 1
  • 2
  • 12
2
votes
1 answer

Unable to attach debugger to Network Extension iOS ("Waiting to Attach")

I'm new to iOS development, and am writing a VPN app, using the OpenVPN framework. I'm making use of the Network Extension target to tunnel network traffic to our OpenVPN server. However, when trying to debug, I can't attach the debugger to the…
Jorn Rigter
  • 745
  • 1
  • 6
  • 25
2
votes
1 answer

Implement Split and Tunneling using OpenVPN in C# desktop application

I have created application which is connecting to VPN server using OpenVPN Community, it is working fine and connecting and disconnecting to VPN server properly, here I have another requiement. Using the same code I want to Split and Tunnel the VPN…
Chandresh Khambhayata
  • 1,748
  • 2
  • 31
  • 60