Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

5
votes
0answers
1k 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=...
5
votes
0answers
1k 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 ...
4
votes
0answers
424 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) ...
4
votes
0answers
3k 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 ...
4
votes
0answers
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 ...
4
votes
0answers
989 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....
4
votes
0answers
761 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 ...
3
votes
0answers
454 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 ...
3
votes
0answers
623 views

OpenVPN 2.4 + Google Authenticator = authentication failure

We have a corporate VPN server running OpenVPN 2.3 on an AWS instance with Ubuntu 16.04 Xenial. The server has been configured using an Ansible playbook. I'm planning to upgrade to Ubuntu 18.04 ...
3
votes
0answers
650 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 ...
3
votes
0answers
714 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 ...
3
votes
0answers
2k views

Connect to OpenVPN using Windows 10 built-in VPN

I have an OpenVPN network with a pretty much standard configuration: auth.txt file with user and password ca.crt file with the certificate my-nat.pem file with the identity for my VPC and the ...
3
votes
0answers
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 ...
3
votes
0answers
1k 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 ...
3
votes
0answers
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 ...
2
votes
0answers
33 views

Squid and OpenVPN slow on OpenVZ?

I have two vps, one on OVH with KVM, the second on another hosting with OpenVZ. On OVH the speed is ok with squid and openvpn, i reach 100mbit (max speed of my connection), but i have a problem with ...
2
votes
0answers
26 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 ...
2
votes
0answers
49 views

Mariadb over VPN from a sql-IDE times out, but works with mysql CLI client, why?

This is a situation where I don't have any clue on what's going on : I configured an OpenVPN using a PKI, everything seems to work, except this: Dbeaver and Mysql-Workbench hangs after a "succeed ...
2
votes
0answers
48 views

OpenVPN - Hypervisors and VMs communicating by VPN through the internet

I'm pretty lost with this problem (maybe I say something silly =D )... I have two hypervisors (CentOS 7) connected by a VPN (OpenVNP). In this scheme I have two virtual machines (VMA0 and VMB0) ...
2
votes
0answers
146 views

Limit traffic on by user OpenVPN server using tc (traffic control)

I run an OpenVPN server with a 1 Gbps bandwidth and I need to limit it to 5 Mbps per user. Searching the internet I've come up to this bash script: $U32 = "tc filter add dev tun0 protocol ip parent ...
2
votes
0answers
714 views

Running a Dual Stack OpenVPN server: IPv6 sorta works - however, large packets appear to fail

I'm running a Dual Stack OpenVPN Server, setup according to this tutorial: https://techblog.synagila.com/2016/02/24/build-a-openvpn-server-on-ubuntu-to-provide-a-ipv6-tunnel-over-ipv4/ . As shown in ...
2
votes
0answers
124 views

Why can't HP Web Jetadmin connect to a remote printer over OpenVPN?

I'm using HP Web Jetadmin to monitor my printer fleet, and one of the features they advertise quite a bit is the ability to monitor printers at remote locations. I have the server running at the ...
2
votes
0answers
453 views

OpenVPN service, run as root:root instead of nobody:nogroup?

This was moved from NetworkEngineering. I used this DigitalOcean guide (hereafter "guide") to set up an OpenVPN service (v2.3.10, OpenSSL 1.0.2g) several months ago. It's worked flawlessly, and it's ...
2
votes
0answers
272 views

How can I prevent clients from communicating with each other when setting up and OpenVPN server?

I'm trying to configure my OpenVPN server (Ubuntu 16.04) such that clients cannot communicate with any other device except for the OpenVPN server itself. I've tried removing client-to-client from my ...
2
votes
0answers
169 views

IPv6 connectivity through IPv4 using OpenVPN

I've set up a Debian-based server at home, which handles dhcp and a bunch of other services. Unfortunately, even though the machine is capable of using IPv6, my ISP doesn't support it. I was wondering ...
2
votes
0answers
260 views

Why does ufw block wget & python scripts?

After setting up a VPN killswitch I noticed that a few things don't work: aptitude, python scripts using requests, & wget. (curl does work). Does anyone know why? My ufw settings are: Status: ...
2
votes
0answers
3k 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 ...
2
votes
0answers
80 views

mosh false-positive MITM attack warning

I connect my laptop to the office network via openvpn (under subnet 10.8.0.0/255.255.255.0). And I can ssh and mosh into my office desktop no problem. Recently I decided to also make a second ...
2
votes
0answers
960 views

