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
38 views

OpenVPN and AWS VPC. VPN Client can connect to VPN and ping VPN Server but cannot connect to VPC Servers through the VPN

I'm having issues routing traffic from the VPN Clients to the LAN the openvpn server is on. This is running in AWS VPC. I can ping vpn client and server from one another, but not the other servers ...
0
votes
1answer
65 views

OpenVPN service cannot start

I configure OpenVPN on my VPS (Fedora 23) and I have an issue with starting it as systemd service. From command line (openvpn server.conf) all works fine, but when I try start it via systemd it fails. ...
0
votes
1answer
65 views

OpenVPN-AS Apache reverse proxy

I have ubuntu server setup with openvpn-access server and apache. I have reverse proxy working for most things I need access to but I cant figure out how to set it up for the connect/admin page of ...
0
votes
1answer
83 views

Best way to setup highly compatible VPN (thinking IKEv2) in Ubuntu 15+?

Having used OpenVPN for a while, I've found it tiresome to install a client on every machine that needs to connect (Android, Windows, Linux.) I'd rather just enter the details in the OS's built in ...
1
vote
2answers
32 views

Can't establish connection between openvpn client and server

I've set up an openvpn server on a computer and I'm currently trying to connect to it with a client. The server seems to init correctly (although it does give a warning about the common 192.168.1.X ...
2
votes
1answer
52 views

Setting up a secondary network interface (VPN) on a linux server using openvpn

Network WAN __|___ |Router| ‾‾|‾‾‾ ______ 192.168.0.1----(192.168.0.0/24)----192.168.0.102-|Server|-192.168.3.1---(192.168.3.0/24) ...
2
votes
1answer
36 views

routing two DCs using VPN

I have two remote servers that have their local LAN connected via a VPN. Some more details including routing tables here https://ghostbin.com/paste/6sv3w 192.168.1.1 is router1 with lan ...
4
votes
1answer
316 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
1answer
11k views

OpenVPN not default gateway for all traffic

I'm trying to make my client forward all traffic through a VPS running OpenVPN. As you can see, it will allow pings to both domains and raw IP addresses, but it will not allow traffic like that made ...
0
votes
0answers
25 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
37 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
31 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
30 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
23 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
0answers
27 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 ...
1
vote
1answer
53 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 ...
6
votes
3answers
20k views

How to connect multiple VPNs using OpenVPN on Windows 7 on the same time?

I work most of the time remotly from home. To gain access to the different servers (via SSH) I have to use OpenVPN. I would like to connect to all of them (three, sometimes four) at once, so I dont ...
0
votes
1answer
32 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: ...
0
votes
3answers
130 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
47 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 ...
1
vote
3answers
816 views

Jconsole over VPN

I'm trying to monitor a remote jvm using jconsole. I need to do this monitoring through an OpenVPN network which might me part of the problem. This is the network configuration: Server A ...
0
votes
0answers
109 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 ...
0
votes
0answers
7 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 ...
-3
votes
2answers
91 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
27 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
20 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
37 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 ...
5
votes
2answers
1k views

stunnel vpn traffic and ensure it looks like SSL traffic on port 443

I am trying to make my outgoing and incoming traffic look as legitimate as close to SSL traffic as possible. Is there a way to DPI my own traffic to ensure it looks like SSL traffic and not OpenVPN ...
0
votes
0answers
42 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 ...
4
votes
1answer
9k views

OpenVPN server running on openvz. How to write iptables rule without masquerade?

I am configuring a VPS which is running on openvz as an OpenVPN server using a tun interface. I am having some trouble with the iptables rule as MASQUERADE is not available. If MASQUERADE were ...
0
votes
2answers
4k views

openvpn port forwarding for SNAT or DNAT with Iptables?

I have managed to get openvpn setup and get it to issue static internal ips to clients. Now the trouble i have is I'm now trying to assign open port per client as they now have static internal ip it ...
0
votes
1answer
29 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.
5
votes
3answers
24k views

OpenVPN + iptables / NAT routing

I'm trying to set up an OpenVPN VPN, which will carry some (but not all) traffic from the clients to the internet via the OpenVPN server. My OpenVPN server has a public IP on eth0, and is using tap0 ...
17
votes
5answers
31k views

How to check that an OpenVPN server is listening on a remote port without using OpenVPN client?

I need to check that an OpenVPN (UDP) server is up and accessible on a given host:port. I only have a plain Windows XP computer with no OpenVPN client (and no chance to install it) and no keys needed ...
1
vote
0answers
69 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
92 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 ...
5
votes
2answers
2k views

MULTI: bad source address from client - any one-off solutions?

Setup: I have the an openvpn client/server setup (config files at bottom), and I get the infamous MULTI: bad source address from client [192.168.x.x], packet dropped message at server. The server has ...
0
votes
3answers
90 views

OpenVPN failover

In my company we have two offices in two totally different locations. A is the main office, and B is the secondary. There is a VPN server at A office, and every computer access the A network via this ...
0
votes
1answer
32 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
67 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
13 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
29 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
77 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 ...
6
votes
2answers
8k views

How do I prevent TCP connection freezes over an OpenVPN network?

New details added at the end of this question; it's possible that I'm zeroing in on the cause. I have a UDP OpenVPN-based VPN set up in tap mode (I need tap because I need the VPN to pass multicast ...
2
votes
0answers
225 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 ...
3
votes
1answer
116 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
4answers
276 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 ...
4
votes
1answer
143 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
1answer
2k views

Where to put OpenVPN server - DMZ or LAN?

We have a Smoothwall firewall with both a "green" network (LAN) and an "orange" network (DMZ), and we would like to use OpenVPN access server as our VPN server. The question is: Should the VPN server ...
0
votes
1answer
78 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 ...