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
1answer
153 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
86 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
840 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
564 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
4k 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. ...
1
vote
1answer
2k 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
417 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
143 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 ...
0
votes
1answer
86 views

OpenVPN “rwRW” logging

When an openvpn client is configured to have a debugging level of verb 5 or higher, one will find text similar to "rWrWRwRwRwRwrWrWrWRw" in their OpenVPN log, appearing when packets transit the VPN ...
0
votes
0answers
275 views

Make Monit check OpenVPN client connection status

We're running a multi-site business, each site connected to a central OpenVPN server to provide access to internal systems. I'm currently using Monit to check if OpenVPN client is running and if the ...
0
votes
1answer
313 views

Ubuntu OpenVPN GUI setting incorrect default routing gateway

I'm currently playing with setting up an OpenVPN Access Server in AWS. For the most part I've got everything working, except when I try to add the VPN connection to Ubuntu using the networks GUI. ...
4
votes
3answers
4k 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
231 views

Openvpn server with bind9 DNS on AWS. Linux client cannot resolve host names.

I have a openvpn server set up and working on an AWS debian instance. It works as should but I want to push DNS queries to linux clients from bind9 which is on the same server as openvpn. All seems to ...
3
votes
3answers
2k views

How can I prevent OpenVPN from clobbering local route?

I have a local network on 192.168.1.0 with netmask 255.255.255.0. When I connect to a VPN though OpenVPN (as a client), it pushes a route for 192.168.1.0 that clobbers the existing one, making my ...
0
votes
1answer
272 views

Centos 7 with SElinux: openvpn and DNS

I'm trying to use openvpn as client on centos 7. It works fine, but i cannot get DNS from server. As you know, there is no resolvconf in new Centos, so, standard update-resolv-conf script doesn't ...
0
votes
0answers
61 views

OpenVPN Client recieves reply from Ping to Server but not from eth0 or non-server IP

I have been using OpenVPN succesfully with Layer2 bonding for over a year now. I have been experimenting with a more complicated setup on the local LAN using a ProxmoxVE hosting KVM VM as the server ...
1
vote
0answers
607 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 ...
0
votes
2answers
2k 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
0answers
132 views

OpenVPN client ping server: eth0 works, tun0 fails

Usually for OpenVPN, people have issues accessing LAN interfaces but no issues accessing the TUN interfaces. I have the opposite problem. Ping from client (10.9.0.1) to server eth0 (10.0.0.97) works ...
0
votes
3answers
14k views

Unable to logon to vpn [closed]

My openvpn client log file- The interesting bit: Tue Oct 26 12:32:49 2010 TLS Error: cannot locate HMAC in incoming packet from 67.228.223.12:3389 Tue Oct 26 12:32:49 2010 Fatal TLS error ...
2
votes
1answer
417 views

How access remote network with OpenVPN?

I am currently trying to configure OpenVPN to access our company network remotely. I was able to establish a connection and ping the server at the configured address (10.8.0.1), but I was not able to ...
-2
votes
1answer
318 views

issues with installing, No config files OpenVPN 2.3.2-4.el7.x86_64 on Centos 7

