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

Redirect client to specific URL openvpn?

Soon I'm going to have to change my VPN server's IP address. This will mean that current client configuration files will no longer work with the new server. I was wondering if it's somehow possible to ...
1
vote
2answers
49 views

OpenVPN for embedd devices

I'm a newbie in OpenVPN and the related questions, I'm googling for several days without positive answer. I have several linux-based devices located in my town that collects data and sends it for me. ...
0
votes
0answers
20 views

How can I get a user to interact with an executable configured to run from a scheduled task?

I am trying to get the OpenVPN GUI to open for configured users automatically at (or recently after login). My original plan was to use a Computer Configuration scheduled task to run as the logged on ...
0
votes
0answers
89 views

OpenVPN DNS resolution not working

I'm currently trying to get a simple OpenVPN setup working and I'm almost there, except for a DNS (or routing) issue I seem to be having. The client connects to the server just fine, and I can ping ...
0
votes
3answers
76 views

How to setup a traffic limit per user on OpenVPN?

I am setting up a VPN server using OpenVPN. The authentication method is the certificate one (different certs for client and server). The VPS has 1TB of traffic monthly. I plan allowing up to 4 ...
1
vote
4answers
421 views

Route all network traffic through an openvpn connection and also accepting incoming requests on the hosts' real IP-address

I am searching for a solution to route all traffic from a server through OpenVPN but keep it possible to host applications on the server which can be accessed outside of the local area network. To ...
1
vote
1answer
51 views

OpenVPN: Best methods for multiple server authentication

What is the best way for multiple clients to authenticate to multiple severs? I was thinking a token based system when a token is generated for each client and a custom script is added to verify this. ...
0
votes
1answer
44 views

OpenVPN leaks IP for one host only

I've been trying to solve this for the past week and I can't figure this out. I've pretty much boilerplate OpenVPN server using TUN running and then I've 3 separate HTTP servers each running Nginx ...
1
vote
0answers
25 views

Why would OpenVPN attempt a TCP connection in a UDP setup?

I connect to an OpenVPN server (IP_of_OpenVPN_server) from a network which is behind a firewall (iptables managed by Shorewall). The firewall is set up to only allow outbound OpenVPN (udp/1194) ...
0
votes
0answers
22 views

Internet throught VPN in local network, using windows 7 as router

I have windows 7 (192.168.1.0/24) using as router in SOHO network. Everything works fine until I'm creating openvpn connection on windows 7 (10.0.0.0 mask 255.255.255.252). Windows 7 machine has ...
0
votes
0answers
27 views

OpenVPN Access Server Creating Groups & Users

I have created an OpenVPN on aws via cloudformations - all working as expected except bootstrapping. on user data i have entered some comands to do some of changes e,g, enabling googleauth etc. in ...
1
vote
1answer
33 views

Route ipsec to openvpn with iptables

I am not a very experienced user but I do have determination, after a week with no progres it is getting rough. I have two NIC, one facing to the internet and one towards the internal network. Both ...
1
vote
0answers
91 views

Openvpn Error opening configuration file:

I just set up openvpn with this script on clean centos 7. And I can't connect to server. I got following error in journalctl -xn 05:18:39 localhost.localdomain openvpn[1433]: Options error: In [CMD-...
0
votes
0answers
236 views

cannot connect openvpn ubuntu 16.04

I have openvpn with google authenticator. It connects via browser but when I try to connect it via terminal following error is thrown after I enter google authenticator code. I am able to connect ...
0
votes
0answers
30 views

Amazon EC2 openVPN instance connection issues