OpenVPN can't ping LAN devices

I have a setup pretty similar to this except the LAN clients are behind a DHCP relaying router. The outermost router forwards traffic to the OpenVPN server on port 1194 and I can connect clients ...
2
votes
0answers
2k views

OpenVPN HMAC authentication failing despite seemingly identical client & server configs

I've looked all over for a solution to this, and I can't seem to find anything. [x-post from unix]. Not using network-manager, tcpdump reveals packets are arriving fine. Client side I am receiving ...
2
votes
0answers
69 views

OpenVPN log used bandwidth when client connection ends

I have an OpenVPN server where I want to log how much bandwidth is used by client connections. I only need to know the bandwidth used in total by a client connection, at the end of the connection. ...
2
votes
0answers
155 views

NAT for multiple servers with iptables over OpenVPN

I have successfully created an OpenVPN Network (server hosted in a VPS) 10.8.0.0/255.255.0.0 for my home needs, and clients that support OpenVPN clients can connect through the server and connect ...
2
votes
0answers
242 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 ...
2
votes
0answers
252 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 ...
2
votes
0answers
197 views

freepbx over openvpn network

I am using OpenVPN to access my internal network. I have FreePBX for my SIP phones. I have a soft phone on my cell phone when I am on my WiFi the soft phone works great. When I leave WiFi and go to ...
2
votes
0answers
455 views

Openvpn tap interface configuration gets self assigned IP

I have a strange misconfiguration on my openvpn tap network. Clients can connect and get there IP address in 192.168.42.x as intended, but after few seconds another address gets assigned to it, self-...
2
votes
0answers
197 views

Two users behind same NAT (PSK or EAP) - strongswan

I have a strongswan implementation and am running into an issue where when there are two users behind the same NAT, the second one "kicks off" the first one. I was able to resolve the issue using: ...
2
votes
0answers
1k views

OpenVPN packet loss between network interface and tunnel interface

I have an OpenVPN server that is setup to do tunnels over TCP connections with a bunch of other servers on various remote networks. It all works pretty reliably except for one of the remote servers. ...
2
votes
0answers
30 views

Protect a second server behind existing OpenVPN

I have an existing Ubuntu server that denies all incoming traffic with a client unless it's able to authenticate with OpenVPN (we use Tunnelblick to manage client connections). However, we have other ...
2
votes
0answers
269 views

OpenVPN with CryptoAPI on Linux

I have an OpenVPN config file that uses Microsoft CryptoAPI. Meaning, it contains these lines: cryptoapicert "SUBJ:..." ca ca_file.crt tls-auth tls.key It works fine on a Windows system. However, ...
2
votes
0answers
2k views

Configuring OpenVPN server (Debian 8) and client (Windows 10)

I'm having trouble configuring OpenVPN server on Debian 8 and client on Windows 10 (64 bit). When trying to connect I get a fatal error on the client side. Server log: Fri Mar 25 09:25:34 2016 ...
2
votes
0answers
737 views

How do I make Docker forward a packet from remote when a packet from the dockerhost works?

I have set up a docker container with a vpn. I added another container with a Squid proxy using the --net option, sharing the same network as the vpn. Running a traceroute from within the container I ...
2
votes
0answers
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 ...
2
votes
0answers
689 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 ...
2
votes
0answers
211 views

Policy-based routing on OpenVPN server

I'm trying to set up an OpenVPN server as reverse proxy for mobile/desktop devices, that can relay traffic based on certain policies: only requests to white-listed IP addresses are going to be ...
2
votes
0answers
414 views

sign keytool generated cert/key pairs using easy-rsa openvpn intermediate CA

I am creating root and intermediate CA with easy-rsa using ./build-ca & ./build-inter commands consecutively. Now, I want my root ca as offline and I want my certs/keys signed by intermediate CA. ...
2
votes
0answers
63 views

OpenVPN gateway through OpenVPN

I'm trying to setup an OpenVPN access for clients through a server A I own. But I want these clients to connect to another OpenVPN server on an host B, configured as client on A. OVPN ...
2
votes
0answers
55 views

Samba server disappears from the browser list after a period of time

I have a Ubuntu server running as a router. On the server I use iptables and DHCP 3.1.3, Samba 3.4.7 and OpenVPN 2.1.0 server. I have problem with Samba server disappears from the VPN client browser ...
2
votes
0answers
1k 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 ...
2
votes
0answers
2k 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 ...