Questions tagged [openvpn]

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.

6
votes
5answers
10k views

OpenVPN with Active Directory integration

Is anyone successfully running OpenVPN with Active Directory integration? Are you using the openvpn.net or the openvpn.net/opensource version of OpenVPN? Any tips, tricks or gotchas or did it "just ...
6
votes
2answers
13k 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 ...
5
votes
1answer
2k views

VPN chaining using openvpn

My boss got extra-paranoid and wants me to organize VPN-chaining of some sort for him. I come up with following scheme: Client VPN1 VPN2 10.0.1.x[tun0]------10.0.1.1[...
4
votes
2answers
16k views

pfSense Site-toSite VPN with OpenVPN connects but won't route traffic

Using two pfSense routers, I've created a shared-key VPN between 2 sites. Both routers are pfSense 1.2.2. The pfSense box at the client site is the gateway router for that site, but at the server ...
4
votes
4answers
35k 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 ~]# ...
2
votes
1answer
2k views

Pushing IP routes to various VPN clients

With OpenVPN there is a well-known option "push" which allows to push an IP static route from the server to a connected OpenVPN client. I would like to know if there is an equivalent of this option on:...
2
votes
3answers
40k views

OpenVPN client on Windows 7 - cannot add route from config script

I am connecting from my Windows 7 laptop to an openvpn server and I am unable to automatically add a route. In my script I have the line: route-up "route add 192.168.33.0 mask 255.255.255.0 10.0.33.1"...
17
votes
7answers
74k views

how to auto start openvpn (client) on ubuntu 12.04 cli?

I have an *.ovpn file that works if I type in sudo openvpn client.ovpn Now I would like to start up openvpn when I boot the computer. It's a headless version of ubuntu - if that matters - 12.04 ...
9
votes
3answers
34k views

Getting disconnected from OpenVPN server each hour

I am having a rather strange issue with my OpenVPN configuration. I am connecting from Windows 7 with official latest OpenVPN client to my OpenVPN server (OpenVPN 2.1.4 i386-redhat-linux-gnu). The ...
9
votes
4answers
34k views

Openvpn client, force DNS server

