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

Configuring quagga to report Openvpn VPN subnet

I'm trying to use quagga with RIP2 to route traffic through an openvpn server. At the moment I'm having trouble because it's reporting the VPN subnet (172.19.2.x) as just a single IP (172.19.2.1). ...
1
vote
1answer
185 views

Allow OpenVPN client to push it's own DNS servers, regardless of OpenVPN server's pushed dns?

There is an OpenVPN server running on a Debian and it pushes a DNS in the server config file: push "dhcp-option DNS 8.8.8.8" Is there an option to allow the users to change that DNS servers on the ...
0
votes
2answers
43 views

Forward only internet traffic through VPN

The title probably needs some work, sorry in advance. My network is small and consists of a server with one NIC, a desktop computer and a few laptops. There's one wireless router (running OpenWrt) ...
0
votes
1answer
32 views

OpenVPN Connect issue

I am having trouble connecting to my VPN and I think I may have located the issue but I am unsure how to solve it. I can connect fine through my mobile device but when I try to connect through my ...
0
votes
0answers
18 views

iptables treating vpn traffic to public IP differently [duplicate]

I have a VPN that is intended to provide access to the internals of an iptables defined cluster. The firewall on each machine has a list of rules a la -A INPUT --src <machine0_ip> -j ACCEPT -A ...
0
votes
2answers
952 views

Strange OpenVPN behavior - disconnects after one minute

I'm using OpenVPN for connect two private networks and now I got a problem, that I'm not able to solve. Servers are connected with simple UDP configuration with static key. I've already checked ...
0
votes
0answers
57 views

OpenVPN server, how to block clients without redirect-gateway

is there a way not to connects a clients without redirect-gateway option? For example if the client ignore this directive with https://community.openvpn.net/openvpn/wiki/IgnoreRedirectGateway.
0
votes
2answers
1k views

OpenVPN client as gateway for other clients

I have OpenVPN network with one server and two clients. When I setup my default route on C1 to go through S (which does have ip forwarding and NATing enabled), everything works as expected. The ...
0
votes
0answers
83 views

OpenVPN Access Server: Exclude specific IP addresses

I have setup an OpenVPN Access Server (openvpnas) on a Linux box and use the OpenVPN Connect client on Windows. How I could exclude specific IP addresses (e.g. google.com current ip) from routing ...
0
votes
1answer
105 views

OpenVPN + DNScrypt

I'm using Debian 7 Wheezy. I've installed OpenVPN using this awesome, fully automated script: wget https://raw.github.com/cwaffles/ezopenvpn/master/ezopenvpn.sh --no-check-certificate -O ezopenvpn.sh ...
1
vote
1answer
1k views

OpenVPN-AS not starting

I have been trying to get an OpenVPN Access server running but I am having a lot of trouble. I have a host node running Proxmox and I would like an OpenVZ container to run the server. I have gone ...
0
votes
1answer
216 views

openvpn windows routes ip forwarding enabled but not working

I have setup an openvpn network, I have in my client windows two interfaces, one public with IP 1.2.3.4 and the openvpn interface, with ip 192.168.244.10 I am able to ping from windows to the ...
0
votes
0answers
106 views

Setup openwrt router for 2 simulteneous openvpn clients on different wifi networks

I would like to setup openwrt router to be able to serve 2 different wifi networks which route their traffic thru 2 different openvpn tunnels. So far I have created 2 different wifi networks with ...
1
vote
1answer
488 views

OpenVPN site to site VPN tunnel with Windows Server 2012 R2

This is my clients setup: Site A Site B 192.168.2.0/24 192.168.0.0/24 Client A1 --|-- Server A Server ...
3
votes
2answers
1k views

OpenVPN: How to mitigate path MTU issues on a per-client basis?

We have dozens of embedded devices installed at customers, all calling home to our OpenVPN service. That works fine in general, but a few of our customers have severe path MTU issues. Our influence on ...
1
vote
0answers
70 views

OpenVPN: unable to reach clients over IPv6

