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

6
votes
2answers
183 views

Unable to login via PAM and ldap: failed to get password

I'm trying to have OpenVPN authenticate users via PAM over LDAP to an Active Directory server. Here are the relevant parts of my configuration files: /etc/openvpn/server.conf: # ... plugin ...
0
votes
0answers
45 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 ...
1
vote
1answer
72 views

DNS resolution happening inconsistently over OpenVPN

Here's my OpenVPN server configuration: port 1194 proto udp dev tun ca ca.crt cert server.crt key server.key dh dh4096.pem topology subnet server 10.224.127.0 255.255.255.0 # AKA 10.224.127.0/24 ...
1
vote
1answer
48 views

Why does data sit in Send-Q? TCP sessions freezing

Issue I run an IRC server for 20-50 users. We sometimes have issues with messages not arriving in a timely fashion or at all. After some packet captures we determined that messages sit in the ...
0
votes
0answers
51 views

Sending multicast over VPN (with buffering)

I am trying to connect two sites using VPN (OpenVPN) to transmit multicasts (IPTV) from one site to another. I have created a layer2 VPN and it works, however, multicasts are very sensitive to packet ...
0
votes
0answers
25 views

Cannot connect to LAN when VPN connection is active

I have a headless server (skynet) which I would like to connect to a OpenVPN server running on a VPS I've purchased. The VPN is up and running and when I test to it with my laptop, I have internet ...
1
vote
1answer
125 views

No gateway / internet connection with both OpenVPN an PPTPD on Debian Server

I tried setting up a VPN on my Debian 8.2 Server using OpenVPN which was working fine. After a few days I was not getting any internet connection anylonger using OpenVPN and I saw using ipconfig ...
1
vote
0answers
28 views

What would be the cause of openvpn network fault?

We have openvpn network for aproximately 1200 client connections. Basically everything is running fine but there exists 0-4 collapses per day (which occurs randomly), when we looses majority/all of ...
0
votes
0answers
50 views

Enable Google Authenticator to send codes via SMS with OpenVPN

Setup: Using OpenVPN in single-server<->multi-client configuration. Running google authenticator PAM module in order to enforce 2 factor authentication. Problem: Some employees don't have a ...
0
votes
1answer
61 views

OpenVPN can' reach client Lan

I have a question about OpenVPN, I had made a "dev tun" connection between my office network and a VPC on Amazon.But.... in few words: Everething work, except: i c'ant ping the client Lan from the ...
0
votes
0answers
10 views

Adding New Users on OpenVPN Access Server

I recently started using OpenVPN AS and am trying to figure out best practices for adding new users. Googling doesn't turn up much. I know I can do it by adding a user by logging sshing in and running ...
0
votes
0answers
202 views

OpenVPN connection reachable but times out

What I'm trying to do: Set up my own VPN server using a VPN-supported router (in this case, OpenVPN supported by Netgear Nighthawk X6 R8000) Be able to access both internal network and internet with ...
-3
votes
2answers
183 views

OpenVPN Client alongside Apache HTTPD

What is the best way to set OpenVPN Connect on the same server where Apache HTTP Deeamon is running. I have multiple domains hosted on that server and I want to configure OpenVPN on vpn.example.com ...
-1
votes
1answer
48 views

How to restart openvpn setup on amazon AWS turnkey linux

I installed TKL AMI on my AWS EC2 pool, and the first time I logged in, it showed me the setup screen, which I dismissed since I had to do some other config first. However, when I logged out and ...
-1
votes
1answer
22 views

openvpn - prevent clients to access openvpn servers local network

I have openvpn setup on my server My hosting provider doesn't like network scans from their server and so i want to disable client devices connected to my openvpn to do a nmap scan for example Is ...
0
votes
1answer
46 views

How to log outbound connections in an OpenVPN server?

I'm running a corporative OpenVPN server in an Ubuntu Server 14.04.3 Intel Xeon E3 machine. I need to log each connection try to any website, including destination IP, hostname, date, up/down ...
1
vote
0answers
78 views

Routing IPv6-traffic from client via OpenVPN-server