Our Linux Ubuntu configuration does have a DNS server (Bind 9). And resolv.conf has its nameserver 127.0.0.1 When using openvpn client on that Linux, the nameserver is not changed (by the VPN ...
8
votes
2answers
41k 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 ...
8
votes
1answer
8k views

Allow Docker containers to connect to OpenVPN clients on the host tunnel interface

I have the following setup : A CentOS host running the docker service A user defined docker bridge network 2 Docker containers connected to that user defined bridge network An OpenVPN installation (...
5
votes
2answers
5k views

How to create a route to a domain name using openvpn

Is there any way to configure openvpn to "push" routes to a client for a given FQDN instead of an IP/mask? I mean something that would do the same as the following (broken) line in openvpn.conf file. ...
5
votes
2answers
3k views

Differences between SSH's tunnels and OpenVPN

I discovered that recent OpenSSH has support for tun devices. When it comes to tunnels and VPNs, I always thought the main programme was OpenVPN. Are there any advantages to using SSH tunnels? What ...
3
votes
4answers
25k views

openvpn client override default gateway for vpn sever

When openvpn client connects to a vpn server it creates a route for server ip with old default gateway. How can I tell openvpn not to use old default gateway but use my provided custom gateway ip. I....
3
votes
2answers
4k views

Route specific HTTP requests through pfSense OpenVPN

to start, I have very little knowledge on routes, iptables, etc. That said, here's what I'm trying to accomplish and where I think I'm stumped: Problem: We have an external website which we recently ...
2
votes
4answers
17k views

OpenVPN Hardware Requirements

I am planning an new network. All the traffic coming out of this network will be fowarded into a VPN in order to exit out onto the Internet on a distant server. This will be done via OpenVPN. There ...
1
vote
5answers
7k views

openVPN and multiple external IP addresses

I currently have an openVPN server with multiple external IP addresses. I'd like to have all VPN connections (tun0 interface, and/or 10.19.88.xx IP range) to take the 2nd external IP address as '...
1
vote
4answers
11k views

NFS Over OpenVPN: Top Performance Boosters

I have two VPS's - One is running 2008 Server R2 and the other is a Ubuntu 12.04 installation. I am using the Windows VPS for RD sessions for Quickbooks and a couple other apps and using the Ubuntu ...
6
votes
2answers
3k views

OpenVpn bridge interface does not respond to incoming packets from outer network !

We are trying to set up a roadwarrior vpn setup with openvpn. We want the people to be able to connect to our network via openvpn. And we want them to be able to see and connect to the machines in our ...
5
votes
2answers
11k views

Port forwarding with OpenVPN

Set up an openvpn server but having trouble getting ports forwarded to the client. Below is what I am trying to do: WAN: 123.45.67.89:4444 -> [OpenVPN Server] -> CLIENT: 192.168.1.10:4444 ...
5
votes
1answer
3k 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 ...
5
votes
2answers
11k views

Pings from VPN network to VPN client work; pings into from VPN client to VPN network fail - why?

We are in the process of setting up an OpenVPN server for some servers running in a cloud. We are stumped with a connectivity problem whereby the hosts on the VPN server's LAN can ping te VPN client, ...
5
votes
1answer
1k views

OpenVPN HA Setup on AWS

We are using Paid version of OpenVPN on AWS. Now we want to setup HA but we could not find any proper solution for OpenVPN HA on AWS. Tried OpenVPN document but it doesn't meet the requirement of HA ...
4
votes
1answer
306 views

OpenVPN and routing

I've a server running openvpn, and I have a little issue. All my traffic is forwarded to the VPN, and when I use a website like "whatismyip" I see the server IP, so this part is working. But when I ...
4
votes
1answer
2k 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 x86_64-slackware-linux-...
4
votes
1answer
2k views

Split tunneling through two VPNs simeltaneously

I want to run two OpenVPN client instances on an Ubuntu Server 14.04. I have both .conf files that can work independently (both are set to different interfaces - tun0 and tun1). I want to run both at ...
3
votes
1answer
2k views

IPv6 routing over VPN

I'm running OpenVPN on Debian Lenny and Tunnelblick on OSX. my goal is to have a fully routed VPN that supports IPv6. the OpenVPN server has a functional 6to4 device, so now my goal is to get the ...
3
votes
2answers
856 views

connect to 3rd party VPN server but don't use it as the default route?

I would like to connect to a 3rd party VPN server in Linux (e.g. Debian Jessie) but by default still use my eth0 lan interface as the default route, and am curious how to achieve this. I will be using ...
3
votes
3answers
7k 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 ...
3
votes
1answer
558 views

Two openvpn servers on the same machine, route traffic between the two subnets

I have two openvpn servers ( one on tcp, one on udp) running on the same machine - an OPENVZ vps. The first network A uses 10.10.0.0/24 and it is designed as an intranet. The second network B uses ...
3
votes
5answers
554 views

The right vpn to replace heavy ssh usage

We are a small development firm looking to access the following services remotely: http smb network shares rdc / vnc Currently we do this with a lot of ssh tunnels. We are looking into switching to ...
3
votes
1answer
6k views

Tcpdump/Iptables on bridge interface without assigned IP address

I have set up a bridge interface without an ip on it. $ brctl addbr br0 $ brctl addif tap0 $ brctl addif tap1 $ ifconfig br0 up As seen above, this bridge is connecting 2 TAP interfaces setup ...
2
votes
0answers
847 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
1answer
13k views

Openvpn Bandwidth Limit

I have a vps server with Plesk Panel running on Centos 6.5. I'm using Openvpn AS and I'm wondering whether there's a way to limit the bandwidth per user (openvpn local user).
2
votes
2answers
1k views

Slow Network Printing over OpenVPN / Windows Server 2008

Our setup is as follows: Two offices (A and B) connected with OpenVPN Access Server. One Windows Server 2008 R2 Standard Housed in remote datacenter. Terminals at both offices connect through RDP ...
1
vote
0answers
738 views

OpenVPN on AWS EC2 gives Error Code 1232 (Transmit Failed)

I am using OpenVPN for a VPN client in an Amazon's EC2 machine instance of Windows Server 2008 (32bit). It successfully connects, briefly, and I get Reply from 10.9.0.1: bytes=32 time=39ms TTL=64 ...
1
vote
2answers
3k views

OpenVPN client on Amazon EC2

I have an account with an OpenVPN service, and I'd like to get that running on my EC2 instance running Ubuntu 12.04. I have my config file in /etc/openvpn, and it connects fine when I run sudo ...
1
vote
2answers
510 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 ...
1
vote
1answer
5k views

Openvpn: Generate Client Certificates off of Existing Certificate Authority

My company uses OpenVPN to connect our clients to our central server for easier management. Our firewall software (and theirs) has built in support for OpenVPN, and includes a generator for ...
1
vote
2answers
5k views

Bridging a vlan and OpenVPN tap on Debian

Under Debian I need to bridge a vlan eth0.1 and tap tap0. Usually, when bridging a normal ethernet adapter with a tap I would include something along the lines of this in /etc/network/interfaces: ...
1
vote
2answers
191 views

How to generate keys for clients whilst keeping ca.key safe

I'm setting up a small vpn service for 10 - 100 expats so they can access normally blocked sites. I would like them to be able to sign up via my website, which upon payment the site will generate ...
1
vote
2answers
8k views

OpenVPN on OpenVZ TLS Error: TLS handshake failed (google suggested solutions not helping)

this is my first post here, hope I made correct formating I've set up an openvpn server on an openVZ VPS. struggling for 2 days but connection always failed by: TLS Error: TLS key negotiation failed ...
1
vote
1answer
1k views

OpenVPN host cannot access client LAN

I have an OpenVPN server, call it vpn-server, with a LAN 192.168.3.0/24 behind it. The client, vpn-client, also has a LAN behind it, 10.4.0.0/24. Machines on 192.168.3.0/24 can access 10.4.0.0/24 (...
0
votes
3answers
9k views

How to test OpenVPN connection from within the same network?

We have an OpenVPN connection for our employees to use with their laptops when they are abroad. I'd like to be able to test the OpenVPN connection on the employee's laptop(s) when I am setting it up ...
0
votes
1answer
9k views

OpenVPN on OpenWRT: Routing a specific subnet through a VPN tunnel

I have setup a router with OpenWRT 15.05 installed (Chaos Calmer), and configured two wi-fi networks each with there own network interface: wi-fi-1: interface br-lan ip address 10.0.2.1; address ...
0
votes
2answers
3k views

How to set a custom route source in openvpn

I have a simple openvpn configuration. remote 1.2.3.4 dev tun ifconfig 10.74.1.13 10.75.2.1 secret static.key route 10.75.0.0 255.255.0.0 keepalive 10 60 When the link come up, the routing table is ...
8
votes
1answer
16k views

openvpn client: force a host resolution to a given IP

Is it possible on the client side to setup the client.conf file to resolve a particular host/domain to a given IP. For instance, domain.tld resolve usually from the Internet NS to 1.2.3.4 host ...
8
votes
2answers
10k views

Trying to set up OpenVPN server on a vps

I'm trying to set up an OpenVPN server on my VPS for myself when I'm in public places, using this tutorial, http://tipupdate.com/how-to-install-openvpn-on-ubuntu-vps/ However whenever I try to start ...
5
votes
1answer
14k views

HowTo access Samba Share over VPN Tunnel?

I don't know how to access a Samba share running on a Ubuntu 10.04 server through OpenVPN 2.1.0. I've installed & configured OpenVPN and everything works. The server end of the tunnel has the IP ...