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

Git clone from remote repo hangs after Compressing Objects 100% done

I work in Windows 7, 64-bit. I want to check out source code from a private git repo which I am connected to by OpenVPN. I connected to a private server via OpenVPN for Windows. The connection is established and works fine, I can ping the server and…
baumi1543
  • 111
  • 1
  • 4
11
votes
2 answers

Is it possible to setup a VPN on Heroku?

Is it possible to setup a VPN using openVPN on heroku to keep a staging environment private? If so, anyone have a writeup or links?
Justin
  • 1,070
  • 2
  • 12
  • 16
10
votes
6 answers

How can one use the command-line to use openvpn on windows?

I have been trying to come up with a way to interact with openvpn on windows. I did fine the openvpn.exe but there are no commands that will use a config file to connect with a vpn server. I am using nordvpn by the way. Specifically a tcp Canadian…
Hamza
  • 255
  • 1
  • 4
  • 10
10
votes
1 answer

VPN clients to resolve private DNS hostnames in AWS

I've recently setup OpenVPN server on an AWS EC2 instance in order to connect my office to the AWS VPC environment. I'm using TunnelBlick as the VPN client and all is good! I can ssh to the private IPs in the VPC. However, resolving the DNS VPC…
Antonio Gomez Alvarado
  • 1,842
  • 2
  • 13
  • 24
10
votes
1 answer

How to check whether a driver is installed?

I am working on a VPN project.. I have a small doubt regarding TUN/TAP. How do I programmatically check/detect if a TUN/TAP driver is installed on a system in C#?
user2430116
  • 147
  • 2
  • 2
  • 8
9
votes
3 answers

Pre-configured EC2 VPN AMI

I have been google-ing around for the answer to this for that last hour or so but can't find anything on it. I would like to have pre-configured ami for AWS EC2 that will let me spin up an instance and ssh in and set user/pass for people to VPN…
JoshStrange
  • 1,121
  • 1
  • 7
  • 22
9
votes
1 answer

How can I programmatically connect and disconnect vpn connections by using android's "openvpn connect" app in combination with intents?

I'm working on an android app that should start an OpenVPN Connect session automatically when needed. How can I programmatically connect and disconnect vpn connections by using android's "openvpn connect" app in combination with intents…
composit
  • 101
  • 1
  • 3
9
votes
2 answers

SSH connection screwed up after VPN connection established

for my problem I searched a lot but did not find a feasible solution, so I thought to my self to place a question in here. The problem: I have a remote server (lets call it A) and a local computer (lets call it B), both running Ubuntu 14.04. I…
Cuong Truong
  • 111
  • 1
  • 2
  • 5
9
votes
2 answers

bash sequence: wait for output, then start next program

In my case I have to run openvpn before ssh'ing into a server, and the openvpn command echos out "Initialization Sequence Completed". So, I want my script to setup the openvpn and then ssh in. My question is: How do you execute a command in bash in…
stilliard
  • 762
  • 8
  • 27
8
votes
4 answers

Installing pcks12 certificate in android "wrong password" bug

When trying to import a pkcs12 certificate file into android for use with the openvpn connect app, I am prompted to input a password. This is the password relevant to this pkcs12 file. I proceed to input the correct password and am met with a…
8
votes
2 answers

Connecting in a Linux box to AWS-VPN using OKTA Push Authentication

First of all, a rookie, related to VPN/Security issues, so really forgive me for whatever error I make while describing my problem, and hope I'm able to make it clear. Our contractors changed AVIATRIX-OKTA VPN for AWS-VPN with OKTA Authentication,…
tonio
  • 484
  • 5
  • 15
8
votes
1 answer

Amazon Linux 2 OpenVPN client package unavailable?

When I try to run sudo yum install openvpn on an Amazon Linux 2 instance that I just created, I receive the message No package openvpn available Do I need to add a package repository? I don't find mention of needing to do so anywhere.
Josh Russo
  • 3,080
  • 2
  • 41
  • 62
8
votes
2 answers

Route Docker Container traffic through a VPN container

I've installed a couple of containers on my RockPro64 (ARMv8 Processor rev 2(v8|) running openmediavault (version 4.1.27-1 Arrakis). Everything is working like a charm. Containers that I use include Transmission, Jellyfin, Radarr, Sonarr, Jackett...…
Sam Simons
  • 115
  • 1
  • 1
  • 6
8
votes
2 answers

How to use openvpn in nodejs?

I have NodeJS App and want to start use OpenVPN connection in it. To do that I found 2 modules on npm (openvpn-client and openvpn-bin) - but any of them has no good docs and examples, but I try as I can to use them and it was unsuccessful. I have…
8
votes
2 answers

OpenConnect autoconnect/reconnect script?

I have this script: #!bin/bash NAME="user" PIDFILE="openconnect.pid" CERT="user.crt" KEY="user.key" PASS="pass" HOST="https://example.com" SCRIPT="/etc/vpnc/vpnc-script" openconnect -b --script $SCRIPT --pid-file=$PIDFILE -c $CERT -k $KEY…
Andrius
  • 19,658
  • 37
  • 143
  • 243
1
2
3
63 64