For playing and learning purpose i set up an OpenVPN-server. Im currently attached to a network without IPv6. Because of that, I would like to route all IPv6-traffic via the VPN. With IPv4 and ...
0
votes
1answer
58 views

OpenVPN log not showing up in /var/log/messages file

When running service openvpn status, the output states Status written to /var/log/messages However, nothing shows up in the file.
0
votes
1answer
35 views

OpenVPN bridged mode, cant access private network

I am struggling with this problem and I just can't figure it out. I am using cloud servers and I got a private network from them with ip's 10.99.x.x and netmask 255.255.0.0 I have 2 servers: ...
1
vote
0answers
113 views

Direct all traffic between Eth0:1 interface and VPN Tun0

If answered correctly this question will show you how to link a 2nd public IP address on a machine to a VPN server tunnel on that machine, so that the remote VPN client (running a server), sees this ...
1
vote
1answer
248 views

How to connect to OpenVPN from Windows native interface

This is quite a simple question. I'm trying to set up a VPN on a VPS and all of the sources I've read say "Use OpenVPN". It also seems that with OpenVPN, you have to install this GUI on Windows in ...
0
votes
3answers
246 views

OpenVPN client-to-client

When usig a TUN (layer 3) OpenVPN server with client-to-client disabled, my clients can still talk to each other. The client-to-client config should prevent this according to the documentation: ...
0
votes
1answer
36 views

Associate a specific certificate to a specific local user with OpenVPN

Set up: OpenVPN 2.3 on centos server. Multiple clients (windows, osx, linux). Encyrption using certificates PER device (easy-rsa), and added authentication using the openvpn-plugin-auth-pam.so ...
0
votes
1answer
121 views

OpenVPN and client-connect scripts

I have an OpenVPN server (2.3.2) on Debian Wheezy operating in bridged mode. Everything's working fine in terms of the client connecting and getting access to the network(s) it needs. Im trying to add ...
2
votes
0answers
20 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 ...
0
votes
1answer
32 views

openvpn client restarts if default gateway is changed

I am running openvpn client in my system which connects to remote openvpn server via Internet. My system is connected to two networks (multi homed) wlan0 and ppp0. Both provides internet connectivity ...
0
votes
1answer
140 views

How to automatically add localhost DNS server (dnsmasq) to resolv.conf

I did the steps at https://wiki.archlinux.org/index.php/OpenVPN#DNS to set up DNS with OpenVPN so that anytime the OpenVPN connects or disconnects, it automatically updates /etc/resolv.conf. The ...
3
votes
1answer
129 views

Windows 10 strange OpenVPN behavior

I have an OpenVPN server running (93.xxx.xxx.xxx is the public IP) to which different android and windows clients can connect and have access to the internet, but an OpenVPN client on my Windows 10 PC ...
1
vote
0answers
45 views

How can i use OpenVPN from SoftEther in android devices? [closed]

I want to know is there any chance to connect to OpenVPN that build in SoftEther in android devices using openvpnclient?
0
votes
0answers
40 views

OpenVPN on AWS: ec2 instance not able to see connected clients

I have 3 ec2 Instances on my AWS environment all in same VPC and same public gateway. 1 of the instances is OpenVPN instance and other 2 are normal linux machines. to demonstrate: ec1 machine local ...
2
votes
0answers
465 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 ...
1
vote
0answers
15 views

OpenVPN fail-over, keeping same IPs and certificates?

So I have a OpenVPN server (10.0.0.1), and several OpenVPN clients connecting to it. The server authenticates via certificates and keys generated by easy-rsa, and hands out a unique IP (10.0.x.1) and ...
0
votes
0answers
40 views

Script in user terminal works, permission failure in users crontab in Scientific Linux 7.1

I have a script that works to check if my VPN connection is up, and if not, it restarts it. This works correctly in a terminal, but the command nmcli con up uuid 7c514892-6a6a-4d33-946b-84aeb37615bb ...
4
votes
1answer
202 views

OpenVPN-server disappointing performance

