Questions tagged [openvpn]

OpenVPN is a free and open source software VPN solution. It allows secure point-to-point or site-to-site connections with routed or bridged configurations and remote access facilities.

1,256 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
2 answers
6k views

How to prevent SSH freezes over an openvpn client to client connection

I have the exact same issue as the one described here, but I cannot request clarification from the author, since I am a new user and I cannot post a comment on that, so I am posting a new question (I ...
Atomo's user avatar
  • 69
7 votes
0 answers
1k views

Vagrant bridge to openvpn interface?

Setup: A box running OpenVPN server and few Vagrant virtual machines Problem: I would like to access Vagrant boxes directly from VPN clients as regular machines, and not on only few forwarded ports....
gerasalus's user avatar
  • 241
6 votes
1 answer
3k views

Route host through a docker openvpn container

I am new to networking so I am trying this for the first time. I created an openvpn docker that connects to a VPN server. Running wget -q -O - https://api.myip.com inside the docker container confirms ...
LeanMan's user avatar
  • 181
6 votes
0 answers
10k views

Run openvpn inside docker and use as gateway for internet for other networked devices

I am trying to run tunnel all my network traffic on my LAN via an OpenVPN client running inside a docker container. My router and default gateway is running on 10.10.10.1 I have OpenVPN running on ...
mrwooster's user avatar
  • 243
6 votes
0 answers
2k views

meaning of 'event_wait : Interrupted system call'

I manage several OpenVPN links. Sometimes while the VPN connection is UP for a few minutes/hours it suddenly gets down with the following (error) message: event_wait : Interrupted system call (code=...
exeral's user avatar
  • 1,872
5 votes
0 answers
2k views

OpenVPN slow upload, but perfectly normal download

I am driving crazy with this issue. I have a temporal SOHO server sitting behind a NAT (cannot touch this), and I need it to have a public facing IP. So a set up an OpenVPN server on a VPS (With 2 ...
Dark_eye's user avatar
  • 151
5 votes
1 answer
2k views

Access to service in Docker container connected to VPN

I set up a Linux server (VirtualBox VM for now) In that server I run a Docker container containing two things: An app with web interface on certain port Open VPN Client I can access that app (from ...
SmxCde's user avatar
  • 151
5 votes
0 answers
2k views

Access website hosted on same server as VPN via the VPN

I have just finished setting up a OpenVPN server running on Ubuntu 12.04 and I have been able to connect to it from my own computer (the client). I am able to set up the VPN server to route ALL ...
Titi's user avatar
  • 240
5 votes
1 answer
2k views

OpenVPN web traffic routing not working

My first time trying to set up OpenVPN. I followed the HOWTO guide from OpenVPN's site and was successfully connected but when I tried to route my web traffic, it seems that nothing gets through to my ...
jet's user avatar
  • 151
4 votes
2 answers
3k views

OpenVPN client works everywhere but Windows 11

I have a VM hosted in Azure running OpenVPN. I have been using it for a number of years without issue. I recently got a new computer with Windows 11 on it and can't figure out why it loses internet ...
react-dev's user avatar
  • 233
4 votes
1 answer
5k views

Cannot access SMB share from Windows 10 with guest access via OpenVPN Connect

Windows 10 client, using file explorer, OpenVPN Connect client 3.3.4, cannot access an SMB share with guest access on the OpenVPN server (2.4.11 arm-openwrt-linux-gnu) is running. Works: Can connect ...
Balvik's user avatar
  • 41
4 votes
0 answers
12k views

OpenVPN UDP error 10051 on Windows 10 clients

I am running an OpenVPN 2.4.9 server (without Access web interface) on a CentOS 7 machine for ~30 employees using Windows 10 laptops. Recently, I noticed some people were disconnecting with UDP error ...
user540468's user avatar
4 votes
0 answers
4k views

Route QEMU VM traffic through hosts VPN

tl;dr Host connects via VPN to the internet and a VM on this host doesn't go through this VPN (but it should). I think the network config isn't quite correct. The host The host (arch Linux) connects ...
theo_retiker's user avatar
4 votes
0 answers
6k views

Openvpn multi-factor authentication using active directory certificate store

Integrated Enterprise OpenVPN Configuration I've scoured the Internet high and low attempting to locate a definitive source of how to configure openvpn in a manner that is secure, and most ...
W. Smith's user avatar
4 votes
0 answers
4k views

OpenVPN - OpenVZ - Multicast and how to enable it

Good day all My application makes primary use of Multicast packets on ip = 224.8.0.1 I have tested over normal Wifi/Ethernet and hosted networks, which are all good. Problem: My OpenVZ server ...
CybeX's user avatar
  • 321
4 votes
0 answers
651 views

OpenVPN routing based in LDAP Authentication?

To understand the solution better this is an example: The company has 1000 users that constantly switch seats (computers are set with DHCP IP, so the user can constantly have his IP address changed) ...
Tiago Alves's user avatar
4 votes
0 answers
3k views

OpenVPN ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)

I'm trying to configure OpenVPN on my Debian 7 VPN but I'm getting the following error ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg) I tried the ...
Roemer's user avatar
  • 141
4 votes
1 answer
1k views

How to troubleshoot problem with OpenVPN Appliance Server not able to connect

1) I have a Windows Server 2008 Standard SP2 2) I am running Hyper-V and have the OpenVPN Appliance Server virtual running 3) I have configured it as it said, only issue was that the legacy network ...
user avatar
3 votes
0 answers
3k views

