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
1
vote
0 answers

Can I connect two subnets with the same openVPN on AWS?

Currently, I have a VPC where I have 3 subnets. In one of them I have a machine with open VPN, through which I access the rest of the machines in the same subnet. I would like to know if it is possible to connect somehow to the other subnets through…
JKRV
  • 11
  • 1
1
vote
1 answer

Deriving IP Range and Netmask using Cloudformation and Pystache

So, I've got an interesting one - Cloudformation allows the use of Mustache templates (via Pystache) to build configuration files via AWS::CloudFormation::Init (They bury this a few paragraphs down, but it's there). This is useful to me, as I need…
1
vote
0 answers

Python3, MariaDB, OpenVPN Password Check fails

os.eviron['username'] is sent from OpenVPN, but for debugging I changed it to "test" as user in the Database. os.eviron['password'] is sent from OpenVPN, but for debugging I changed it to the working password "password", and everything worked as…
xFBi
  • 11
  • 1
1
vote
1 answer

VM connections problems - fluctuating/high ping

In a VM with openvpn we are having connection problems. Pinging to the ips that manage to connect, the ping varies from, for example, 100ms to 6000ms. When there are no problems the ping is normal. This problem occurred on 04/13/2021 at…
Antonio
  • 11
  • 1
1
vote
0 answers

Docker Open VPN Connected But Not Access Internet in docker

The openvpn connection is successful. But I make a call to the internet. I could not know there is a problem in the network structure. At the request of your help. This Sample Repo: https://github.com/mesutcakir/openvpn-docker-sample/ My result…
1
vote
1 answer

Hosting Pritunl VPN on aws load balancer

I am trying to host Pritunl VPN on EC2 instance which is in private subnet(no public IP). The idea is to host it via 1) Application Load Balancer The issue with this approach is, Pritunl uses UDP protocol for connection but ALB doesn't support…
prashant
  • 2,181
  • 2
  • 22
  • 37
1
vote
0 answers

openvpn-auth-ldap: How to require multiple group membership

I've been able to successfully authenticate with ldap, using a single group using the following config... BaseDN "OU=Groups,OU=Users,OU=AD,DC=ad,DC=mydomain,DC=com" SearchFilter "(CN=VPN Users)" MemberAttribute…
user1751825
  • 4,029
  • 1
  • 28
  • 58
1
vote
2 answers

OpenVPN unable to reach local network while connected

I'm currently unable to access my local network while I'm connected to the OpenVPN server. This issue is present since I changed the underlining network of the client that connects to the openvpn server actually the following option as always worked…
user14389292
1
vote
0 answers

Use OpenVPN Server through a port in a VPS

I'm trying to configure my OpenVPN Server to be used by an OpenVPN Client and the Admin Panel through a port, because my IP is already being used by VestaCP (also hosted in my VPS) to host a Webpage, and when I try to use that port to access the…
JadeClay
  • 13
  • 6
1
vote
0 answers

Android Emulator Without Internet Connection - Cause: Active VPN on Computer

I have a very recurrent problem in my Android Emulator that is whenever i use a vpn (such as FortiClient) on my computer, my emulator internet stops working. I've tried differents approachs but nothing seems to work. Emulators tested: Galaxy Nexus…
1
vote
0 answers

Using pexpect to send script process to the background

I'm trying to write a script to connect to VPN more easily. I want the script to use the user input and connect to a vpn endpoint via openvpn, print the process ID for the user, and then continue running in the background but return the user to the…
Mason
  • 6,893
  • 15
  • 71
  • 115
1
vote
1 answer

Use OpenVPN connection only for internal resources

I am connecting to the OpenVPN on Linux Mint and then: Instantly I can access my internal VPN resources, but I access Internet via VPN also, not via my own connection, so I enter: sudo route add default gw 192.168.1.1 wlp3s0 Then I can access…
1
vote
1 answer

Running OpenVPN on EC2 and DNS leak check

I have installed an OpenVPN access server on an free tier EC2 instance with default VPC and connected to it. My ip is changed but when I checked dns leak using (https://www.dnsleaktest.com/), it is showing multiple EC2 server name(shown below). …
1
vote
1 answer

Launch AMIs from AWS Marketplace via CloudFormation

does anyone know if it is possible to launch Marketplace AMIs (in this case an OpenVPN Server), via Cloudformation and if so how? I didn't find anything helpful in the AWS Docs / OpenVPN Docs.
1
vote
0 answers

Unable to use OpenVPN Access Server admin page on google cloud platform

I deployed the service called OpenVPN Access Server in my Google Cloud Instance and now it looks like this: OpenVPN Access Server instance When I try to open the url of the site address, says Your connection is not private ... It can not connect…