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.

learn more… | top users | synonyms

5
votes
0answers
173 views

How to enable 2-factor auth using Google Authenticator for .ovpn file based openVPN access?

I have an openVPN setup where the users do not have shell accounts on the Debian VM running openVPN. The articles I found while Googling all have instructions of setting up Google Authenticator for a ...
5
votes
0answers
2k views

OpenVPN certificate OR plugin-auth-pam authentication

Configuring OpenVPN server, I can enable either certificate-based authentication or username/password authentication using openvpn-plugin-auth-pam plugin, but not both at the same time. I enable ...
4
votes
0answers
1k views

IPv6 routing over OpenVPN

Trying to learn how IPv6 works with OpenVPN, so I wanted to setup following scheme. I have a VPS server (Ubuntu), which have been allocated a /48 subnet. ISP ipv6 gateway is XXXX:XXXX:XXXX::1 Server ...
3
votes
0answers
31 views

openVPN - Split-tunneling DNS priority

I have commented out the (push "redirect-gateway def1") to turn our openVPN appliance into a split-tunneling mode. #push "redirect-gateway def1" push "route 172.21.1.0 255.255.248.0" push "route 10....
3
votes
0answers
292 views

meaning of 'event_wait : Interrupted system call'

I manage several OpenVPN links. sometimes while the VPN is UP since minutes, hours, suddenly it falls with this message: event_wait : Interrupted system call (code=4) Sep 8 11:13:46 hostname ovpn....
3
votes
0answers
344 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 ...
2
votes
0answers
21 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
137 views

Configuring OpenVPN server (debian 8) and client (windows 10)

I'm having trouble configuring OpenVPN server on Debian 8 and client on Window 10 (64-bit). When trying to connect I get a fatal error notice on the client side. Server log: Fri Mar 25 09:25:34 ...
2
votes
0answers
485 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 ...
2
votes
0answers
197 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
22 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
715 views

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 ...
2
votes
0answers
22 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
31 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
530 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
521 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
495 views

Openvpn server with bind9 DNS on AWS. Linux client cannot resolve host names.

I have a openvpn server set up and working on an AWS debian instance. It works as should but I want to push DNS queries to linux clients from bind9 which is on the same server as openvpn. All seems to ...
2
votes
0answers
439 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 ...
2
votes
0answers
569 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....
2
votes
0answers
211 views

OpenVPN on Windows Server 2008 - keeps disconnecting 'from itself'

I have OpenVPN GUI on Windows Server 2008 & can connect fine from a Windows 8 client. However, after a few hours - whether the client is connected or not - the server disconnects and doesn't ...
2
votes
0answers
427 views

OpenVPN: Run 'bridge-start' on boot before starting openvpn service (Ubuntu)

I've got OpenVPN working properly on my server, using bridge-start and bridge-stop scripts to create and remove network bridge, respectively. How do I set these scripts up to run bridge-start at boot ...
2
votes
0answers
281 views

Virtualbox: Bridging Guest VPN within a Bridged Connection

I've been trying to figure this out for a few days. Perhaps the biggest problem with figuring out the answer is that there are no unique keywords that I can think of to explain the issue. I have ...
2
votes
0answers
9k views

OpenVPN daemon fails to start — starting server manually returns no output

I am setting up an openvpn server on my network for the purposes of accessing devices remotely. I have generated crts and keys with the easy-rsa scripts and have configured server.conf correctly AFAIK....
2
votes
0answers
2k 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
750 views

OpenVPN Configuration - Windows 7 client & debian server

I recently formatted my Windows 7 computer and lost my client's config files for OpenVPN. I recovered the certificates and default config that were left on the server but I haven't managed to make the ...
2
votes
0answers
742 views

OpenVPN tunnel routing issues

Please excuse my inexperience. I managed to setup a vpn connection between a single client and server. Currently I am testing this in VM's which are running Server 2008 R2 (temporary since I have ...
2
votes
0answers
2k views

Routing only some local IPs through VPN on dd-wrt

Much similar to this entry: http://serverfault.com/questions/94283/using-dd-wrt-to-connect-to-vpn-and-forward-all-traffic-of-certain-devices-through , I have set up my router with dd-wrt + OpenVPN to ...
1
vote
0answers
20 views

How to push a route via tap0

