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

OpenVpn and SSH listen

i have OpenVpn connection from my home at my developement Server, the ip of my Developement server in OpenVpn is 10.0.8.2, i can see in netstat two interfaces, eth0 and tun0. now i want connect from ...
4
votes
1answer
104 views

Shorewall blocks openvpn traffic

I have one root server and two clients. The root server has a static ip address and runs Debian Linux. My clients are Mac OS X and Debian Linux with dynamic ip addresses. From my clients I can open a ...
1
vote
1answer
31 views

Openvpn TLS handshake error only on linux clients

I configured my VPN to accept traffic on udp 1194 on the server. I generated 3 .ovpn files including keys and certifications. I tested the 3 configuration files on Windows Openvpn client and also on ...
8
votes
2answers
11k views

Can generated OpenVPN keys be used on multiple clients?

We are experimenting with running an OpenVPN server for our business. One question I can't seem to find the answer to is this: When we generate keys for one of our users for them to use at home, can ...
1
vote
0answers
23 views

openvp client “spoofing” server with IPv6

An openvpn client (windows 64 bit -presumable windows 8-) is connecting my OpenVPN server normally. After connecting, it is routing all it's vpn related traffic through the vpn, natting (seems to be ...
3
votes
4answers
23k views

OpenVPN and Routing and IPtables

GOAL: Access internal network devices and browse web via the tunnel. 192.168.2.x = internal network 192.168.3.x = openvpn server 192.168.2.111 = openvpn server on internal network [root@openvpn ~]# ...
0
votes
0answers
21 views

Routing Traffic Through from VPN Client to Switch Network

Network Diagram I have two computers, Foo and Bar, connected to an OpenVPN server on Amazon EC2. Both the computers are connected to the Internet via Wi-Fi. The VPN IP addresses are on 13.8.0.*. ...
0
votes
1answer
35 views

AWS NAT instance as OpenVPN Client can't route instances behind it

I have an Amazon AMI 2015.09 instance as a NAT server for my backend servers. I have configured the OpenVPN client on this same box, the NAT server is able to talk to everything over VPN, all ...
6
votes
2answers
181 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 ...
1
vote
0answers
39 views

EC2 Shared Drive / VPN / Security Groups

I have an EC2 instance, running Win 2008. On it, I have a shared drive. Windows permissions are set properly. The server has a static IP through Elastic IP. I do not want to open this to the world. I ...
1
vote
1answer
88 views

OpenVPN server sending bogus default gateway information to client?

Though the VPN client successfully connects to the OpenVPN server, it seems to be setting an incorrect and bogus gateway no matter what permutations of push "redirect-gateway local def1" and/or push ...
1
vote
1answer
76 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
118 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
176 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
135 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
57 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
57 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
37 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
354 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 ...
2
votes
1answer
15k 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
43 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
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 ...
1
vote
1answer
124 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 ...
8
votes
3answers
23k 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
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: ...
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
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 ...
1
vote
3answers
846 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
201 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
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 ...
-3
votes
2answers
182 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
47 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 ...
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 ...
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 ...
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
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.
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 ...
18
votes
5answers
34k 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
112 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
244 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
3k 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
109 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
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 ...