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

Does any body know how to make a VPN connection programmatically using L2TP/IPSec server protocol in android?

Does any body know how to make a VPN connection programmatically using L2TP/IPSec server protocol in android? I'm trying to connect to my VPN server with L2TP/IPSec protocol through my android application, as i was researching I found out that with…
Waqas Ahmed Khan
  • 343
  • 4
  • 21
4
votes
2 answers

OpenVPN Api generating ovpn file

I need to generate a ovpn file using the OpenVPN API in a Java application, however I can't seem to find any information on this API. Does anyone have any experience or information that can get me started? Thanks
Black Magic
  • 2,706
  • 5
  • 35
  • 58
4
votes
6 answers

openvpn ios client custom url scheme

My application have iOS OpenVPN Connect app dependency. So I have to check if the app is already installed or not if so I will just Open the app using OpenURL scheme else I will open its appstore link so that user will install it. So my problem…
karthik
  • 1,271
  • 1
  • 14
  • 27
4
votes
0 answers

Running HMA VPN on remote server

I am trying to setup HMA VPN my remote server on Amazon EC2 machine (Ubunutu 12.04.02), so that the ip of the outgoing traffic changes. But as soon as the HMA script start vpn connection, SSH connection from my local machine to the server gets…
John Nash
  • 315
  • 2
  • 6
4
votes
2 answers

Openvpn password authentication

I am trying to connect openvpn windows client to openvpn server running on ubuntu. The VPN works fine when using 'certificate only' authentication, . But when trying to authenticate using below script, I am getting below error on the client: Mon Jan…
stdapsy
  • 154
  • 1
  • 1
  • 8
4
votes
1 answer

check status of VPN connection status for openVPN on Android

Is there any way to get the status of VPN connectivity on android 4.using openVPN ?
android_learner
  • 343
  • 2
  • 13
4
votes
2 answers

Intricacies of Windows driver signing (re-naming and re-signing OpenVPN tap driver)

I'm unclear how a driver should be signed in my specific circumstances. OpenVPN has a tap driver that consists of tap0901.sys, tap0901.cat and OemWin2k.inf files. When I install it using "devcon install OemWin2k.inf tap0901" on my win7 64-bit, it…
Krzysztof Kowalczyk
  • 3,513
  • 28
  • 28
4
votes
3 answers

A DNS server for my VPN to solve network names only

I need to setup a DNS server only to resolve the name of our network servers when a user connects on our VPN (OpenVPN). I can successfully "push" the DNS server' IP address to the client. I was in the illusion that it's easy to setup a DNS server…
user1457432
  • 543
  • 3
  • 6
  • 14
3
votes
1 answer

How to extract client certificate info from OpenVPN?

When a user is connected to my OpenVPN server would I like to extract the ID of the clients certificate. The purpose is to write a script that will prevent users from sharing their certificates with others. Right now any certificate will work with…
Sandra Schlichting
  • 25,050
  • 33
  • 110
  • 162
3
votes
1 answer

sending packets to a tap interface using python

I've been trying to send packets to a tap interface using python. I'm monitoring the tap interface using wireshark and no packets are being received. I'm doing this as an exercise mainly to help my understanding of vpns, ethernet bridging and socket…
Pete
  • 137
  • 1
  • 7
3
votes
1 answer

Python OpenVPN Script

I am attempting to write a python script for linux to start openvpn and have been running into a problem getting openvpn to start using subprocess. I am using the following to start openvpn: openvpn_cmd = ['sudo', 'openvpn', '--config',…
Gfei
  • 73
  • 1
  • 7
3
votes
0 answers

Using VPN causes Chrome Extension CSS to not load

I've built a Chrome Extension, that injects HTML elements into the existing website DOM based on different urls inside the website. When using AdBlockers, VPNs or Multi-Login browsers, the CSS sometimes doesn't get injected so the elements (divs…
amiregelz
  • 1,833
  • 7
  • 25
  • 46
3
votes
3 answers

openvpn3: session-start: how to pass username and password

Currently I am using openvpn3 client to connect to vpn server as openvpn3 session-start --config /home/user/client.ovpn then it asks for username and password. Is there any easy way to pass username and password. Because everytime to enter username…
Santhosh
  • 9,965
  • 20
  • 103
  • 243
3
votes
1 answer

AWS VPN Client Endpoint DNS resolution timeout with openVPN

I'm trying to create a AWS Client VPN endpoint. I followed this AWS tutorial and I always get a timeout error like this: DNS resolution error: 30 times. I'm not sure what to do, I saw some videos on this topic and it seems I did everything…
AFortunato
  • 181
  • 1
  • 10
3
votes
0 answers

OpenVPN Server TCP_CLIENT link local: (not bound)

I've been trying to set up an OpenVPN server on my Linux recently but I continuously get the same error every time I try to connect to my server. My settings are like this: proto tcp port 443 resolv-retry infinite nobind user nobody group…
Sadraw
  • 79
  • 1
  • 12