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

2
votes
2answers
185 views

Have username and passphrase in OpenVPN client.conf? [duplicate]

With the auth-user-pass filename option is it possible to create a plain text file with username and passphrase. Is it possible to have the username and passphrase directly in the client.conf?
2
votes
1answer
568 views

Host network injecting resets into my TCP connection?

I'm trying to figure out whether the host network I am on is injecting TCP Resets into my VPN connection. I have a personal OpenVPN server, and recently my attempts to connect over TCP port 1194 have ...
2
votes
6answers
2k views

OpenVPN and the iPad

So it seems that we have to connect iPhones and iPads on our network... Does an OpenVPN client for the iPad exist? If not, does a similar solution (where we control the VPN server) exist?
2
votes
2answers
380 views

Route all traffic from laptop to home network. Recommended Method? [closed]

I travel and use open wifi networks a lot. Given the nature of my work I want to route all my traffic thru my home network. My home office is well equipped to handle such a connection. Basically I ...
2
votes
3answers
527 views

Client unable to reach Internet through OpenVPN

The clients can all connect through OpenVPN. OpenVPN serves the following pool: server 10.8.0.0 255.255.255.0 I've configured the server's iptable with the following rule: iptables -t nat -A ...
2
votes
2answers
5k views

How to control multiple OpenVPN instances on the same server?

We have Centos servers running multiple daemons, up to 3 on each server. I have looked at the the rc.d init scripts and see no way to control the daemons independently. We would really like to be able ...
2
votes
1answer
4k views

trying to route between two openvpn clients

I have two openvpn clients on the 10.0.1.0 (client1) and 192.168.0.0 (client2) subnets with the server's openvpn connection having the ip 192.168.150.1 The server has ip forwarding enabled. ...
2
votes
3answers
10k views

OpenVPN working - but how to route all traffic down it?

I've setup a static one-to-one OpenVPN connection fine. However I can't seem to get the client to route all traffic via the VPN device. Here's my configs: Client config: remote 89.21.xx.xx dev tun ...
2
votes
4answers
2k views

Restrict VPN client traffic to certain domains/IP

Is there any way to restrict a VPN client to only route certain traffic via the VPN and the rest via their local gateway? For example: traffic to a certain IP or domain gets routed across the VPN and ...
2
votes
3answers
8k 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 ...
2
votes
1answer
196 views

Redirect all traffic sent to an unallocated alias IP within a VPN subnet, to a fixed IP within another VPN

I have a server hosting multiple bridged (i.e. tap) VPNs using openvpn, where each VPN has a different 10.8.X.0/24 subnet. I wish to redirect traffic sent to a specific, unallocated IP address (e.g. ...
2
votes
3answers
2k views

iptables: combine SNAT with network remapping for OpenVPN

[Apologies for the long prelude; question halfway down.] I have a working OpenVPN setup whereby a VPN server pushes a route back to one client (hereafter called the “router”) which can then expose ...
2
votes
2answers
692 views

OpenVPN Chaining

I'm trying to set up an OpenVPN "chain", similar to what is described here. I have two separate networks, A and B. Each network has an OpenVPN server using a standard "road warrior" or "client/server" ...
2
votes
2answers
1k views

Cannot run OpenVPN on port 53 (DNS Stops Working)

So I'm trying to get OpenVPN to work on port 53 - sadly this isn't working. I used IP tables to map port 53 to port 1194 (standard OpenVPN port) Here's what I run to do this: iptables -t nat -A ...
2
votes
3answers
3k views

OpenVPN disables WiFi adapter afer connecting; connects after re-enabling it but no VPN hosts connectivity

I want to connect from my Windows 7 Enterprise PC to OpenVPN server. I have OpenVPN client version 2.1.1 installed. I have currently two problems: 1) After I start OpenVPN GUI and connect the ...
2
votes
1answer
324 views

OpenVPN create a connection, run a script and shut it down

What would be the best way of going about the following problem? I have a server that I periodically dump backups to. The only way to connect to this server is via OpenVPN. So far I tested ...
2
votes
2answers
3k views

openvpn list all active certificates

I have a openvpn setup on ubuntu that multiple users are connecting to. I want to list all the active certificates with their Common name. Is their a way of doing this ?
2
votes
1answer
5k views

pfsense peer-to-peer OpenVPN not connecting

