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

15
votes
3answers
5k views

OpenVPN performance: how many concurrent clients are possible?

I am evaluating a system for a client where many OpenVPN clients connect to a OpenVPN server. "Many" means 50000 - 1000000. Why do I do that? The clients are distributed embedded systems, each ...
4
votes
2answers
3k views

openvpn: connection established, can't ping server tun interface (debian server, windows & os x clients)

My goal: I want to set up openVPN on a vServer from the company netcup, running Debian squeeze. I only want a VPN connection from client to server; clients should not be able to see each other, also ...
3
votes
5answers
8k 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 64bit. ...
2
votes
1answer
245 views

openvpn - only one client key/certificate pair working

Scenario: I have a Debian 6 openVPN virtual server and several clients (windows, os x). They all connect fine, however only one client with a certain key/certificate pair can ping the server, all the ...
0
votes
1answer
535 views

Configure routes in OpenVPN

I am trying to figure out how to setup routing on OpenVPN. I have successful connection between client (OS X Snow Leopard) and server (OS X Leopard Server), and each can ping the other. However, I am ...
8
votes
3answers
14k views

OpenVPN and DNS. How to?

I'm using OpenVPN to set up a VPN to connect my laptop at home to my workplace LAN. I want to be able to refer my workplace computers by their name and not by their IP but I can't. This is my ...
3
votes
1answer
388 views

Limiting OpenVPN bandwidth

I'd like to give users a certain amount of traffic. Let's say user A gets 1 GB and user B get 5 GB. I have a great script which does log all this info, however this script is called when the user ...
2
votes
2answers
2k views

OpenVPN bad source address from client

I have one problem with OpenVPN. There are a lot drops records in the openvpn log file on the server: Mon Oct 22 10:14:41 2012 us=726541 laptop/ххх:1194 MULTI: bad source address from client ...
1
vote
2answers
780 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 ...
0
votes
1answer
282 views

Bridging between two networks one openVPN and another on windows 2003 server on ESXi

I have two different networks in two different offices interconnected using OpenVPN. The windows 2003 server (AD) on one network can now talk to all the machines in the main network where OPENVPN ...
0
votes
3answers
848 views

Policy Routing with Openvpn?

Dear Everyone I am currently using openvpn for normal browsing. However, I have the following services running: a bit torrent client, a web server, IRC and a git server which I would really want it to ...
0
votes
1answer
4k views

Openvpn - enabled redirect gateway but can't access any websites

First of all I'm a newbie to servers but not to stuff like programming so not totally alien to command lines etc. Second, I want to run openvpn on my remote server and connect from my ubuntu desktop ...
32
votes
5answers
46k views

Should I use tap or tun for openvpn?

What are the differences between using dev tap and dev tun for openvpn? I know the different modes cannot inter-operate. What is the technical differences, other then just layer 2 vs 3 operation. ...
0
votes
1answer
6k views

Using DD-WRT to connect to VPN and Forward all traffic of certain devices through VPN

I have been able to setup my dd-wrt router to connect to an openvpn server and route all traffic through the vpn to the internet. This makes it so all traffic comming in from the LAN to the ...
9
votes
5answers
8k views

OpenVPN make redirect-gateway optional

I'm currently running an OpenVPN server for multiple clients. All traffic is directed through the VPN (it's set up as gateway; push "redirect-gateway def1"). So far, all is working fine. However, ...
1
vote
3answers
29k views

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

Hi 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 ...
5
votes
5answers
5k 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 ...
3
votes
2answers
9k views

How can I setup OpenVPN with IPv4 and IPv6 using a tap device?

I've managed to setup OpenVPN for full IPv4 connectivity using tap0. Now I want to do the same for IPv6. Addresses and network setup (note that my real prefix is replaced by 2001:db8): ...
3
votes
2answers
2k 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 ...
2
votes
1answer
5k 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 ...
2
votes
3answers
7k 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
2answers
15k 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 ...
6
votes
2answers
1k 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
6k 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, ...
4
votes
2answers
4k views

OpenVPN port-share with Apache/SSL

I'm trying to set up OpenVPN to listen on port 443, and then pass all HTTPS traffic to Apache, by using the port-share option. Relevant config snippets are: OpenVPN local ${PUBLIC_IP} port 443 ...
3
votes
5answers
513 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 ...
3
votes
1answer
1k 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 ...
2
votes
0answers
441 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
2answers
2k views

