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

4
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 ...
2
votes
0answers
59 views

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, ...
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
182 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
14k views

Openvpn routing for lan to lan through tun

I am trying to setup an OpenVPN tun to connect two lan's The open vpn connection is up and working but there is a problem with my routing or nat or something. What I need is an example of what a ...
2
votes
0answers
377 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 ...
2
votes
0answers
159 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
330 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
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
670 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
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
17 views

OpenVPN redirect-gateway not working on 3G cellular

I have trouble setting up an OpenVPN server on Ubuntu 14.04. I followed this guide from Digital Ocean step by step and it works perfectly for all WiFi devices such as my laptops and desktop either on ...
1
vote
0answers
15 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 ...
1
vote
0answers
21 views

IPTables, route specific port through VPN

I'm running my own mail server at home on a dynamic IP. Dynamic IPs are often blacklisted, so I currently send out mails through my provider's relay. I want to change that to sending mail directly, ...
1
vote
0answers
52 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 ...
1
vote
0answers
65 views

OpenVPN on Docker

I'm just learning docker, but there are things which I don't understand. I'm trying to install OpenVPN in a docker, but it doesn't work for me. If I am install a Linux in a Docker container, it is a ...
1
vote
0answers
46 views

OpenVPN server in VirtualBox Linux guest with host only adapter

I need to setup a VirtualBox virtual machine that will act as a VPN. I'm using Vagrant to create the VM on an Ubuntu 14.04 LTS client. I'm using OpenVPN as the VPN server on an Ubuntu 14.04 LTS ...
1
vote
0answers
34 views

OpenVPN routing based in LDAP Authentication?