AWS VPN Client - "Unknown error ocurred. Try again"

I'm experiencing a persistent issue with the AWS VPN Client and need some assistance. Despite numerous troubleshooting attempts, I'm unable to establish a connection and fail even before reaching the ...
Just Another Nerd's user avatar
3 votes
0 answers
3k views

AWS OpenVpn "Connection failed. Try again" - Exception (0x80004005)

I have been unable to connect through the AWS OpenVPN client for quite some time. When I click connect, the message "Connection failed. Please try again." I found a similar case on other ...
NewUser12567's user avatar
3 votes
0 answers
889 views

How to bridge TAP device to overlay network?

I would like to allow OpenVPN users to reach all Docker containers that are part of Overlay network as if they were in the same LAN. The simplest example is 3 containers distributed on 2 hosts, and ...
Mohammed Noureldin's user avatar
3 votes
0 answers
647 views

How to give OpenVPN profile files to users via the HTTPS?

I'm using Mikrotik Router as an OpenVPN server and I want to give the profile file to the users with HTTPS URL so they can import the file using URL in OpenVPN application on Android or IOS phones. ...
Amir Sabeghi's user avatar
3 votes
0 answers
308 views

How to migrate OpenVPN architecture TAP to TUN

I did a tunnel system with OpenVPN to let a distant client act like a private network client to access private resources. It uses a client on the private network as a gateway. DistantClient <-> ...
Doubidou's user avatar
  • 131
3 votes
2 answers
459 views

Windows: Send all network traffic from script/app through specific TAP adapter

I have created a script in Node.js to remotely manage a server. To work the script needs to be connected to a VPN. The VPN it needs to connect to is different from the one I want Windows to use. Both ...
Settings Menu Hard to Find's user avatar
3 votes
0 answers
829 views

How to create a vpn site-site with openvpn docker and VPS?

First a little background information: For our customers I am trying to create a network monitor service with libreNMS (running on a VPS). With libre I want to monitor network devices on the LAN. ...
Poltsie's user avatar
  • 31
3 votes
1 answer
2k views

Possible the connect OpenVPN and AWS Transit Gateway

I have setup a Transit Gateway and a Site-to-Site VPN connection from our on-prem to our AWS accounts. It is working like a charm. We have remote users working at home who need remote connection to ...
Kaymaz's user avatar
  • 243
3 votes
0 answers
2k views

OpenVPN with authentication but without encryption does not work with multiple clients

I'm trying to set up a system in Linux where OpenVPN tunnels are authenticated but the actual traffic is not encrypted. With one server and one client everything is working fine. Here are the relevant ...
Sampo's user avatar
  • 31
3 votes
0 answers
2k views

Mounting NFS share over VPN at system start

I try to mount a nfs share on a server that is connected via OpenVPN. Both systems are Ubuntu 18.04 server. and are vpn clients of a third system with client to client config. Manually mounting the ...
Paul Sommer's user avatar
3 votes
0 answers
1k views

Cannot ping anything from tun interface

I'm setting up a VPN server using OpenVPN server 2.4. The client connects to the server, but I can not seem to be able to ping any other host except the server or other clients on the VPN subnet. The ...
Ryan Bester's user avatar
3 votes
1 answer
485 views

OpenVPN Traffic Control on CentOS 7

I'm trying to give my OpenVPN some bandwidth limitation. I would like for example for each user give 10Mb/s for upload and download. I tried the following answer I found (Automatically Call a Script ...
executable's user avatar
3 votes
0 answers
1k views

Route OpenVPN traffic through Site to Site IPSec connection for specific routes

We recently changed our firewall from a Sonicwall 3060 to a Meraki MX100. After changing we discovered that our work for one customer relied on a site to site vpn to their network with outbound nat ...
Ben Gourarie's user avatar
3 votes
2 answers
650 views

Route traffic to vpn server over VPN

I'm using openvpn to route all user traffic over a server in an encrypted fashion when the user is connected to untrusted networks. The openvpn gateway is 10.8.0.5. The actual IP of the openvpn ...
Zulakis's user avatar
  • 4,233
3 votes
1 answer
954 views

OpenVPN only works internal

I have set up a OpenVPN server according to this guide from DigitalOcean. But unfortunately I cannot get it working. It seems like OpenVPN is just not receiving the network packets. I also tried ...
Frank's user avatar
  • 31
3 votes
0 answers
2k views

OpenVPN can ping internet but can't browse