Currently trying to connect to an openVPN server set up on an EC2 instance that is also running a web application. My client establishes a connection with the server and I can ping the gateway (10.8....
1
vote
1answer
24 views

OpenVPN Client Config Dir - where common name includes non-utf8 characters?

How do one go about handling individual client configurations in OpenVPN where the common name of the certificate includes non-UTF8 characters (Such as Swedish names)? I had a look at the OpenVPN ...
0
votes
1answer
27 views

Debian as VPN Server for Cisco ASR

I've to set up a Debian Server who should connected by a Cisco ASR via Side2Side VPN with a preshared key. Tried Open-VPN, but found out that both sides need Open-VPN. So the Cisco ASR is the VPN ...
1
vote
2answers
125 views

OpenVPN per user rules while not routing Internet traffic

EDIT: I know that learn-address is what I would need to use to call a script (as specified in the openvpn-netfilter project) to set the firewall rules. I guess my question is more related to the ...
2
votes
2answers
116 views

Issue with site to site OpenVPN

So my end goal is to utilise OpenVPN to connect to a remote IP camera. The reason I am going down the route of OpenVPN is to try and overcome the carrier grade NAT that prevents me from doing port ...
0
votes
2answers
213 views

Routing your Internet through openvpn and Squid Proxy

I am trying to setup a proxy to filter the internet traffic. In order to do so have arrived at the following combination Client -> Openvpn -> squidproxy -> internet Squid proxy and openvpn have been ...
0
votes
1answer
210 views

How to connect to OpenVPN clients from LAN 'members'

Working on a IoT type of thing, I want to connect some devices "in the wild" to servers in AWS through OpenVPN on an EC2 instance. So far I have been able to set up an EC2 instance configured as an ...
1
vote
0answers
46 views

Route all traffic from virtual interface to temporary tun0

I'm trying setting up at home an automated torrent client to download some big GIS databases I produce at work and release as .torrent files. My home server is a Raspberry PI with one Ethernet ...
0
votes
1answer
211 views

OpenVPN Ubuntu Server Routing Problems No Internet

I'm running OpenVPN on Ubuntu 15.04. When I connect to the server, I can connect and authenticate correctly (I use PAM auth because I'm lazy). Once connected I can't ping the server or access the ...
1
vote
1answer
56 views

How can I access to devices on remote LAN

Here is a quick diagram of what i'm trying to configure I have multiple clients connecting to my VPN Server (from 10.0.1.2 to 10.0.25.2). Each LAN behind the clients are always the same : 192.168....
1
vote
1answer
236 views

ICMP ECHO REPLY is not being SNATed correctly

I am trying to provide L3 connectivity between two remote LAN networks (10.0.0.0/24, 10.0.1.0/24) using OpenVPN with the following setup: +----------------+ +---------------------+ +----------------...
1
vote
1answer
47 views

How to disconnect the openvpn client, when another client connects using same certificate?

I have openvpn server. There is no "duplicate-cn" in configuration file. The sequence of my actions: Client A connects to server. Everything works. Has access to server and to internet. Client B ...
1
vote
1answer
155 views

Can't connect to Ubuntu server on LAN from pfSense VPN

Quick summary pfSense server is connected to the WAN and LAN. This box also has an OpenVPN server running. The LAN clients use 192.168.20.0/24 OpenVPN clients use 192.168.30.0/24 On the LAN I ...
1
vote
1answer
20 views

openvpn exclude some web pages

I have OpenWrt with openvpn on it. Some computers are excluded from openvpn traffic by --set-mark rules. But now I need some more elastic solution. I am using VPN for web browsing, but some web pages ...
3
votes
1answer
219 views

OpenVPN server local network access and vpn network access

first off, apologies if this is a duplicate, I couldn't find a question that matches mine I have a home linux server and a remote VPS linux server. OpenVPN satisfies the requirement of a high speed ...
0
votes
2answers
70 views

How to keep openvpn connection open on Centos

I access test server via shell and i use this command to connect to VPN sudo openvpn client.conf I want to keep the connection open with the VPN, something like service when you make service ...
0
votes
1answer
28 views

OpenVPN block SMTP Access Server completely

I've tried almost all iptables rules to block smtp on openvpn server but still clients clients can access remote smtp servers on port 25. I'm using openvpn access server. It's creating two interfaces ...
-1
votes
1answer
19 views

Can I use amazon VPC to encrypt communications between my office and the internet [closed]

I was recently working with Amazon VPC to connect to Amazon RDS. I noticed that I need to use OpenVPN with Google Authenticator in order to be able to connect to the instance. I was wondering the ...
0
votes
2answers
146 views

Monitor OpenVPN User Bandwidth Usage

So i've been researching this as much as possible and i haven't found a specific result. I'm trying to monitor the incoming and outgoing bandwidth of OpenVPN users, i'm removing as many logs as ...
1
vote
0answers
50 views

Using a VPS as front end proxy

I run a shell host that many users share which gets frequently DDoS'd (at least once every other month). So I have come up with a plan to peer all traffic with a VPS, so that it appears to everyone ...
0
votes
0answers
47 views