To understand the solution better this is an example: The company has 1000 users that constantly switch seats (computers are set with DHCP IP, so the user can constantly have his IP address ...
1
vote
0answers
157 views

openvpn TLS handshake fails on client because firewall drops packets (but why?)

I seem to have problem with my openvpn server - client connection. now, the important information is in the log (verb3) of my client: Mon Mar 30 17:09:59 2015 OpenVPN 2.2.2 ...
1
vote
0answers
50 views

What is the best way to configure an iDRAC/dell server in a public data center such that the idrac doesn't have to be exposed public facing

I have a server right now in a data center behind an OpenVPN using the client on the box to connect to the vpn server. I'm going to install the iDRAC and want to know how to best configure the ...
1
vote
0answers
42 views

Stop Outbound SYN Scan

Hello I run a VPN company, and recently my host has been sending me these complaints that are likely coming from a user. I am not sure how to identify the user, if I could just do that I wouldn't ...
1
vote
0answers
95 views

Connect AWS and Azure via OpenVPN

I am trying to connect two networks (AWS and Azure) together via OpenVPN. I am aware of other implementations (OpenSwan+Azure GW etc.) but I need maximal portability as I will be expanding this to ...
1
vote
0answers
117 views

How to allow single user to use user/pass authentication in openvpn when all others will use private keys?

I've got a Mikrotik Routerboard RB750GL which I bought to configure as an openvpn gateway for lan at the office. Unfortunately I was lured by the openvpn promise, I didn't read to carefully to know, ...
1
vote
0answers
173 views

How to create openvpn tunnel between multiple interfaces between two hosts ubuntu linux

I want to create OpenVPN tunnel between two Ubuntu 12.10 hosts which has two interfaces, say: Host1: eth0, eth1 Host2: eth0, eth1 A tunnel is wanted between: Host1 (eth0) <-> Host 2 (eth0) ...
1
vote
0answers
140 views

OpenVPN: unable to reach clients over IPv6

Current setup: OpenVPN server with IPv4 and IPv6: [...] port 1234 proto udp6 dev tun server 10.9.8.0 255.255.255.0 server-ipv6 2001:1af8:3100:a00a:0021:a:b:0000/112 client-to-client [...] Clients ...
1
vote
0answers
99 views

openvpn rdp networking mystery : can connect HTTP cannot RDP, even with firewall off

I have 2 small networks joined using OpenVpn (routed configuration), lets call them A and B. on A, I have a test web server (IIS, Windows 2008R2 or Windows 2012 depending on test machine), lets call ...
1
vote
0answers
766 views

Cannot make TCP Connection with OpenVPN Server

Client OpenVPN assigned IP: 10.8.0.2 ↓ TCP on 1194 Internet ↓ Router port-forwards 1194 to server- Public IP 104.162.67.198 ↓ Server LAN IP: 10.8.0.1 I think the above is what I am trying ...
1
vote
0answers
47 views

OpenVPN - Route and iptables configuration

simplified network diagram: Certs and keys already created OK. The 'straight' line between client and server is just to indicate a tunnel. Obviously, it goes through the firewall. Client is windows ...
1
vote
0answers
114 views

Pfsense Openpvn and Vmware issue

Here is my network: Client --- WAN --- PfSense(VMWare) --- LAN --- vSwitch (Promiscuous) \--- ESXi Management (192.168.2.1) ...
1
vote
0answers
335 views

OpenVPN ignoring openvpn.conf, throws unrecognized or missing option

I set up openVPN on Debian, but can't start the service. [FAIL] Starting virtual private network daemon: openvpn failed! Syslog says Options error: Unrecognized option or missing parameter(s) in ...
1
vote
0answers
162 views

OpenVPN client ping server: eth0 works, tun0 fails

Usually for OpenVPN, people have issues accessing LAN interfaces but no issues accessing the TUN interfaces. I have the opposite problem. Ping from client (10.9.0.1) to server eth0 (10.0.0.97) works ...
1
vote
0answers
97 views

vpnc through openvpn failed

I should connect to a Cisco VPN server for example 95.94.66.6, it configured to accepts specified IPs so I launched a server with a registered IP on Cisco which runs an openvpn server. The scenario ...
1
vote
0answers
35 views

VM LAB - Promiscuous mode clarification

So for clarification I am running a Lab within VMware behind OpenVPN, 1 NIC with direct internet access (WAN vswitch) and another NIC with a leg inside a LAN vswitch. (This obviously houses my VM's ...
1
vote
0answers
52 views

NAT for IPSEC access?

Please help to understand if the following configuration can be created. I have IPSEC connection with my customer. It is site2site vpn between customer network and my network 10.102.103.0/28. This ...
1
vote
0answers
109 views

Printer on OS X not printing across VPN subnets

I have an interesting situation where I have a two servers that connect two subnets via a VPN. One side is 192.168.0.0/24 and the other is 192.168.1.0/24. Communications appear to be working okay. I ...
1
vote
0answers
550 views

Client successfully connects to OpenVPN server but with no internet access over the VPN

I'm trying to setup OpenVPN with static key authentication(instead of TLS) on TCP port 443; but the client cannot access the internet over the VPN after connecting to the server. Here's my current ...
1
vote
0answers
184 views

How to setup multiple OpenVPN connections on a server for a single localhost app to use on CentOS 6.5?

I have a scenario where I need to run several OpenVPN connections at one time and to allow a singular application to access each of these connections. How wold I go about starting up several ...
1
vote
0answers
66 views

OpenVPN TAP binding order issue

I am running a 64bit Windows 7/8 AD environment using OpenVPN on remote computers to access our network/servers in our main office. Typically, once we install OpenVPN on a new machine and configure ...
1
vote
0answers
94 views

Policy routing local user's traffic down a tunnel

I've got a Linux based Firewall/Router running iptables and SNAT for traffic passing through it to the Internet via a single uplink - This is working fine. There is also a small number of applications ...
1
vote
0answers
210 views

How to set up an OpenVPN server to accept server certificates as clients

I'm setting up a LAN to LAN VPN using openvpn. For reasons of easy certificate management I wish to re-use the server certificates which already exist on each host. I've set in the config file ...
1
vote
0answers
41 views

Chef - handle resources changing the network interface

I'm using chef to deploy an openvpn application in bridging mode to an ubuntu node. In my recipe i'm using a bash resource to create the bridge necessary for the vpn to work. Unfortunately the bridge ...
1
vote
0answers
921 views

Pfsense OpenVPN Site to Site Routing issues

I know this question has been asked a plethora of times before and I have looked over probably 100 different answers and still cant seem to get this to work. Im trying to create a very simple site to ...
1
vote
0answers
90 views

Renaming an OpenVPN server - how to keep from losing all clients?

I have been instructed to change the domain name on a bank of servers. One of these is for OpenVPN and I'm wondering how best to do this without cutting off all the clients. Each client is also ...
1
vote
0answers
212 views

Openvpn-server: Execute a script when on a failed connection?

Good morning, I was wondering if It was possible to setup something to execute a script when someone tried to connect but the TLS check failed (When someone who is not supposed to connected try to° ...
1
vote
0answers
404 views

VPN connection reset

I have a device running ArchLinux and OpenVPN, which was connecting to VPN server without problems until recently. Now it can't connect, with the following output that keeps looping indefinitely: ...
1
vote
0answers
81 views

OpenVPN running on Internet Gateway, so all private clients can access VPN with no config

Our LAN connects to our office gateway machine (192.168.1.1), which is connected to the Internet. I have setup NAT/Masquerading for this purpose with no issue. We also use OpenVPN to connect to our ...
1
vote
0answers
268 views

Connection two subnets behind routers

Task is very peculiar. I ask your help. Do you have any ideas on this subject. We have: 1.First device: |Internet| -> |ASUS RT-N16(firmware dd-wrt) 1| -> |Server base on Ubuntu 1| 2.Second device: ...
1
vote
0answers
64 views

Open ports for VPN users

I have been looking around for some time for answer to this, and have yet to find one. The issue that I am having is that users that are connected to the VPN cannot do the following, as examples: ...
1
vote
0answers
118 views

Pass a traffic from a specific domain through OpenVPN

I want to pass traffic from a specific domain through openvpn (tun0) and the rest through eth0 How can I configure openvpn to work with eth0? the domain name is set with ddclient to update dynamic ...