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

1
vote
1answer
3k views

How to get OpenVPN Client (Mikrotik RouterOS) <-> OpenVPN server (Debian/Linux) setup to work

I have some issues with making MT to work with OpenVPN server (Debian). I can make successfull connection to OVPN server, but traffic is not routed through OVPN server. Here is my configuration. ...
0
votes
0answers
6 views

OpenVPN authentication using pam_winbind

I'm running an OpenVPN Server on a Debian machine joined to my Active Directory Domain. I'd like to use pam_winbind for VPN authentication. This is where the troubles arise. Authentication is working ...
0
votes
0answers
13 views

Port-forwarding with openVPN client-server (ubuntu 16.04)

Here is my situation : - I want to set my computer (Ubuntu 16.04) as a VPN server. It has a local IP address 192.168.43.190, and a public IP - I have one raspberry pi as a VPN client, on a DIFFERENT ...
0
votes
0answers
11 views

OpenVPN server to forward traffic to client

I've set up OpenVPN on my Debian server. I want all traffic that goes on the OpenVPN server on port 65535 to route to a client's port. The client is connected to the server using OpenVPN. But the ...
1
vote
1answer
28 views

Signing OpenVPN server and clients certificates by Samba4 DC auto-signed CA.pem

I installed Samba4 and configured it to be domain controller, and it auto generated ca.pem, cert.pem, key.pem. And now I want to use the same CA of samba to sign the new certificates (maybe generated ...
0
votes
1answer
20 views

Can only ping one direction across an Openvpn tunnel

Setup: Main office - Ubuntu openvpn server behind a sonicwall Remote Office - ASUS router connected to the openvpn via it's builtin VPN client. Main Office 10.0.5.0/24, Openvpn 10.8.0.1 Remote ...
0
votes
0answers
21 views

tunnelblick - Chrome doesn't open HTTPS sites in office network

I use Tunnelblick VPN client to connect to Office network. When my mac connects to mobile 3G hotspot, VPN connection works just fine. I can access HTTPS & HTTP web sites in office network. When ...
5
votes
2answers
80 views

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

When trying to connect an OpenVPN client (Android or Windows 7/10) to my test server, I receive the following error: VERIFY ERROR: depth=1, error=unsupported certificate purpose: C=CA, ST=QC, L=...
0
votes
0answers
18 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-...
0
votes
1answer
76 views

Connect to openvpn management interface on unix domain socket

This should be super easy, I think I'm missing something obvious. The OpenVPN docs state that you can run the management interface on a Unix domain socket. OK, no problem, I tried that. openvpn --...
0
votes
0answers
24 views

openvpn: How to not use VPN for domains with multiple IP addresses

I want to route around openvpn for a specific domain. I have tried: allow-pull-fqdn route specificdomain.com 255.255.255.255 net_gateway But this simply does a DNS lookup of the domain and adds ...
1
vote
1answer
1k views

Can I use the same client certificate in multiple OpenVPN tunnels to the same server?

I have a simple setup like this: SERVER ---- INTERNET ---- CLIENT On SERVER I already have OpenVPN set up with a sertificate for CLIENT. On CLIENT I already have OpenVPN set up to contact the server ...
2
votes
1answer
27 views

With OpenVPN how can I only let LAN go through the VPN?

So I have the following setup: Now from home I like to make a connection through OpenVPN to access my LAN from work. So I edit the config of the OpenVPN client on my home computer to: remote 180....
2
votes
1answer
2k views

OpenVPN connected but no Internet or LAN

Good evening, I'm facing an issue with my OpenVPN installation. Been at it for 3 days now but still cant figure out what is wrong for the life of me... Basically the issue is that i'm able to ...
1
vote
1answer
25 views

Routing between openvpn interfaces/instances

I have 2 openvpn instances on one server (TCP and udp). One has clients in subnet 10.8.0.0/24 and another 10.8.1.0/24. Server IPs are 10.8.0.1 and 10.8.1.1: Is it possible to ping 10.8.0.2 client ...
0
votes
1answer
25 views

How can I assign OpenVPN clients static IPs?

I am trying to work out how to assign my various OpenVPN clients static IPs every time they connect. I have found multiple posts explaining how to do it when OpenVPN is on a PC, but not when it is ...
2
votes
0answers
501 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 ...
6
votes
4answers
4k views

Openvpn, forward packets very slowly

I rebooted my server, and an odd issue just came out. I am running on ArchLinux, the clients are Ubuntu, Android and Mac. The problem is that accessing the internet via the clients is slow, about 2ko/...
0
votes
0answers
23 views

VPN connection problems regarding plex media server and voice over IP [migrated]

I have a home server - running Debian Jessie and plex media server. My router (fritzbox) allows all smartphones in my LAN to receive incoming landline calls (due to a certain app). This part works ...
0
votes
1answer
3k views

Configuring Shorewall for routed OpenVPN

I have an Ubuntu server 14.04 machine that serves as a NAT router. The routing is achieved using Shorewall, mostly in line with this tutorial. The LAN has the subnet 10.0.0.0/24 On this machine I ...
2
votes
1answer
61 views

Is it possible to WOL via OpenVPN?

I am trying to find a way to turn on my work PCs remotely via OpenVPN. The PCs are connected to a router which is on the subnet of another router owned by the people who manage our building. When the ...
1
vote
0answers
22 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
23 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 ...
4
votes
2answers
3k views

OpenVPN: Not all DNS entries get pushed to clients from server. (dnsmasq)

I have been trying to find a solution to this problem, but have found no answer so far, so I hope you guys can help me out. I have a server running Ubuntu 10.04, which has a static IP address and an ...
1
vote
2answers
6k views

Cisco AnyConnect VPN via OpenVPN tunnel [Unable to modify IP forwarding table]

Background: I'm working as a contractor for a small web design agency. We have a particular project / client requires that any updates / development that are performed are done via VPN. The client VPN ...
-1
votes
2answers
23 views

forward eth0 traffic over tun0

I'm trying to setup a raspberry pi 3 as a vpn access point(?) So far I have wlan0 configured to connect to a mobile hotspot, when this is connected openvpn connects to the vpn server. This works fine,...
2
votes
2answers
58 views

How can I connect remotely to our network from behind a double NAT?

Having successfully set up my home office network for remote access via OpenVPN, I would now like to do the same thing at work, however I am double natted. There is a central router maintained by ...
0
votes
2answers
32 views

OpenVPN TAP network

I have a question about the OpenVPN in TAP configuration. I want to access local resources through VPN connection from outside network. I think I need TAP configuration, because I want to send ...
0
votes
1answer
2k views

NFS fails to mount through openvpn tunnel

I am trying to establish an nfs connection through an openvpn tunnel. It really anoying and i dont know what to try next. The connectein test has been made on several platforms now. used debian/centos/...
0
votes
0answers
9 views

Docker serveral ip in container and openvp

Run docker container with openvpn. How for each user i can assign external Ip address of the server where Docker. In the usual case, for openvpn I use "client-config-dir" where you assign each user an ...
1
vote
1answer
22 views

Client route for OpenVPN Access Server

I am running OpenVPN Access Server and I'd like to push a route to every client on connection that is the equivalent of: sudo ip route add 172.17.0.0/24 via 172.27.232.1 Where should I go to set ...
1
vote
0answers
29 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 ...
3
votes
1answer
2k views

Limit/Throttle per user OpenVPN bandwidth using TC

I have a group of users connecting to my server via OpenVPN TCP and UDP (2 services). The two services are operating on tun0 and tun1 I'd like to be able to limit each user's bandwidth to say 5mb/s ...
0
votes
0answers
59 views

Openvpn client frequently uses a different IPv6 address causes a unstable connection

I set up an OpenVPN server on IPV6 recently, it runs well, except for one thing: the client loses connection frequently for Inactivity timeout (--ping-restart). Here's the log infomation on the client....
0
votes
1answer
1k views

OpenVPN run script after tunnel is set up

I'm having a hard time figuring out exactly how can I update my A records on my cloudflare account. I have already set up a script that checks for IP changes, and pushes the changes through the ...
1
vote
1answer
16 views

User specific network IP/Port permissions for Open VPN

We are using Open VPN to give secure access to our remote team to access our EC2 instances hosted on AWS. Usually we create one open VPN account for each team and give that account to the team. By ...
1
vote
5answers
5k views

OpenVPN won't start on ubuntu - PID not found

I am running ubuntu version 12.04 LTS and I have installed OpenVPN on it. After a while of troubleshooting why my client won't connect (I have generated keys and confligured the client), I ran '...
0
votes
1answer
19 views

OpenVPN multiple IPv4

I have been trying to configure OpenVPN to listen on multiple IPv4 addresses. What I want to achieve is to have OpenVPN listen on all available IP address & it does it at the moment: # netstat -...
1
vote
1answer
74 views

OpenVPN | How to make the server communicate to another server in LAN via OpenVPN gateway?

I've been trying my EC2 instance (OMD) to communicate to my LAN server (Raspberry Pi) via another EC2 instance (OpenVPN) but I can't make it work. The OMD server can ping the RPi but it can't connect ...
-1
votes
0answers
34 views

OpenVPN gateways configuration with non-routable addresses

I have to configure OpenVPN gateways with cryptographically protected tunnel connecting two non-routable subnet addresses. Mutual authentication gates on the basis of certificates. I used this ...
3
votes
1answer
2k views

OpenVPN and TomatoVPN

Wondering if someone can help me with the following. I have updated my Linksys router with TomatoVPN and used the following config: Interface Type:TAP Protocol:UDP Port:1195 Firewall Custom ...
1
vote
1answer
138 views

How to do traffic shaping (rate limiting) with TC per OpenVPN client

This question is related to another question with a great answer and script from @Oliver. The goal: I want to modify/extend the script provided in this answer to suit my requirements, which are as ...
0
votes
0answers
54 views

OpenVPN Server on Windows does not accept connections

I currently have a strange problem with my OpenVPN Server. I am using OpenVPN 2.3.11 on a Windows Server 2012 R2 Standard. The problem is that after a while (between 5 and 10 hours) after the OpenVPN ...
0
votes
1answer
21 views

OpenVPN wont connect from android, TLS error

I have set up OpenVPN server and I am connecting it with no problem with my Fedora 23 computer using NetworkManager. Alas, when I try to connect from OpenVPN Connect application from Android, I get ...
0
votes
1answer
79 views

OpenVPN Windows 10 Server, Windows 7 Client, can ping each other on VPN IPs but nothing more?

Server config: port 1194 proto udp dev tun dev-node MyTap server 10.8.0.0 255.255.255.0 ca "C:\\OpenVPN\\easy-rsa\\keys\\ca.crt" cert "C:\\OpenVPN\\easy-rsa\\keys\\server.crt" key "C:\\OpenVPN\\...
1
vote
2answers
59 views

Get access to services outside VPN while tunneling OpenVPN Access Server

I have two VPS with one on which I installed OpenVPN Access Server and vpn client on the second one. When I connect the client to the OpenVPN AS, I can't get access to apache which is installed on the ...
0
votes
1answer
7k views

OpenVPN: ERROR: could not read Auth username from stdin

I managed to setup openvpn but now I want to integrate a user/pass authentication method so, even though I haven't added the auth-nocache in the server config, whenever I try to connect it returns ...
0
votes
1answer
22 views

openvpn with ccd - not reading ifconfig-push from ccd

Trying to set use ccd with openvpn 2. I want some clients to get IP addresses on a separate subnet so their access to systems can be limited. my server.conf file has these settings: dev tun0 server ...