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
7
votes
4 answers

Why does OpenVPN give the error: "unsupported certificate purpose" for an intermediate certificate?

EDIT: I'm really sorry to have to say that the problem has magically fixed itself and I have no idea why. In response to one of the answers, I removed all EKU from the CA chain and it didn't work. After coming back from vacation, I created the cert…
succulent_headcrab
  • 387
  • 2
  • 6
  • 12
7
votes
2 answers

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 tried posting this under that as an answer for…
Atomo
  • 69
  • 1
  • 3
7
votes
4 answers

Access OpenVPN client network from server

I have setup an OpenVPN connection between a Windows 2012 Server and an Debian Linux machine. The windows machine is the server and the linux machine is running openvpn as client. I can ping and connect to each other within the VPN network without…
user797717
  • 171
  • 1
  • 1
  • 3
7
votes
1 answer

How to bypass OpenVPN per application

I have a linux machine that routes its whole internet traffic through an openVPN connection. It was explicitly configured to work that way. However, the machine has a few applications that should not use the VPN connection (tun+) and go through the…
roymreelee
  • 71
  • 1
  • 3
7
votes
2 answers

TCP under OpenVPN is very slow (tsg attached)

I have a very weird problem with OpenVPN. Most VPNs work fine, except this one. Here I get very low performance from TCP connections, but the CPU load is low (so, not a CPU issue). OpenVPN is configured with UDP, AES-256-CBC cipher, SHA256 auth and…
Pentium100
  • 453
  • 1
  • 5
  • 15
7
votes
0 answers

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. Configuration: OpenVPN has interface tun0: tun0 …
gerasalus
  • 231
  • 1
  • 2
  • 5
7
votes
1 answer

openvpn tun forwarding with firewalld

I have an OpenVPN server on Fedora 19 with 2 clients - 1 client on the same LAN as the server, and the other on the internet. I want the 2 clients to be able to talk to each other thru the tunnel and, if I stop firewalld.service on the server, they…
flymike
  • 221
  • 1
  • 2
  • 6
7
votes
2 answers

OpenVPN Chaining

I'm trying to set up an OpenVPN "chain", similar to what is described here. I have two separate networks, A and B. Each network has an OpenVPN server using a standard "road warrior" or "client/server" approach. A client can connect to either one for…
noderunner
  • 171
  • 2
  • 8
7
votes
2 answers

OpenVPN Client timing out

I recently installed OpenVPN on my Ubuntu VPS. Whenenver I try to connect to it, I can establish a connection just fine. However, everything I try to connect to times out. If I try to ping something, it will resolve the IP, but will time out after…
Austin
  • 173
  • 1
  • 2
  • 8
7
votes
1 answer

OpenVPN server cannot ping clients

I have OpenVPN set up on a Debian server. Clients can connect, and clients can ping and access resources (Samba shares and intranet) on the server. However, the server cannot ping the client - it just times out. Diagram Client OpenVPN assigned IP:…
artfulrobot
  • 2,949
  • 13
  • 36
  • 60
7
votes
3 answers

How to connect to VPN from the command line in Linux?

I have different tunnels that I configured using the network manager GUI. When I login to my desktop, I'm connected to the internet without any tunnels. To connect to a tunnel, I usually click on the network manager tray icon > VPN connections >…
HappyDeveloper
  • 654
  • 2
  • 6
  • 13
7
votes
1 answer

Port forwarding through OpenVPN

Here's my scenario. I have three hosts. 1) GATEWAY running OpenVPN Server. It has 1 LAN IP (192.168.1.10) and 1 OpenVPN IP (10.8.0.1). 2) LOCAL-CLIENT, a machine within the same LAN as GATEWAY, with 1 LAN IP (192.168.1.12) 3) REMOTE-SERVER, a MySQL…
El Barto
  • 963
  • 5
  • 16
  • 24
7
votes
1 answer

OpenVPN Server hangs at "Initialization Sequence Completed"

I have been trying to get an OpenVPN server setup on FreeNAS (not the most straight forward choice, I know) and have run into a puzzling error. It seems that the server is hanging after the "Initialization Sequence Completed" message whenever I try…
MysteryMoose
  • 281
  • 1
  • 2
  • 6
7
votes
3 answers

OpenVPN multiple servers on the same subnet, high availability

Hey everyone. Let me start by saying that my Linux experience isn't super awesome but I can usually find my way around things easily. Over at work we have an OpenVPN setup that's been due for some improvement for a while now. The main server (tap…
andre
  • 235
  • 1
  • 2
  • 8
7
votes
3 answers

OpenVPN client without redirect-gateway doing triangular routing and IP spoofing not working on Ubuntu

I have an OpenVPN client running on a server of mine obtaining a public IP on a remote network in a different country. The client configuration is as follows: dev tap remote a.b.30.7 float a.b.30.7 port 5167 ifconfig a.b.28.178…
user59383