On my VPS (Ubuntu 14.04 - 64-bit), which has OpenVPN 2.3.2-server installed, I'm getting disappointing performance. The VPN-server uses the AES-128-CBC cipher for encryption, and I have no firewall ...
1
vote
0answers
73 views

sign keytool generated cert/key pairs using easy-rsa openvpn intermediate CA

I am creating root and intermediate CA with easy-rsa using ./build-ca & ./build-inter commands consecutively. Now, I want my root ca as offline and I want my certs/keys signed by intermediate CA. ...
0
votes
0answers
19 views

mounting nfs fails after exiting openvpn and deleting route

lately found that sudo mount -a in the script won't work after exiting openvpn and deleting a specific route to the NFS via openvpn. "sudo mount -a" in the script returns "mount.nfs: mount system call ...
0
votes
1answer
124 views

OpenVPN on AWS: Unexpected error: invalid_profile: Unable to find a server-locked or autologin profile for this user

I have setup a OpenVPN server using an AMI from AWS Marketplace. and setup with the default options. Now I am trying to connect to that vpn server but getting this error: "Unexpected error: ...
1
vote
4answers
330 views

Webserver exposes client real IP address in OpenVPN network

One of our corporate websites run on Linux server, built with Apache2 and PHP5. Several web pages can only be accessed from OpenVPN subnet (addresses 10.8.0.1/24). To check each request, php script ...
2
votes
0answers
19 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 ...
1
vote
3answers
85 views

Open VPN Issue, servers can not route properly

I need some help on this issue. Basically I have a server which I have openvpn installed on. It is working fine and I am able to ping the server which I am connected to and can ping back. What I am ...
0
votes
0answers
42 views

OpenVPN - Can not access shared files

I installed OpenVPN as a server on my Windows server (Yeah, really). The configuration looks good. This server get the IP 10.9.8.1 for the VPN tunnel as expected. I also made some tests by installing ...
3
votes
1answer
134 views

OpenVPN and systemd-resolved

How does one use the dns pushed via an openvpn server with systemd-resolved ? Before I decide to 'upgrade' to systemd-networkd. I could use some variant of openvpn-resolv-conf script to call ...
0
votes
2answers
77 views

Allow Internet traffic and Block LAN for openvpn clients

I have a OpenVPN server ruining on Unbuntu 14.04 server. Everything works fine, the client connects to the server and can ping the VPN server. I want the client use my internet as it were his internet ...
1
vote
1answer
122 views

Openvpn: client can ping server, server cannot ping client

I have weird problem with openvpn setup between AWS and GoGrid datacenters. My network looks like this /----------------\ /----------------\ /------------------\ ...
0
votes
1answer
34 views

Creating a link between two OpenVPN subnets

I have an OpenVPN server which runs with two configurations - first one is port 1194 proto udp dev tun while the second one is port 443 proto tcp dev tun port-share ${my-ip} 10443 I keep them ...
0
votes
0answers
18 views

Openvpn ethernet bridge

This may or may not be a server issue. OpenVPN host: 192.168.1.120 Netmask: 255.255.255.0 Broadcast address: 192.168.1.255 Router's IP address: 192.168.1.1 /etc/openvpn/server.conf port 1194 proto ...
0
votes
2answers
345 views

How to block internet access when the VPN stops on a DD-WRT router and separate VPN/direct clients?

I am using a DD-WRT 3.0 router to connect via openVPN. In the LAN, 192.168.1.50 is a device which should not go thru the VPN. (How do I set the firewall to have 192.168.1.50 not go thru VPN and How ...
3
votes
0answers
95 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 ...
0
votes
1answer
86 views

multiple tuntap VPN traffic selection

I have a php / bash application on top of a linux machine (centos or debian but assume redhat just in case the reply need different dialect) connecting to port 80. Actually I'm perfectly able to open ...
0
votes
0answers
74 views

Openvpn “TLS ERROR cannot locate hmac in incoming packet”

In server side, the logs were showing that TLS ERROR: cannot locate hmac in incoming packet, whenever I accessing in client laptop.. Please suggest me the possible solutions ....