Current setup: OpenVPN server with IPv4 and IPv6: [...] port 1234 proto udp6 dev tun server 10.9.8.0 255.255.255.0 server-ipv6 2001:1af8:3100:a00a:0021:a:b:0000/112 client-to-client [...] Clients ...
12
votes
1answer
376 views

SSH tunneling is faster than OpenVPN, could it be?

Logically, VPN should be faster than SSH for tunneling, because: It's running on UDP and not TCP (so no TCP over TCP) It has compression However, today I tested Redis replication over both ...
41
votes
6answers
59k 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. ...
1
vote
2answers
81 views

Use OpenVPN tun device for specific request

I have setup an OpenVPN connection with the route-nopull configuration. So now no special routes have been added to the client's configuration and only a TUN device is created, like so: tun0 ...
0
votes
0answers
85 views

OpenVPN server cannot ping client (routing/iptables issue?)

I am not sure exactly where the issue is here. I'm fairly sure that this is some NAT or iptables issue on the OpenVPN server but am lacking the networking know-how to fix the issue. The crux of the ...
1
vote
1answer
78 views

Openvpn failover setup - Routing to clients with static ips

I have a setup with an openvpn server and many clients connected to it. All those clients have fixed ip addresses, derived from their certificate name. Behind the openvpn server, I have a management ...
0
votes
1answer
31 views

Setup openvpn as interface device only

I just setup OpenVPN client using this guide on The Geek Stuff But now (somewhat as expected) all my traffic is routed through the VPN. I actually just want to set up the interface device. Does ...
1
vote
0answers
58 views

openvpn rdp networking mystery : can connect HTTP cannot RDP, even with firewall off

I have 2 small networks joined using OpenVpn (routed configuration), lets call them A and B. on A, I have a test web server (IIS, Windows 2008R2 or Windows 2012 depending on test machine), lets call ...
4
votes
6answers
18k 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 ...
-1
votes
1answer
24 views

openvpn forward internet client to client

I know the directive push "redirect-gateway def1" can be used to forward the traffic of a vpn server to the client. My question is, can vpn be used to share the internet between two clients ...
1
vote
0answers
165 views

Cannot make TCP Connection with OpenVPN Server

Client OpenVPN assigned IP: 10.8.0.2 ↓ TCP on 1194 Internet ↓ Router port-forwards 1194 to server- Public IP 104.162.67.198 ↓ Server LAN IP: 10.8.0.1 I think the above is what I am trying ...
1
vote
0answers
36 views

OpenVPN - Route and iptables configuration

simplified network diagram: Certs and keys already created OK. The 'straight' line between client and server is just to indicate a tunnel. Obviously, it goes through the firewall. Client is windows ...
0
votes
3answers
1k views

generating client.ovpn file on android

I am developing a open source application wrapper over OpenVPN library for Android. For that I need to generate openvpn conf file. I have followed OpenVPN how but did not understand how to generate ...
1
vote
1answer
47 views

Openvpn ip conflicts

I have a device which connects to my vpn, that i plan to distribute to third parties. my vpn ipset network is 10.8.0.0 i am also pushing 'route 10.7.0.0' Please excuse the config above. My ...
0
votes
0answers
96 views

OpenVPN No ping to one client's network (with client-to-client)

I have problem with my OpenVPN network through the internet: Client1 (XP) >>> Server (7) <<< Client (7) 192.168.71.90(test)|192.168.80.31 |192.168.80.21 (test) ...
2
votes
1answer
149 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 ...
0
votes
0answers
34 views

openVPN on another IP

I had a working OpenVPN on my server, and it was working fine, redirecting traffic to the/from the internet, but when i have found that the traffic to the services on this server not routing through ...
1
vote
0answers
59 views

Pfsense Openpvn and Vmware issue

Here is my network: Client --- WAN --- PfSense(VMWare) --- LAN --- vSwitch (Promiscuous) \--- ESXi Management (192.168.2.1) ...
1
vote
1answer
222 views

pfSense OpenVPN from specific IPs and Anywhere