I have the same configuration of my OpenVPN server since two years, and I just copy paste each time I upgrade the server. But this time it doesn't work anymore. I can connect with my clients, and I ...
selan's user avatar
  • 131
3 votes
0 answers
2k views

NFS mount fails when using VPN

I've got an NFS mount set up on my development server which I have been mounting on local machines without issue. I've now been trying to mount the same NFS share to the same machine (openSUSE laptop) ...
robbiedyer's user avatar
3 votes
0 answers
542 views

bridge interface causes boot to hang for many minutes

I have a bridge br0 which is being used as docker's bridge interface and bridges to our vpn with an ipv6 interface. When I set up this bridge manually, everything works fine and I can connect to the ...
GTF's user avatar
  • 191
3 votes
0 answers
511 views

OpenVPN - ping duplicates packets

There is an issue that I cannot find answer for. I have typical setup OpenVPN - 1 server with 10.8.0.0/24 subnet and a 1 client with 10.8.0.5 address. Whether the connection from the server to the ...
Inixi Noisse's user avatar
3 votes
1 answer
1k views

How to connect to OpenVPN clients from LAN 'members'

Working on a IoT type of thing, I want to connect some devices "in the wild" to servers in AWS through OpenVPN on an EC2 instance. So far I have been able to set up an EC2 instance configured as an ...
davur's user avatar
  • 191
3 votes
0 answers
1k views

OpenVPN Speed Slow

Background: I have an OpenVPN server running on my Netgear R7000 [openddwrt] router. My ISP connection is 50 mb/s down and 25 mb/s up. When connecting to my vpn from my cellphone, and windows ...
Kevin's user avatar
  • 223
3 votes
0 answers
968 views

Tunnel only specific port over OpenVPN on OpenWRT-Merlin

My Asus RT-AC87U router is running OpenWRT-Merlin. OpenWRT-Merlin allows you to set up an OpenVPN client and disable NAT so that you have to manually configure the routes for this VPN. How do I do ...
Redsandro's user avatar
  • 435
3 votes
0 answers
2k views

Assign a public ip to openvpn client

For learning purposes, I'm trying to set up openvpn server, so that each connected client would get a unique public ip address. I have a vps server and I ordered extra 8 static ips and they are ...
Moataz Elmasry's user avatar
3 votes
0 answers
3k views

OpenVPN sndbuf and rcvbuf

I would like to know what is the difference between the sndbuf and rcvbuf buffer used by OpenVPN and net.core.w/rmem_default or net.ipv4.tcp_r/wmem. What does OpenVPN do when some value a provided ...
Alo's user avatar
  • 31
3 votes
1 answer
655 views

Two openvpn servers on the same machine, route traffic between the two subnets

I have two openvpn servers ( one on tcp, one on udp) running on the same machine - an OPENVZ vps. The first network A uses 10.10.0.0/24 and it is designed as an intranet. The second network B uses ...
Cucu's user avatar
  • 137
3 votes
1 answer
5k views

OpenVPN --route-up Missing environment variables when passing to script

I'm diving into the glory of OpenVPN and I'm having a bit of trouble manually configuring the routing tables. I'm on Arch Linux. I know OpenVPN automatically updates the routing tables when ...
Nikto's user avatar
  • 31
3 votes
0 answers
4k views

OpenVPN drops connection and then reconnects constantly

I have a Linux client I am connecting to an OpenVPN host. The client connects fine, and with verb=5 I see multiple reads and writes on the client: LOG:1391694246,I,Initialization Sequence Completed ...
jssblck's user avatar
  • 167
3 votes
0 answers
834 views

How to properly replace CA certificate when clients get it bundled in PKCS#12 containers?

I'm about to regenerate a certificate of my CA (maintained by OpenSSL) used mostly to provide OpenVPN access to the intranet for my clients. My question is related to this one — "Certification ...
kostix's user avatar
  • 1,160
3 votes
0 answers
2k views

juniper ssg320 intrazone configration issues Close - AGE OUT

We have one main office and another small office that holds only 5 people. We have recently setup OpenVPN on our main office and created a bridged vpn between our main office LAN and a windows 2003 ...
ani's user avatar
  • 31
3 votes
0 answers
3k views

OpenVPN resets connection repeadly

I have a OpenVPN server installed in an Amazon instance with Windows Server 2008 R2, and there's my client. First i connect to my VPN For some reason when i try to connect to my VPN server and RDP to ...
Mr_LinDowsMac's user avatar
3 votes
1 answer
959 views

Qos/iptables? for vonage and openvpn? ... or something else?

I have a small home office setup. I use google voice and vonage for phone calls. Please see the diagram -- I know this not the ideal but since my cisco switch (3550) packed up so this is the only ...
Andrew's user avatar
  • 389
3 votes
0 answers
3k views

Routing only some local IPs through VPN on dd-wrt

Much similar to this entry: Using DD-WRT to connect to VPN and Forward all traffic of certain devices through VPN , I have set up my router with dd-wrt + OpenVPN to connect to a VPN. This works fine, ...
user39412's user avatar

1
2 3 4 5
26