How do you prevent a VPN from exposing your IP when it disconnects?

I want every connection in a Virtual Machine (windows XP) to ONLY use my OpenVPN server, as soon as the connection is lost to OpenVPN, I want to lose all internet connectivity in the VM. Naturally the ...
1
vote
1answer
3k views

OpenVPN server cannot ping clients

I have OpenVPN set up on a Debian server. Clients can connect, and clients can ping and access resources (Samba shares and intranet) on the server. However, the server cannot ping the client - it ...
1
vote
0answers
462 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
157 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 ...
0
votes
3answers
4k 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
2answers
657 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. ...
4
votes
6answers
3k views

Free or very Cheap VPN server software with high concurrent users count [closed]

I'm hoping to implement a VPN whereby about 200 concurrent users can log in to briefly access my network. I had a look at OpenVPN and this seemed excellent, but was hoping that there would be a less ...
3
votes
3answers
2k views

NetworkManager is not changing /etc/resolve.conf after openvpn dns push

I've got a problem which is "NetworkManager is not updating /etc/resolve.conf after openvpn connection with dns push configured". Here's my openvpn server config: (I've changed domain name to ABC.COM ...
2
votes
1answer
881 views

openvpn: auth-user-pass or (and?) passphrase?

I'm setting up OpenVPN on PfSense 2.0, and now i wonder if should use the "auth-user-pass" option, set an passphrase on the openssl keys or both. Both require an extra password beside of the valid ...
2
votes
2answers
1k views

Multiple OpenVPN clients on the same host

I'm trying to run two openvpn clients on the same host (let's call this the dual client box), connecting to two different openvpn servers. My dual client box is running Ubuntu 10.04, and I've got two ...
2
votes
3answers
3k views

SSH traffic over openvpn connection freezes when I cat a file

I have an openvpn (version 2.1_rc15 at both ends) connection setup between two gentoo boxes using shared keys. it works fine for the most part. I use mysql, http, ftp, scp over the vpn with no ...
2
votes
1answer
5k 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 ...
1
vote
1answer
175 views

OpenVPN on Android TCP retransmissions after OpenVPN server reboot

I raised OpenVPN on server for the first time. It worked fine until the server rebooted. The firewall configuration is unchanged. When I tcpdump from tun interface on the server, I always get TCP ...
1
vote
1answer
177 views

openvpn& iptables — portforwarding and gateway

The problem is similar to this scenario: iptables rule still take effect after deleted Scenario: There are several clients(C1~C10) providing some services, such as SSH,HTTP..... The clients are ...
1
vote
1answer
430 views

OpenVPN routing for OpenVZ containers

I am trying to make OpenVPN tunnel accessible for all OVZ CT's running on the host. I have initialized the tunnel devise on the host server to remote VPN server. Although I have PING response from the ...
1
vote
3answers
7k 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
2answers
107 views

Verify OpenVPN is no longer vulnerable to Heartbleed

As you may know, OpenVPN is vulnerable to the heartbleed attack. However, I can't find any guide online on how to fix it. The only source I've found is this: ...
0
votes
1answer
302 views

Routing traffic from VPN to different network device

Finally i got OpenVPN up running, but now i really miss accessing all my webservices (apache, ftp, ssh etc.) through the VPN server. Is there a simple way to route all traffic from my wlan1 device to ...
0
votes
1answer
467 views

Issue with setting up Telnet Management on Open VPN Server

When I enable telnet on openVPN (windows) using this parameter management localhost 25333, I am not able to access the clients through their virtual IPs anymore. At the same time, when I disable this ...
0
votes
1answer
825 views

Connecting a LAN to an OpenVPN server via a windows 7 client gateway

I've got OpenVPN set up between my windows 7 client and linux server. The goal is that I'll get secure access to a webapp running on the server from any computer on the client LAN. I'm using ccd to ...
0
votes
0answers
457 views

How to route all internet traffic via a virtual tap device and a public server

We want to route all traffic from one pc to a local virtual device (TAP-Win32 Adapter which is also used by OpenVPN) and then from there to another tap device on a public server. after that all ...
0
votes
1answer
2k views

openvpn: after changing to server mode, client does not create TUN device

i had a previously working configuration with the config files used in a previous question However, i've changed this now to the following configuration using server mode, everything on the logs seem ...