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

0
votes
0answers
333 views

OpenVPN: Can't get clients connected

I just followed this tutorial for openVPN: https://help.ubuntu.com/12.04/serverguide/openvpn.html Sadly, I have trouble to get clients machine connect. This is the log of the client: Wed Mar 27 ...
1
vote
1answer
1k views

openvpn tcp or udp (specific situation, reliability-layer collisions)

My question is whether to use TCP of UDP for my openVPN connection. I've set up a simple network for a startup company that allows users from the outside to acces the network via an openvpn server (in ...
1
vote
0answers
235 views

OpenVPN: Run 'bridge-start' on boot before starting openvpn service (Ubuntu)

I've got OpenVPN working properly on my server, using bridge-start and bridge-stop scripts to create and remove network bridge, respectively. How do I set these scripts up to run bridge-start at boot ...
0
votes
1answer
113 views

OpenVPN to unite multiple servers

I have two physical machines (both Ubuntu Linux) located at different hosting companies. Now one machine runs virtual machines which clients can access through VPN (OpenVPN). What I need now is to ...
1
vote
1answer
563 views

OpenVPN connection works fine in Linux but not Windows 8

I have a server set up running Ubuntu 12.04 LTS and OpenVPN. When I connect to it using my home computer running Arch Linux the VPN connection works flawlessly. I can browse websites and watch videos ...
1
vote
1answer
146 views

Selectively route traffic to interface

I have set up a separate routing table (tovpn) #echo 200 tovpn >> /etc/iproute2/rt_tables Now I assign routes to it. Where 10.0.0.1 is the tun2 P-t-P and 10.0.0.2 is the inet #ip ...
1
vote
0answers
132 views

How to properly replace CA certificate when clients get it bundled in PKCS#12 containers?

I'm about to regenerate a certificate of my CA (maintained by OpenSSL) used mostly to provide OpenVPN access to the intranet for my clients. My question is related to this one — "Certification ...
1
vote
0answers
290 views

Static Public IP OpenVPN Client Needs to Accept Incoming Connections on His Public IP

I love serverfault, I have learned quite a bit from this website. Hopefully I can learn one more thing. OpenVPN Server has 30 Static WAN IP's each one has 1 user on it. Plus there is a main IP ...
1
vote
4answers
5k views

Check openVPN client connected Debian

How can I check if my Debian OpenVPN client is connected? Is there a specific command I have to run? Or can I read it from the logfile? Thanks. Edit: The answers below provide great value in ...
6
votes
1answer
3k 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 ...
0
votes
1answer
143 views

Redirect HTTP to HTTPS without a web server

I'm running an OpenVPN AS server on a VPS and the server itself has a web interface accessible through HTTPS. I'd like to redirect all HTTP traffic to HTTPS without having to install a web server for ...
1
vote
0answers
158 views

Virtualbox: Bridging Guest VPN within a Bridged Connection

I've been trying to figure this out for a few days. Perhaps the biggest problem with figuring out the answer is that there are no unique keywords that I can think of to explain the issue. I have ...
3
votes
2answers
606 views

Bypass openvpn for particular ip

My desktop machine runs Trisquel GNU/Linux 6.0 (which is basically a libre version of Ubuntu 12.04), and I use OpenVPN to connect to a commercial VPN provider for internet access. It currently routes ...
2
votes
1answer
2k views

openssl invalid CA certificate

I'm setting up server-to-server OpenVPN with a PKI infrastructure, and cannot make it work. I suspect it's something in the certificate chain, but I'm at a loss to explain how. I have an offline Root ...
0
votes
1answer
512 views

iptables forwarding port to internal IP

I'm using OpenVPN on a VPS which I want to forward incoming port 7999 from the external IP 198.23.248.150 to the internal IP 10.1.10.2 using iptables. I cannot seem to get the syntax correct and I ...
2
votes
2answers
942 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
2k 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
4k views

OpenVPN daemon fails to start — starting server manually returns no output

I am setting up an openvpn server on my network for the purposes of accessing devices remotely. I have generated crts and keys with the easy-rsa scripts and have configured server.conf correctly ...
0
votes
1answer
69 views

Creating a gateway server to pass all clients via VPN

This is really broad so tell me if I'm outside the scope of this site. With that said.... I want to setup an Ubuntu machine on my network which has an OpenVPN client installed configured to send all ...
3
votes
1answer
1k views

Routing setup for OpenVPN server on Amazon EC2

Software developer here, trying to get his sysadmin-foo up and running by setting up an OpenVPN server on amazon EC2 to access all the internal resources there. Here's how I envision that on a fresh ...
0
votes
2answers
84 views

Failsafe VPN solution?

I need to set up a VPN. I experimented with PPTP, but I got a lot of problems. VPN connection doesn't work behind some routers or mobile / wifi connections. So I'm looking for a failsafe VPN ...
2
votes
1answer
888 views

iptables rule(s) to send openvpn traffic from clients over an sshuttle tunnel?

I have an Ubuntu 12.04 box with OpenVPN. The VPN is working as expected -- clients can connect, browse the Web, etc. The OpenVPN server IP is 10.8.0.1 on tun0. On that same box, I can use sshuttle ...
0
votes
1answer
59 views

Does an OpenVPN client have to be the edge device?

I have a backup server I would like to use off site, and connect it to the site using OpenVPN. It would be behind a NAT firewall. Would I just need to give it an address on the same subnet as the rest ...
8
votes
2answers
11k views

Generate an OpenVPN profile for client user to import

Is there any documentation or resource describing how to generate and host a profile for an OpenVPN client to import? Ideally would like my users to not have to separately fetch a .zip file of the ...
2
votes
1answer
2k views

OpenVPN Site2Site using PFSense

