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
6
votes
2 answers

Accelerating VPN speed using multiple connections

I have set up a VPS with openVPN running on centOS. The VPN works, but it's too slow. Is there a way to speed this up using open multiple connections like IDM or aria2? I'm using openVPN but I'm open to use any other VPN on the server side with any…
Adam Mo.
  • 161
  • 2
6
votes
2 answers

Changing OpenVPN DHCP pool

I have a config at the moment which is working almost fine until some clients connect, the server starts to kick the clients off from the server or something like that. As I have checked every clients get a good IP address and there is no IP address…
Z T
  • 259
  • 1
  • 2
  • 5
6
votes
2 answers

SSH X11 forwarding is extremely slow over VPN

I'm using an VPN (with OpenVPN) to keep access between my home and work computers, and today I tried to ssh-forward an app which is GUI-only, and I found this to be terribly slow. I've used SSH X11 forwarding before, and it indeed has latency, but…
Roberto Santalla
  • 217
  • 1
  • 2
  • 6
6
votes
2 answers

Unable to login via PAM and ldap: failed to get password

I'm trying to have OpenVPN authenticate users via PAM over LDAP to an Active Directory server. Here are the relevant parts of my configuration files: /etc/openvpn/server.conf: # ... plugin /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so…
Naftuli Kay
  • 1,708
  • 6
  • 24
  • 44
6
votes
2 answers

multiple client istances for openvpn connections

Good day At my company, on windows machines, we have different client connections open with openvpn like this: 10.1.x.x for Eastern Europe 10.2.x.x for Middle East 10.3.x.x Cuba 10.4.x.x China They are completely different servers in different…
Entanglement
  • 71
  • 1
  • 4
6
votes
0 answers

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=4) Sep 8 11:13:46 hostname ovpn.udp[2622]: Control…
exeral
  • 1,787
  • 11
  • 21
6
votes
2 answers

How to fix the Logjam vulnerability in OpenVPN server config?

As of this writing (Day-2), there are quite few accurate guidelines as to how to mitigate Logjam for Apache and other web servers, such as this page: https://weakdh.org/sysadmin.html What are the similar instructions for OpenVPN servers? Is OpenVPN…
Serge Wautier
  • 419
  • 1
  • 5
  • 16
6
votes
4 answers

OpenVPN - can I use an existing SSL certificate?

I want to setup OpenVPN server for my personal usage. I own domain and I have valid SSL certificate for this domain (issued by StartSSL). At the beginning of the setup instructions for OpenVPN there's a section describing generation of my own…
vbezhenar
  • 261
  • 1
  • 3
  • 10
6
votes
4 answers

Gateway gets stripped from DHCP Reply through OpenVPN tunnel

I have a bridged OpenVPN setup. This is my server config: port 1194 proto udp dev tap0 ca /etc/openvpn/easy-rsa/keys/ca.crt cert /etc/openvpn/easy-rsa/keys/server.crt key /etc/openvpn/easy-rsa/keys/server.key dh …
Compizfox
  • 384
  • 1
  • 6
  • 18
6
votes
2 answers

How to route traffic from private network to openvpn subnet (and back)

I have a couple servers at Linode. I'm trying to set them up so I have a VPN into one of the machines and can then access all the other machines using the private linode network. Public access to private services (SSH, etc.) would then be…
Randy Syring
  • 542
  • 4
  • 11
6
votes
1 answer

How do I route all traffic from clients connected to the DD-WRT to its OpenVPN tunnel tun0?

I am setting a secondary (DD-WRT) router to act as a OpenVPN client so that all clients would get VPN access simply by connecting to the router. But seems clients traffic is always routed via the main gateway instead of the established VPN…
user1534160
  • 61
  • 1
  • 1
  • 3
6
votes
6 answers

Why Can't OpenVPN GUI add routes in Windows 7?

Good-day all, I'm having trouble getting the OpenVPN GUI application to add routes to a Windows 7 client. I'm using the same config file I've used on a Windows XP client except that I added the following two lines: route-method exe route-delay 2 I…
Kismet Agbasi
  • 323
  • 1
  • 4
  • 17
6
votes
1 answer

VPN chaining using openvpn

My boss got extra-paranoid and wants me to organize VPN-chaining of some sort for him. I come up with following scheme: Client VPN1 VPN2 10.0.1.x[tun0]------10.0.1.1[tun0] [1.1.1.1][eth0] …
user175985
  • 111
  • 1
  • 6
6
votes
1 answer

Routing setup for OpenVPN server on Amazon EC2

Software developer here, trying to get his sysadmin-foo up and running by setting up an OpenVPN server on amazon EC2 to access all the internal resources there. Here's how I envision that on a fresh Ubuntu 12.04 Canonical AMI: Local network …
peritus
  • 163
  • 1
  • 5
6
votes
2 answers

OpenVPN - tap interfaces and default gateway

Quick question just to verify i'm not going mental. If using device mode "tap" and i got a fully function connection in the sense that i can ping from client to server without any issues. However, i want to force my traffic through the VPN and…
Torxed
  • 225
  • 1
  • 5
  • 18