I'm trying to setup a peer-to-peer OpenVPN between two pfsense servers running 2.0.1-RELEASE, but the client keeps getting the connection dropped, with a status of "reconnecting; ping-restart" and ...
2
votes
2answers
846 views

Opensource SSL VPN for laptop to home network? [closed]

Router/Firewall/Endpoint: Zywall USG20W Method: SSL VPN (IPSEC VPN only if not other choice) Laptop: Windows 7 x86 Auth Server: 2008 R2 AD I have biz class internet and a bank of static IP's at my ...
2
votes
1answer
380 views

Using OpenVPN on Two Linux Machines *not on the gateways* to link the networks over the internet

I am running OpenVPN linking two linux machines on two networks. These machines are not the networks' gateways. There are also separate DD-WRT routers which are acting as the gateways on both ...
2
votes
3answers
569 views

Router in front of Untangle UTM

I want to put a pfSense router in front of my Untangle UTM. There is only one thing I am not too sure about. If the Untangle box will sit behind another router and run OpenVPN, all I need to do to ...
2
votes
3answers
493 views

Making to the DNS on two different VPNs play nice

Setup: I have two separate networks I need to connect to at the same time. VPN 1 PPTP IP : 192.168.2.0/24 DNS : 192.168.2.32; 192.168.2.34 (Windows 2003) Domain : old.com Forwarder : ...
2
votes
4answers
6k views

How to let unprivileged user change/add route in Win7? OpenVPN client configuration

I have a Win7 laptop with OpenVPN installed. The normal user is an unprivileged user without knowledge of the administrator password. When running as an administrator, everything works fine with ...
2
votes
3answers
3k views

OpenVPN multiple servers on the same subnet, high availability

Hey everyone. Let me start by saying that my Linux experience isn't super awesome but I can usually find my way around things easily. Over at work we have an OpenVPN setup that's been due for some ...
2
votes
3answers
299 views

software VPN via Ubuntu & osX

I want to be able to access my shared folders on my ubuntu server from my laptop (osX) when I'm at Uni. I'd prefer to set up a VPN and continue to use the SMB or AFP (if i can get it working) that I ...
2
votes
1answer
6k 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 ...
2
votes
2answers
2k views

Broadcast UDP over VPN