I have 4 Openvpn users, but i would like to restrict the 3 of them to allow connect through the VPN only from specific IPs and the 4th from anywhere. Anyone knows how can i do that? I thought about a ...
0
votes
2answers
1k views

OpenVPN Segmentation Fault

I have a server running CentOS 5.7 and I'm trying to get OpenVPN 2.2.0 to work. To start off, I had this working for quite a while now, but decided to try and make it highly available by using ...
2
votes
2answers
303 views

Prevent SSH connection lost after logging into VPN on server machine

I encountered an issue that I can't deal with. When I'm logged onto an VPS over SSH and try to estabilish VPN connection on that VPS, the SSH connection between VPS and my machine get lost. I assume ...
0
votes
2answers
89 views

OpenVPN Tunnel between two LANs, traffic dropped on the way?

I'd like to create a OpenVPN Tunnel between to LANs 192.168.1.0/24 and 192.168.2.0/24. However somehow packets entering the tunnel on one side don't come out of the other side ... The following ...
0
votes
1answer
38 views

What is the difference between those two IP addresses

I am trying to install OpenVPN server on a CentOS machine, the sample configuration files don't make that much sense. Specifically it's server.conf that I find difficult to understand What is the ...
0
votes
1answer
59 views

Client not routing through CentOS7 OpenVPN

I recently setup a server on digitalocean, i setup the vpn server key etc and i can connect with my client, the problem is that if i connect and i google for my public ip adress that i don't get the ...
1
vote
0answers
197 views

OpenVPN ignoring openvpn.conf, throws unrecognized or missing option

I set up openVPN on Debian, but can't start the service. [FAIL] Starting virtual private network daemon: openvpn failed! Syslog says Options error: Unrecognized option or missing parameter(s) in ...
-1
votes
1answer
55 views

OpenVPN Connect for ios can't parse my .ovpn file

For a user who wants to use my OpenVPN server on a mobile device, I have created a .ovpn file with embedded/bundled keys and certificates. But when I try to import it in the iOS client, I get this ...
0
votes
1answer
381 views

openvpn connection has established but cant ping the server

I have a openvz vps and setup a openvpn server, and I successfully connect to the server in my ubuntu 14.10 client. server.conf: port 1199 proto udp dev tun ca ca.crt cert server.crt key server.key ...
0
votes
1answer
90 views

Can't get “redirect-gateway” to work correctly with this OpenVPN network and the internet

I have the following network layout: Everything in blue is a VPN client (except the obvious server) The my client side (which is the top side where it says "My Site"), If I include include ...
2
votes
1answer
55 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 ...
2
votes
2answers
764 views

OpenVPN connect on startup

I'm using OpenVPN on Ubuntu 12.04 LTS. I've set up OpenVPN to connect to my vpn service. It works great. Now, I need it to connect automatically. I can run from a terminal nmcli con up uuid ...
0
votes
1answer
203 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
5answers
3k views

OpenVPN client connects but can't access internet

I setup an Openvpn server on a centos box and I can get the client to connect (osx) but can't access the internet or even the local network. I thought maybe DNS but couldn't access any sites via IP. ...
0
votes
1answer
802 views

Getting “Cannot ioctl TUNSETIFF tun: Operation not permitted” when trying to connect to OpenVPN

I'm trying to setup an OpenVPN Access Server in AWS using the market place AMI, but I;m struggling to connect to it. The access server is up and running. I've also added a user with Auto-Login and ...
0
votes
0answers
233 views

Openvpn Packet loss troubles

Hy! I got an Openvpn server on Linux and use it to route all ipv4 traffic from my clients (win7,android, pfsense etc). I finally want to really understand the routing thing, although it works, but ...
0
votes
1answer
124 views

Access two web servers (VPS and Windows Server) through the same IP (PUBLIC AND VPN) using VPN [closed]

I have two servers: a hosted VPS with a website on port 80, and a home server running windows 7. See the diagram below. The home server is running WAMP on port 88, which works on my home's public ...