Running OpenVPN within k8s container

Suppose I have a k8s cluster whose services IP range is 10.198.240.0/20. Now I want this IP range to be accessible from another cluster or data center. Is it feasible to run OpenVPN within ...
0
votes
2answers
232 views

Push DNS for only a domain OpenVPN

I have an OpenVPN server to access an Amazon VPC. I have a bind DNS on that same VPN server for solving local names (say *.local.example.com) and for everything else, bind uses forwarders as google ...
-1
votes
1answer
58 views

ubuntu network manager openvpn overwrites default route

I am running VPN server on aws account which hosted under Account A. I have another aws Account B, where I have a Ubuntu ec2 instance. On this instance I have installed Openvpn and configured client ...
2
votes
1answer
79 views

Can not add static route in my Ubuntu, SIOCADDRT: Network is unreachable

I'm trying to add a static route in my VPS to a client that is on the other side of the VPN tunnel to my VPS and forwards it's traffic through the tunnel. This is the setup of my destination that I'm ...
0
votes
0answers
35 views

OpenVPN connect to OpenVPN client network

OpenVPN Server Ubuntu 14.04 In Digital Ocean (Public and Private interface) OpenVPN client Ubuntu 14.04 I can't SSH from Server to client via VPN connection. Ping works fine. Tunnel is up. Followed ...
0
votes
1answer
25 views

OpenVPN with LAMP on same VPS instance

I have a VPS where I configured LAMP to host a couple of websites. Would it be problematic to set an OpenVPN Access Server on this same server, alongside LAMP? If this is a good idea at all? What ...
1
vote
1answer
35 views

How to automatically add a local route after OpenVPN start?

I have a container which routes all its traffic via OpenVPN. This is done by OpenVPN via a combo of 0.0.0.0/1 via 10.8.8.17 dev tun0 128.0.0.0/1 via 10.8.8.17 dev tun0 which masks the default ...
0
votes
0answers
33 views

SSH to OpenVPN Connected System AND Tunnel through VPN

I want to SSH to a Docker system running Debian (latest), with OpenSSH, and OpenVPN installed. I also want to create a Dynamic forward (SOCKS proxy), and I want it route through the VPN connection as ...
0
votes
1answer
51 views

AWS EC2 and OpenVPN

I've been trying for a few hours to get OpenVPN working with AWS EC2 without any luck. Its the same setup as anyone would think of: Openvpn running on a server to gain access to resources within the ...
0
votes
1answer
29 views

OpenVPN opens msn.com on Windows

I have asked my question on the OpenVPN forums, and I have not got a single response. So maybe I'll get some knowledge here. I have my OpenVPN server on an RPi2 at home. I connect to it with the ...
1
vote
0answers
37 views

OpenVPN with CryptoAPI on Linux

I have an OpenVPN config file that uses Microsoft CryptoAPI. Meaning, it contains these lines: cryptoapicert "SUBJ:..." ca ca_file.crt tls-auth tls.key It works fine on a Windows system. However, ...
2
votes
1answer
58 views

Only allow access to a port when connected to VPN

I am running a Centos 7 server with OpenVpn on an amazon ec2 server. How can I configure it to only allow access to ports 2087 and 2083 when I am connected to the VPN, but not when I am not connected. ...
1
vote
1answer
31 views

How to find my VPN gateway?

I'm not a network engineer but I'm trying to configure my linux machine to have internet access while being connected to my VPN. My current idea to solve this is to connect to my VPN while ...
1
vote
1answer
45 views

Traffic from OpenVPN client to 'self' rejected by UFW

I currently have a single VPS set up with OpenVPN server. My idea behind this setup is that, while developing, I would be connected to server over VPN, which would allow me to access ports on the ...
-1
votes
1answer
66 views

How to route LAN traffic for OpenVPN?

Network Environment Setup Image Speedtest.net without OpenVPN - 300Mbps Speedtest.net with OpenVPN - 10Mbps Accessing \\192.168.0.223 through Windows Explorer with OpenVPN - 80-100MB/s Is accessing \...
0
votes
1answer
53 views

How to force Centos to use ipv6 interface only?

My Centos server has two virtual (Openvz) interfaces. One from these interfaces has ipv4 address configured, while the other one has the ipv6 one. In short this server is used for browsing / proxy. ...