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

Large VPN network (~600 servers) with OpenVPN

I'm doing a preliminary study for a contract to build a VPN network between ~600 remote servers running Linux CentOS 6 (+ their 600 private LANs). The network is supposed to be star-based, so that each remote server connects to a central server(s)…
Giovanni Bajo
  • 425
  • 3
  • 9
9
votes
6 answers

Samba over OpenVPN - horribly slow

I've set up a server to run OpenVPN, with the purpose of clients accessing Samba shares remotely. The server is running CentOS 5.6, a decent quad-core Xeon CPU and plenty of RAM. The client I've tested it on is a Windows 7 x64 machine, also with…
melkamo
  • 213
  • 1
  • 2
  • 6
9
votes
2 answers

Redundant OpenVPN connections with advanced Linux routing over an unreliable network

I am currently living in a country that blocks many websites and has unreliable network connections to the outside world. I have two OpenVPN endpoints (say: vpn1 and vpn2) on Linux servers that I use to circumvent the firewall. I have full access to…
konrad
  • 1,003
  • 8
  • 9
9
votes
7 answers

How can I disconnect from openvpn in windows via command line?

I know how to connect to an openvpn via a command line in Windows XP. What I can't figure out is how to end the connection. Any thoughts?
John Campion
  • 91
  • 1
  • 1
  • 2
9
votes
1 answer

VPN Server protocol or trick work in iran

I hope this question is consistent with the rules of the forum. Our access to the international internet from Iran has become very difficult. Only some specific VPNs work. Do you have any suggestions for me to set up a vpn server to work in…
dante velli
  • 193
  • 1
  • 4
8
votes
2 answers

How to make Bonjour (mDNS) work over OpenVPN?

I have a server running Debian 8. Recently I installed OpenVPN on it using this tutorial. Everything is working nicely. I tested on my macbook using the Tunnelblick client. Used Google to check my IP, connected to the VPN checked again and it…
tyler mackenzie
  • 181
  • 1
  • 1
  • 2
8
votes
2 answers

How to correctly configure IPv6 with OpenVPN?

Trying to find the OpenVPN configuration which suits my needs I made this script to help myself during the installation on a CentOS system. My server config file actually looks like this: port 1194 proto udp dev tun user nobody group…
Phonic Mouse
  • 81
  • 1
  • 1
  • 8
8
votes
5 answers

Windows 10 OpenVPN Client connects but can't access anything

I have OpenVPN server running on a Windows 2012 server. It works perfectly and from my iPhone and iPad I can connect to the VPN, all my web traffic routes over the VPN and I can use the iOS Remote Desktop app to remote into devices on my network. I…
littlecharva
  • 301
  • 2
  • 3
  • 14
8
votes
4 answers

Lets Encrypt OpenVPN AS

I've got an OpenVPN AS running and I am trying to setup SSL certs (running ubuntu) from letsencrypt. I've managed to get my certificates from letsencrypt (using letsencrypt standalone) and I was hoping to make a symlink to the certificates in the…
Ben Flowers
  • 301
  • 1
  • 2
  • 9
8
votes
2 answers

Setting up Open VPN client on Amazon EC2

There are various pages that advise on setting up an Open VPN Server on Amazon EC2, but all I need is to setup a client (so any internet access is routed through the VPN rather than coming directly from AWS IPs). I can transfer the .ovpn file to it…
Rob
  • 227
  • 2
  • 6
8
votes
1 answer

OpenVPN steps to configure only username/password authentication

I am newbie in OpenVPN and I need help to configure server and client .ovpn to use only username/password authentication. Examples of client.ovpn and server.ovpn with be very helpful. Thank's Here what I done : server port 1194 proto udp dev…
Nikola Serdar
  • 81
  • 1
  • 1
  • 2
8
votes
3 answers

OpenVPN allow two clients to connect to each other without using client-to-client globally

I'm running OpenVPN 2.3.7 on CentOS 6. I'm using routing (tun) and have two instance of OpenVPN. On the second instance there are two clients that I'd like to be make visible to each other i.e ping, access ports etc. They are both within the same…
James White
  • 674
  • 3
  • 18
  • 32
8
votes
1 answer

OpenVPN timeout to reconnect on fail takes a long time

I'm trying to create a high-availability environment for my OpenVPN servers. I do this by having two identical VPN servers and in my client config specify multiple remote's: # The hostname/IP and port of the server. # You can have multiple remote…
Luke
  • 3,826
  • 8
  • 36
  • 40
8
votes
1 answer

OpenVPN: correct way to use a relative path in an OVPN file

I am attempting to connect to a service using OpenVPN. There are a number of configuration files (.OVPN) that share a single certificate (ca.crt); all are located in the same directory. Canada.ovpn, for example: client dev tun proto udp remote…
craibuc
  • 467
  • 2
  • 5
  • 15
8
votes
2 answers

Connecting an EC2 VPC with OpenVPN all routed traffic being lost

I'm trying to use OpenVPN on Amazon Linux to connect the local LAN to a VPC on EC2. I have traffic flowing from the OpenVPN instance to any machine on the LAN, but other machines on the VPC are not seeing traffic from the LAN. Here's a trimmed…
lschweiss
  • 361
  • 1
  • 3
  • 8