I have OpenVPN configured and have 5 dd-wrt router clients. I would like the machines on those routers to be-able to UDP Broadcast across all 5 networks. I cannot bridge the interfaces(to my ...
2
votes
2answers
4k views

How to run script after OpenVPN's TUN driver is up under Ubuntu

I would like to execute a bash script after a TUN driver (e.g. tun0) is up under ubuntu 9.04/9.10. I need it to use the assigned VPN IP in some configuration scripts. Do you have any suggestion? ...
2
votes
2answers
238 views

advanced openvpn - how do clients generate their own private keys and get the remote ca to sign their certificate

From answers to this question ive been recommended to not create client keys on the server home to ca.key but rather make the clients create their own private key and simple pass a csr to the ca ...
2
votes
2answers
19k views

Linux IP Forwarding for OpenVPN - correct firewall setup?

I have OpenVPN running on a Linux machine. The VPN server has a public IP address (x.x.x.x) and the VPN clients are assigned addresses on the "tun" device in 10.8.0.0\24. I have an IPTables rule to ...
2
votes
4answers
589 views

Need an absolute proxy server to route HTTPS, FTP, etc

I have managed to setup a squid proxy server as an HTTP proxy and this is working well. However, it does not work with HTTPS. I am looking at making use of an external machine to setup as a proxy for ...
2
votes
1answer
61 views

OpenVPN with mixed ipv4 and ipv6 clients

I have a VPN server handling various clients; some with ipv4 only, some with ipv4 and ipv6, and some that will be ipv6 only. Some of these clients are roaming, so ideally they should connect to ipv6 ...
2
votes
2answers
802 views

TCP under OpenVPN is very slow (tsg attached)

I have a very weird problem with OpenVPN. Most VPNs work fine, except this one. Here I get very low performance from TCP connections, but the CPU load is low (so, not a CPU issue). OpenVPN is ...
2
votes
1answer
1k views

Pros / cons of using password-less OpenVPN client keys

I'm setting up an OpenVPN server for my organization, and I'm reading up on the different ways that the client side keys work. I'm still a little unfamiliar with all of the concepts behind these ...
2
votes
1answer
1k views

Software VPN connection to Amazon AWS VPC private instance [closed]

I have a Virtual Private Cloud (VPC) instance on Amazon AWS. Inside the VPC, I have a private instance which is running the database and a public instance which has the front-end web pages for ...
2
votes
1answer
222 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 ...
2
votes
1answer
213 views

Waiting for devices to come up on Debian boot

I'm running OpenVPN and dnsmasmq on my wheezy system. Dnsmasq is only necessary for VPN and local users, so I don't want it to listen on all devices (yes, there is also a firewall, anyways). When ...
2
votes
1answer
979 views

OpenVPN server configuration with D-Link DSR-250n as client

I am attempting to have my D-Link DSR-250n router connect to my OpenVPN server. I have followed this guide in terms of getting the server up and running, and can successfully establish a client ...
2
votes
1answer
98 views

Openvpn signing certificates with wrong CA

I have a working (until now) ubuntu openvpn server. I think that my server is using a wrong CA to sign client CRTs. E.g: I use "source ./vars" followed by "./build-key john.doe" and it all works ...
2
votes
1answer
891 views

OpenVPN and one way pings

Network configuration I have set up a network: Appropriate ports of computers in 192.168.87.0/24 are forwarded on TP-LINK router to be seen "all over the world". IP forwarding in enabled on ...
2
votes
1answer
825 views

Log into Active Directory Domain over OpenVPN

Is it possible for an OpenVPN client to log into a Windows AD domain on the server end of the tunnel? In my set up, my OpenVPN server is running on a linux box joined to the domain and I'm using the ...
2
votes
1answer
2k views

How to make short (not fully qualified) hostnames work with Mountain Lion, Tunnelblick, pfSense, OpenVPN

I use Tunnelblick 3.3beta21b on Mac OS X 10.8.2 (Mountain Lion) to connect to a pfSense/OpenVPN virtual private network. When connected to the VPN, I can access machines in our datacenter. This is ...
2
votes
1answer
110 views

How can I create an environment to test OpenVPN with in a test lab?

I have a test lab that I would like to use to test a site-to-site VPN setup with using OpenVPN. What is the minimum amount of hardware that I need and how should it be configured so that I can mimic a ...
2
votes
1answer
777 views

Tunnel only one program (UDP & TCP) through another server

I have a windows machine at home and a server with debian installed. I want to tunnel the UDP traffic from one (any only this) program on my windows machine through my server. For tcp traffic this ...
2
votes
1answer
3k views

OpenVPN bridge: remote clients don't see local

Rough solution: iptables -A FORWARD -i br200 -j ACCEPT iptables -A FORWARD -o br200 -j ACCEPT I still don't understand what's happening. Bridging is made on L2, iptables shouldn't touch that ...
2
votes
2answers
3k views

How can I setup a VPN for remote users to connect to a AWS RDS server?

I have remote developers that travel and have constantly changing IP addresses. I would like them to be able to connect to a VPN running on a instance on EC2. Once they are connected to the VPN with a ...
2
votes
1answer
669 views

openvpn client connection is not establishing

What does this error means? My client.conf file works in other clients like ubuntu. But in centos 5.7 client it is giving this error; Thu Mar 22 23:20:49 2012 us=231847 UDPv4 WRITE [14] to ...
2
votes
1answer
1k views

Getting OpenVPN to fully connect two networks

I have a client (which is also a gateway for a 192.168.203.0/24 network) that is trying to connect to a remote server (that is a gateway for a 192.168.150.0/24 network) and make a fully bridge between ...
2
votes
2answers
883 views

Is there a tutorial for setting up OpenVPN on Amazon's EC2 running a Windows 2008 server?

I have been looking for hours, for a way to set up an OpenVPN server on an Amazon EC2 instance that's running Windows Server 2008 R2. All of the tutorials I have found deal with EC2 Linux, Ubuntu, ...
2
votes
2answers
621 views

Debian: IPv6-in-IPv4 over OpenVPN

Following (roughly) the instructions https://www.zagbot.com/openvpn_ipv6_tunnel.html at I now have the following: Client martin@theoria:~$ ifconfig eth0 Link encap:Ethernet HWaddr ...