Having some issues with OpenVPN 2.3.2-4.el7.x86_64 on Centos 7 (it's a VPS with digital ocean). Basically I am trying to install and configure OpenVPN to use as a VPN server. However it seems I am ...
0
votes
2answers
4k views

OpenVPN Route Client Traffic Through VPN Server Tunnel

I have configured a vps following this tutorial, the server and client are successfully connected and can ping each other, server is at 10.8.0.1 and the connected client (android-OpenVPN Connect) get ...
0
votes
0answers
259 views

pfsense access openvpn client´s lan

I want to cover the following case: pfsense server´s LAN: 10.1.0.0/24 openvpn client network: 10.2.0.0/24 Local network of one openvpn client: 192.168.2.0/24 Working: Access the network ...
0
votes
1answer
72 views

Openvpn Server multiple Certs

We have OpenVPN clients with CA-Certificates from an old and a new authority. We can't change them all at once. The clients are verifying the certificate presented by the server. Is it possible ...
0
votes
0answers
131 views

Check concurrent connections per user on OpenVPN server

I have an OpenVPN server running on a dedicated server and I want to know how many connections each user has open with the server. To test, I made it so im the only one that can login, and then ...
1
vote
0answers
74 views

vpnc through openvpn failed

I should connect to a Cisco VPN server for example 95.94.66.6, it configured to accepts specified IPs so I launched a server with a registered IP on Cisco which runs an openvpn server. The scenario ...
0
votes
1answer
201 views

Add VPN To WIndows VPS via RDP ? (Internet access - A Quick n Easy Way)

I have a VPS running Windows Server 2008 R2 with one NIC hosting some websites. I have tried to install OpenVPN with no success. I am trying to set up for VPN with 1x user and password specifically ...
1
vote
1answer
88 views

OpenVPN Hairpin Nat

I have an OpenVPN set up that looks like this: +------------------------------------------------------+ | ...
1
vote
1answer
34 views

OpenVPN client from multidomain SSL host

My server uses it's server certificate when connecting as a client to another server. webserver - server1.mydomain.com openvpnserver - server2.mydomain.com Server1 is a web server with SSL ...
1
vote
0answers
25 views

VM LAB - Promiscuous mode clarification

So for clarification I am running a Lab within VMware behind OpenVPN, 1 NIC with direct internet access (WAN vswitch) and another NIC with a leg inside a LAN vswitch. (This obviously houses my VM's ...
33
votes
8answers
54k views

OpenVPN vs. IPSec - Pros and Cons, what to use?

Interestingly I have not found any good search results when searching for "OpenVPN vs IPSec". So here my question: I need to setup a private LAN over an untrusted network. And as far as I know, both ...
0
votes
0answers
161 views

OpenVPN Port forwarding on a OpenVZ VPS

I've been trying for the past 3 hours to forward the 443 port from my client to the 20443 port on my server (CentOS 7 on OpenVZ), so i can access it on myserverip:20443. I have OpenVPN Access ...
0
votes
0answers
359 views

DD-WRT/OpenVPN Tunnel Between Two Routers - Block Non-VPN Traffic on vlan1

I have two DD-WRT routers with OpenVPN that I am trying to make a secured tunnel between them. I need them to drop everything that is not going to tap0 on the WAN ports(both of which are set to ...
0
votes
1answer
386 views

OpenVPN: correct way to use a relative path in an OVPN file

I am attempting to connect to a service using OpenVPN. There are a number of configuration files (.OVPN) that share a single certificate (ca.crt); all are located in the same directory. ...
0
votes
0answers
11 views

iptables NAT can't initialise on Debian openvz [duplicate]

So i want to create a nat rule for an openVPN server. After getting trouble with the TAP/TUN Devices, it's finally working i think It's working greate but not routed so useless. Now i have to make a ...
0
votes
2answers
240 views

Change OpenVPN server's tun0 address from xxx.xxx.xxx.1 to xxx.xxx.xxx.11

In the openvpn server's config file I have the line server 192.168.20.0 255.255.255.0. This will cause tun0 to be created with inet addr:192.168.20.**1** P-t-P:192.168.20.**2** Mask:255.255.255.255 ...
3
votes
1answer
8k views

How do I route all traffic from clients connected to the DD-WRT to its OpenVPN tunnel tun0?

I am setting a secondary (DD-WRT) router to act as a OpenVPN client so that all clients would get VPN access simply by connecting to the router. But seems clients traffic is always routed via the main ...
0
votes
1answer
478 views

Setting up iptables for port forwarding of incoming requests over a OpenVPN Client on a Router

I have a Router that runs DD-WRT and a OpenVPN Client that connects and redirects every request over the VPN. My VPN provider supports port forwards, the problem is my router does not forward ...
0
votes
0answers
149 views

openvpn route traffic over vpn but through specific client gateway

I have setup openvpn with a server A and two clients with their specific client-specific file overrides. It works normally, even when I configure it to route all traffic through the VPN. Now in ...
0
votes
1answer
95 views

OpenVpn & KVM: can't access LAN behind server

i just set up an OpenVPN Server on a rented root Server. I can ping the OpenVPN Server IP, but can't connect or ping to other Machines (VMs) on the OpenVPN Server Network. According to the official ...
-1
votes
1answer
127 views

OpenVPN not routing to other public IPs on the OpenVPN server

This is similar to the issue addressed at OpenVPN and routing . My server runs both a racoon-based L2TP/PPTP VPN service and an OpenVPN service. The racoon service assigns addresses in the ...
0
votes
0answers
188 views

Force all traffic from one user through an OpenVPN tunnel on Debian 6 with iptables and ip route

I’m trying to force all traffic of one user through an OpenVPN tunnel. It is giving me grey hairs. The current situation is that I can either allow all traffic for this particular user, and it will go ...
0
votes
1answer
36 views

Server Loses Public Access When VPN Started

I have a setup a server that uses an OpenVPN client, in order to connect it to my private network at home. Whenever I start the VPN client-connection on the server, I can only connect to it's public ...
1
vote
0answers
134 views

Access website hosted on same server as VPN via the VPN

I have just finished setting up a OpenVPN server running on Ubuntu 12.04 and I have been able to connect to it from my own computer (the client). I am able to set up the VPN server to route ALL ...
-1
votes
2answers
104 views

How Can I Give My VPN Clients Internet Access

I have been successful in setting up two OpenVPN servers as follows: Ubuntu1 (LAN IP: 172.23.6.148 WAN IP: 60.242.175.132) Ubuntu2 (LAN IP: 172.23.6.149 WAN IP: 60.242.175.133) Clients ...
0
votes
1answer
362 views

NFS fails to mount through openvpn tunnel

I am trying to establish an nfs connection through an openvpn tunnel. It really anoying and i dont know what to try next. The connectein test has been made on several platforms now. used ...
0
votes
0answers
156 views

Only allow SSH from specific IP to evade VPN connection?

I want a Linux server to use the VPN connection for all traffic that is not SSH from a specific IP. If the VPN connection becomes unavailable, not other communication than SSH with the specific IP ...
0
votes
0answers
71 views

OpenWRT OpenVPN setup is slow, howto set CA on a remote system?

I want to run an OpenVPN-Server on a box but creating dh on it is really slow. I was searching the net, how to import a ca for the OpenVPN-Server on OpenWRT so I can run build-dh on a nother computer ...
0
votes
2answers
973 views

When the OpenVPN client is on, remote ssh access don't works [closed]

I'm a new user forum and I'm doing my first VPN setup. I have purchased a VPN service with PrivateInternetAccess. I'm setting up a Linux VM (CentOS 6.5 server) on a VMware ESXi remote host. It's ...