i'm currently building a s2s VPN using 2 pfsense appliances (2.0.2). the tunnel gets build but i'm unable to route traffic from one side to the other, check my testlab: Okay, i build a fresh ...
0
votes
1answer
170 views

Running an email server on a VPN client, wanting traffic passed through for smtp, pop3,imap etc from vpn server.

I have a home broadband network which I also run an email server. As my provider won't give me a fixed ip address, and most servers refuse to accept smtp mail from dynamic ip ranges, I felt the simple ...
0
votes
1answer
116 views

Getting though firewall without VPN

I am trying to control geographically remote (Android) machines using VNC. Some of these machines are behind firewalls. I was planning on putting all these machines on a VPN and being done with it. ...
1
vote
1answer
88 views

why my network is not automatically configured when I reboot my server?

I am having a little problem, I am using a VPN (with openvpn), and it starts auto when the server starts, the problem is that every time I have to set something like this route add -net 10.108.**.** ...
0
votes
0answers
133 views

Custom certificate/key pair does not work on OpenVPN clients

I have setup very basic OpenVPN network on Windows Server 2008. My clients are IP Cameras having Unix OS and built-in feature of openVPN connectivity. Initially I used a common client certificate/key ...
0
votes
1answer
1k views

how can I run openvpn as daemon sending a config file? [duplicate]

I am using openvpn to connect with other server, the problem is that i run it like this openvpn configfile.ovpn ... and it locks my shell, so, if I close it, the shell gets closed, I was looking for ...
0
votes
0answers
73 views

How to portforward with iptables?

I currently installed openvpn on CentOS 6 64bit and everything is working fine but I want to portforward a client "user" so they can use that port. Here is what I thought it should work iptables -t ...
0
votes
1answer
85 views

OpenVPN: hide server

I have installed OpenVPN on my server and I can connect it with my OpenVPN client. Now I would like to hide the server from non-vpn connection. I mean: you can see the server (and all services running ...
0
votes
1answer
15k views

How to force all traffic through VPN?

I have a openVPN set up on the server and I am using openVPN connect for my client. I have some internal websites that I need to access and some of them don't work. I want to make sure that when the ...
0
votes
2answers
4k views

How do i tell if all traffic is going though the vpn?

I have a openVPN set up on the server and I am using openVPN connect for my client. I have some internal websites that I need to access and some of them don't work. I want to make sure that when the ...
0
votes
1answer
141 views

OpenVPN port forwarding to emulate a static IP

Here's the setup: I have 1 server running OpenVPN at a remote location and 1 local client. The server has multiple WAN IPv4 addresses. I would like to use OpenVPN to dedicate one of the server's ...
0
votes
2answers
1k views

OpenVPN TLS key negotiation failed

I've setup my OpenVPN server and client before and it works perfect last month. But now i can't connect to the server without any config changing. Here's the cilent side log(Win7): Mon Feb 18 ...
2
votes
1answer
433 views

Does a HTTP tunnel solution exist that doesn't use CONNECT, HTTPS or chunked encoding? [closed]

I am looking for a way to get a fast OpenVPN connection out through a restrictive firewall (this is not a workplace and I am not breaking any code of conduct). Currently I'm using port 443 direct to ...
0
votes
2answers
97 views

OpenVPN as a service, client physically connected to network

I've got OpenVPN running as a service on a client's computer, however oftentimes he will be in the office and able to physically connect to the network. The issue I have with this, is that even when ...
0
votes
1answer
816 views

openvpn - client can only connect after service restart

I have 3 Windows clients which connect to an openVPN server on a Debian 6.0 server. The connection can be established for each one of them without errors, however, if I want to disconnect client1 and ...
0
votes
1answer
367 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
896 views

OpenVPN server unable to start due to network issues

I have been struggling with my OpenVPN server for a while now and i simply do not know how to correct the errors when i attempt to star the server. I have attached necessary information about my ...
0
votes
1answer
601 views

OpenVPN fails to start due to options error in Ubuntu

I have followed the guide here https://help.ubuntu.com/10.04/serverguide/openvpn.html but when i try to start OpenVPN i get following error: ovpn-server[2455]: Options error: --server and ...
0
votes
1answer
634 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 ...
1
vote
0answers
372 views

OpenVPN Client-specific routing when using username/password authentication

So I have an openvpn running on a debian machine and I have set it up to work with PAM authentication via the pam module AND NOT the provided example script. However, requirements changed and now I ...
1
vote
1answer
167 views

Make device accessible outside firewall with OpenVPN

I have an OpenVPN server and a few clients already configured. The server allocates IP addresses in the 10.9.9.1-254 range. One of these clients, "J", is allocated 10.9.9.24 on the VPN and 10.0.27.9 ...
1
vote
0answers
2k views

IP served by OpenVPN doesn't take ipp.txt into account

I'm facing some troubles right now with an OpenVPN server an former colleague set up (I'm not too into it ATM). We're using OpenVPN for a private network of ~200 clients (to be more specific, only 15 ...
2
votes
1answer
351 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
174 views

Remotely configure OpenVPN custom client certificates and static Virtual IP

On our current basic OpenVPN (on Windows) setup, we are using common client certificates for all clients. In order to introduce some kind of security, what are the possible measures I can make ? ...
0
votes
1answer
357 views

Setup OpenVPN Server with Virtual IP Address Lease for some time

I am new to openVPN and so far have setup Windows based openVPN server. Basic system is working fine as clients connect to openVPN server and are assigned virtual IPs like x.x.x.6, x.x.x.10, and so ...
3
votes
1answer
6k views

OpenVPN - tap interfaces and default gateway

Quick question just to verify i'm not going mental. If using device mode "tap" and i got a fully function connection in the sense that i can ping from client to server without any issues. However, i ...