I need to push extra routes to my OpenVPN clients. I tried to do this in the server configuration via push "route 10.10.10.0 255.255.255.0" expecting to get on the client a route via tap0. What I ...
1
vote
0answers
24 views

iptables - POSTROUTING / SNAT doesn't change source IP (two routing tables)

I have a problem with iptables POSTROUTING rule, it seems that SNAT rule doesn't change source IP address. I would like set up the following system to route all traffic from LAN 2 through a VPN tunnel....
1
vote
0answers
19 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 ...
1
vote
0answers
42 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-...
1
vote
0answers
24 views

How to forward port through VPN on Linux

I'm setting up a small CTF (hacker competition) and have a machine that hosts VMs. One of these VMs will be the target. The host machine cannot be reached through the internet, so I have set up a ...
1
vote
0answers
32 views

NO routing in VPN to client side

I try to configure the following network structure in one dev VMWare environment. W.XP------| |-----W10 192.168.5.100 | | 192.168.4.100 ...
1
vote
0answers
30 views

Securepoint client will not launch in Windows 8.1

An OpenVPN hosted on a CentOS 7 server needs to have a Windows 8.1 client. But when I install the SecurePoint VPN client and try to launch it, nothing happens. Specifically, I right click on the ...
1
vote
0answers
30 views

Using a rented VPS as an Openvpn server for friends: legal risks and how to avoid them?

Disclaimer: I have done some research on the legal implications of an Openvpn server hosted on a VPS, but have come back from these quite empty-handed. Context: We are a bunch of friends in ...
1
vote
0answers
22 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: ...
1
vote
0answers
91 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. ...
1
vote
0answers
25 views

Particular workstations cannot reach specific servers in an openvpn site2site environment

It seems to be a weird problem to me. Here is the situation. I set up a site to site environment by openvpn (udp protocol), most servers and workstations can reach the other site but several servers ...
1
vote
0answers
25 views

Why would OpenVPN attempt a TCP connection in a UDP setup?

I connect to an OpenVPN server (IP_of_OpenVPN_server) from a network which is behind a firewall (iptables managed by Shorewall). The firewall is set up to only allow outbound OpenVPN (udp/1194) ...
1
vote
0answers
94 views

Openvpn Error opening configuration file:

I just set up openvpn with this script on clean centos 7. And I can't connect to server. I got following error in journalctl -xn 05:18:39 localhost.localdomain openvpn[1433]: Options error: In [CMD-...
1
vote
0answers
46 views

Route all traffic from virtual interface to temporary tun0

I'm trying setting up at home an automated torrent client to download some big GIS databases I produce at work and release as .torrent files. My home server is a Raspberry PI with one Ethernet ...
1
vote
0answers
51 views

Using a VPS as front end proxy

I run a shell host that many users share which gets frequently DDoS'd (at least once every other month). So I have come up with a plan to peer all traffic with a VPS, so that it appears to everyone ...
1
vote
0answers
37 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, ...
1
vote
0answers
44 views

How to correctly set up a bridge interface in GCE

I'm trying to set up a bridge interface as described in many docs, for instance: https://help.ubuntu.com/community/OpenVPN My setup in identical to that one, except obviously I used my GCE internal ...
1
vote
0answers
34 views

OpenVPN connection Time out after connecting to Server

I have set up OpenVPN on my Server and now have problems when connecting to it. As soon as the connection is established I cant use the internet anymore. SSH into the server is still possible. here ...
1
vote
0answers
95 views

linOTP to openVPN authentication ubuntu 12.04

I am working on a project in which I have to install a one-time password authentication. I have successfully installed openVPN to which I can connect without any authentication. I have installed the ...
1
vote
0answers
43 views

Route traffic between OpenVPN networks

The goal is to have main OpenVPN server and multiple OpenVPN subnets that are reachable for main server clients. All subnets' servers are clients of the main server too. Here are configs: main ...
1
vote
0answers
34 views

Cannot ping an ip of router

my issue is: r1 ping r4(em0) will lost the first packet r2 ping r3(em0) will lost the first packet too r3 cannot ping r2(eth0) r4 cannot ping r1(eth0) there are 4 routers, and connected with ...
1
vote
0answers
38 views

How to ping machines behind an openvpn client router

I've a network located in 3 phisical places. In the first place I've a PC called PC1 configured as OpenVpn Client with a 10.8.0.3 ip address. In the second place I've a Router configured as OpenVpn ...