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.

OpenVPN is a free and open source software application that implements VPN techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses SSL/TLS security for encryption and is capable of traversing network address translators and firewalls.

It's architecture is build upon 4 principles:

  • Encryption
  • Authentication
  • Networking
  • Security

More info is to be found on the Open-Source site of VPN.
A very thorough tutorial can be found on Shorewall.

3274 questions
4
votes
3 answers

How secure is a VPN connection over WiFi?

I travel a lot and connect to public wifi hotspots all the time. What information will be given out if I use VPN within public wifi hotspots? Will the owners or intruders in the hotspot be able to detect the websites I go to (DNS lookups, Traffic…
Pasta
  • 302
  • 1
  • 12
4
votes
1 answer

Redsocks not working with Wireguard, but works with OpenVPN

Summary I use a VPN to route all of my traffic through. Until recently, I used OpenVPN, but then switched to Wireguard. Unfortunately, this broke my redsocks setup, and I can't figure out why. I'm using redsocks because I'm using a command-line…
Patrick
  • 65
  • 8
4
votes
3 answers

redundant openvpn configuration

I have two openbsd nat/firewall boxes with carp for failover / high availability purposes. What would be the best possible practice to ensure that OpenVPN, which I plan on running on these boxes, fails over gracefully as well?
imaginative
  • 1,971
  • 10
  • 32
  • 48
4
votes
1 answer

Cannot access SMB share from Windows 10 via OpenVPN Connect

I'm sure this problem must have been solved a thousand times but nothing I do seems to work. Summary: On Windows 10 client, using file explorer, and OpenVPN Connect client 3.3.4, can't access a NAS via SMB on which OpenVPN server (2.4.11…
Balvik
  • 41
  • 1
  • 3
4
votes
2 answers

What is TCP-over-TCP and how does OpenVPN under TCP mode avoid the issue?

This article explains why TCP-over-TCP could be a performance disaster. My understanding about the issue is that the 'outer' TCP connection deals with packet loss and congestion of the network and acts accordingly by increasing timeouts (and thus…
diwenx
  • 41
  • 1
  • 2
4
votes
0 answers

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 10051 after a few minutes of being connected.…
user540468
  • 162
  • 2
  • 3
  • 10
4
votes
5 answers

Split DNS on OpenVPN

I have found some old threads regarding this, but they seems to be some years old. E.g. openVPN - Split-tunneling DNS priority I'm on Windows. I'm connected to a local network with local DNS. I use OpenVPN to connect to another network, this network…
Sam
  • 370
  • 1
  • 4
  • 18
3
votes
1 answer

Extend validity of a OpenVPN certificate

I have an openvpn server, clients authenticate using ssl certificates. Whenever a client certificate expires, a new certificate must be issued and sent to the client. I've found that easyrsa from openvpn has a renew command but AFAIK does not really…
sebelk
  • 682
  • 4
  • 13
  • 32
3
votes
1 answer

Forward VPN traffic to another server

I have 2 servers: server A: Public IP --> 104.x.x.x server B: Public IP --> 188.x.x.x server A has 2 VPN servers: Openvpn --> tun0 Wireguard --> wg0 tun0: flags=4305 mtu 1500 inet 10.8.0.1 …
user3289412
  • 41
  • 1
  • 3
3
votes
2 answers

Access computer on LAN behind OpenVPN server

I have a TP-Link VR400 Archer router on which I want to enable the OpenVPN server, so that a remote user can connect to the network and access a specific computer on the internal LAN. The router has an address of 192.168.0.99, subnet mask…
John Moore
  • 171
  • 1
  • 7
3
votes
1 answer

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 our infrastructure. So I setup an OpenVPN Server in…
Kaymaz
  • 241
  • 3
  • 11
3
votes
2 answers

OpenVPN enable compression lz4-v2 instead of comp-lzo

I want to enable OpenVPN compression lz4-v2 in server configuration file(server.ovpn) I have: ;comp-lzo compress lz4-v2 push "compress lz4-v2" in client.ovpn,instead of comp-lzo i put push "compress lz4-v2" is that the correct…
mrapi
  • 153
  • 2
  • 8
3
votes
0 answers

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 NFS works as expected. Only at system start the…
3
votes
0 answers

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 server can be pinged by the local network address…
3
votes
1 answer

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 when a New User Connects and Bandwidth Shape the…
executable
  • 217
  • 5
  • 15