Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openvpn]

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.

1
vote
1answer
276 views

OpenVPN CCD file extensions

I've setup an OpenVPN server on Windows, all is working fine. I want to have my OpenVPN clients connect with a predetermined IP address. With reading/research I understand this is pushed out via a ...
0
votes
1answer
54 views

Openvpn (ipfire) net-to-net connection gets wrong IP address from some pool

I try to set up a connection over the internet between two ipfire routers, having OpenVPN installed on both. r3 is the server, r1 the client. It almost works. First, the "server" is started: here are ...
0
votes
1answer
162 views

OpenVPN client on Amazon EC2 can't ping eth IP - Can ping Tun IP

I have along standing openvpn server running locally. It's working fine with many physical clients. I have set up an Amazon EC2 Debian 9 instance and installed openvpn client as I would do normally ...
0
votes
0answers
138 views

OpenVPN log file deleted, no more new logs

Someone on my team deleted the openvpn.log files while the vpn server is still running. Now for some reason no new log file is being created by openvpn and therefor, we have no more logs. Is there ...
0
votes
0answers
25 views

Create a VPN across diffrent public networks

I have a bunch of 10 iDrac servers, distributed globally across different datacenters with public IPs. There are no firewalls for these servers. How can I bring them into a single network, so that all ...
0
votes
0answers
325 views

Port forwarding through VPS with OpenVPN to Client

In an attempt to allocate a public IP to a server inside my network i have the following scenario: VPS running Centos 7 and OpenVPN server with public IP 162.208.11.152 on interface venet0:0 Local ...
0
votes
1answer
965 views

how to force all internet traffic go through my vpn tunnel

I have my OpenVPN server running on my Linksys-E4200 router. The VPN server local ip is 192.168.66.1. Now I am in the public library. My Windows7 OpenVPN client has connected with the OpenVPN server. ...
1
vote
0answers
171 views

Docker cannot route OpenVPN clients to stack containers

I have a docker cluster with an OpenVPN container as an access server and a dns container as a forwarder. All containers are connected to a docker overlay network called vpn, but some run as a docker ...
0
votes
1answer
59 views

Authentication in OpenVpn the way it's done in ProtonVpn for instance. Is it PAM?

I'm trying to add authentication to my VPN server which is accessible via Internet and for browsing Internet. At ProtonVpn, for instance, I'm given a login/password and upon connection OpenVpn ...
0
votes
1answer
292 views

OpenVPN using TAP with a dummy interface

I have a dream compute instance that only has one network adapter and it has a public IP address. I am attempting to run OpenVPN with the TAP interface bridged to a dummy interface in order to access ...
0
votes
1answer
397 views

Connecting to vpn through double nat

I have a pfsense gateway that connects to the ISP and gets a publix address. It takes care of servers and clients without a problem. To that gateway I connected another pfsense to play around and just ...
0
votes
1answer
214 views

Configure SSL for openvpn on synology diskstation

I currently have a Synology DS218J and I have openvpn installed on it. I'm wondering how to configure SSL tunneling between the VPN server and the client. I did hear something about stunnel but I'm ...
0
votes
1answer
216 views

Openvpn Bridge - can connect but no LAN or WAN

I have had a routed openvpn server running for some time. I am trying to set up a bridged connection so that my vpn will be on the same subnet. I have the following config file for the server. When ...
0
votes
2answers
63 views

iptables: Access single destination host without VPN

I have a device where eth0 is connected to the internet, a VPN running on tun0 through eth0, and all traffic for any devices connected on wlan0 is being routed through tun0. This works great with: # ...
0
votes
2answers
3k views

OpenVPN on Windows 10 without redirect-gateway option, or with options just to handle VPN traffic

My main aim here is for one particular Windows 10 machine to be accessible from anywhere, if you're connected to the VPN. That machine is on a super-fast connection in the office, which reaches a few ...
1
vote
1answer
40 views

Access to server only through OpenVPN server

I am have set up a vpn server (openvpn) and I have a client too. I want to set it up so that a second server can only be access from the vpn server over SSH. How can I do this?
1
vote
1answer
386 views

Openvpn multiple clients same machine

I would like to achieve the following: Each user in my system (ubuntu 16.04) needs to be able to connect to different vpn servers and all the processes from this user route all the traffic from the ...
0
votes
1answer
78 views

VPN Server configuration in Ec2 AWS

I am looking to setup a VPN Server in AWS EC2 instance. I do understand ec2 instances have limited bandwidth according to its instance type. Let assume, I have a t2 medium instance on which VPN ...
0
votes
0answers
24 views

Web and Database servers on different providers

I have currently my setup on Rackspace. Now, I need to double my Db's capacity (memory). The prices are very high compared to AWS. I need to keep my public IP because of access rules by third parties. ...
0
votes
0answers
28 views

Route certain IP between 2 servers thruogh VPN tunnel to rech third

I have 3 Linux server, and I created a VPN coneciton between them. First server: Installed Openvpn server , working but I comment this line push "redirect-gateway def1 bypass-dhcp" becuse I need ...
0
votes
1answer
94 views

Services running on same host as OpenVPN do not receive traffic from VPN

So we are setting up and testing new internal systems, using Docker to deploy OpenVPN, Jenkins, and bind all on the same host. We want to restrict access to only come from traffic that originates from ...
3
votes
1answer
570 views

How to create a regular expression for an openvpn fail2ban filter

Some people are trying to get into my openvpn server. For now I'm manually banning each IPs because I don't know how to setup a fail2ban regex. The content below is basically what is found in my /var/...
1
vote
2answers
166 views

Data usage in case of VPN?

My organization has provided a windows 10 laptop. When I connect to VPN from my home through my home internet and download a file of say 1GB from: Intranet (connected servers) Internet (public) In ...
2
votes
1answer
475 views

OpenVPN: Leaking DNS on Linux Clients

I've just set up an OpenVPN server. It connects fine and all, but after a check on dnsleaktest.com, I've discovered, there is a DNS leak. I've searched for solutions, and could only come up with these ...
0
votes
0answers
146 views

VPN point-to-point without open/forward port, is it possible?

Actually I have a software that is client-server based and running throught a VPN. The server is a computer and the client is an Android device, both running OpenVPN. Is there any way to do this ...
1
vote
1answer
39 views

Automatically verifying an OpenVPN configuration file

I'd like to somehow verify automatically that a text file is indeed an OpenVPN configuration file. I don't need to know that it's fully correct, i only want to check that it's a config file intended ...
0
votes
0answers
128 views

How an Ec2 node can contact eni of a different node in different AWS account and vpc

I have a requirement that one of my EC2 instance's originating traffic to a specific ip address needs to land to a ENI of a different EC2 instance which is present in different account and different ...
0
votes
0answers
653 views

Setup Site to Site OpenVPN Tunnel

So I'm trying to setup a site to site OpenVPN connection from my Google Cloud to my Home/Office network. I used the prebuilt OpenVPN instance provided by Google here and configured it to my needs. I ...
0
votes
0answers
24 views

Cannot connect to my VPN and have client display server IP

This used to work but no longer seems to. Didn't change anything as far as I know. This is the client .ovpn-file: push "redirect-gateway def1" client dev tun proto udp remote myip 1194 float comp-lzo ...
0
votes
1answer
727 views

OpenVPN client on OpenWRT not routing traffic through VPN on Linksys WRT3200ACM

I am unable to get the traffic routed through the VPN tunnel, when using OpenVPN on OpenWRT firmware. The router is a WRT3200ACM, connecting to OpenVPN server on Ubuntu. OpenVPN client is connecting ...
0
votes
0answers
277 views

OpenVPN Client Does Not Connect After Reboot

i am working on my LAN network and i am trying to set up VPN. i have never set up VPN before and i do not know how to debug my issue. i used PiVPN which is an automated script to set up a typical ...
0
votes
1answer
433 views

Openvpn connects but I cannot ping the gateway or access internet

I have the following in my configuration file: client dev tun proto udp remote xxxx.com 1194 resolv-retry infinite nobind persist-key persist-tun remote-cert-tls server tls-version-min 1.2 verify-...
0
votes
0answers
282 views

Allow connection between two clients in VPN

My setup: OpenVPN server (10.8.0.1), client1 (10.8.0.11), client2 (10.8.0.12) My goal: Run a web server on client1 and allow client2 to reach it. I have client-to-client and topology subnet ...
-2
votes
1answer
81 views

openvpn optimizations for Low bandwidth (250mb a month)

I am using openwrt lede with a lte stick 250-300mb a month depending on the unit so preferably hitting 250 or lower would be better for the entire system these are the clients the server doesn't have ...
0
votes
1answer
229 views

Forward traffic between VPN client and Samba server

Here's an easy setup with a twist: There is a Samba server running in the LAN on 192.168.1.88. VPN clients connect directly to the server, cannot see each other and are not routed into the LAN. I ...
0
votes
0answers
124 views

Openvpn - TLS on udp failed handshake

I have openvpn on ubuntu 16.04 to accept connections on tcp 443, but when I setup a second config with port 1194 udp, it's giving me: TLS Error: TLS key negotiation failed to occur within 60 seconds (...
0
votes
0answers
456 views

VPN: killed expiring key for some clients, not all

I have a VPN server running with +-150 connected users at any given time. While investigating a connectivity issue, I noticed that the clients suffering from connectivity problems had the following ...
0
votes
1answer
480 views

Route IPv6 traffic through IPv4 tunnel

My current situatuion is that i want to use IPv6 but currently don't have any IPv6 address assigned. But I have a server with a dual stack interface including a public IPv4 and IPv6 address (only a /...
0
votes
1answer
689 views

openVPN - Route traffic through openVPN server that is also a client of another openVPN server

I've got an openVPN client connected to an openVPN server with a particular set of routing tables. That openVPN server is also a client connected to another openVPN server with a different set of ...
0
votes
0answers
3k views

how to setup openVPN client proxy using PAC (proxy auto-config file)?

I am using an openVPN client to connect to a VPN. But the network that I am currently in sits behind a proxy and it manages proxy via PAC files (Proxy Auto-Config files). I am looking at https://...
0
votes
1answer
1k views

Using multiple remote openvpn server entries

I am trying to use multiple remote servers on my openvpn client. Basically I want openvpn to try the first one (which is an fqdn) and if it cant connect then it should go to the second one (which is ...
0
votes
1answer
334 views

OpenVPN server with two tap interfaces, how to allow tap0 to see tap1

I'm new to OpenVPN but have managed to install it on an Ubuntu machine. The requirement is to allow Mikrotik and then laptop clients to connect to the VPN. I managed to make this work by running two ...
0
votes
1answer
400 views

OpenVPN client timeout when browsing https sites on Windows 7

Client config client dev tun proto tcp remote -.-.-.- 443 resolv-retry infinite nobind persist-key persist-tun remote-cert-tls server cipher AES-128-CBC auth SHA256 key-direction 1 comp-lzo verb 3 ...
1
vote
1answer
260 views

ubuntu 16.04 openvpn 2.3 disable

systemctl stop openvpn@server && systemctl disable openvpn@server.service After running these commands server sould be disabled and prevented from starting in next boot ? when I reboot ...
0
votes
0answers
115 views

OpenVPN plugin/script for RADIUS CHAP/MS-CHAP?

Recently I have configured OpenVPN Community Edition to authenticate using Microsoft Network Policy Server (RADIUS). The problem is somewhat outdated RADIUS plugin downloaded from nongnu.org, which ...
0
votes
0answers
141 views

How to route specific VPN traffic via specific VPN client?

I have VPN network based on OpenVPN software. I need route all network traffic in VPN network where destination IP is from specific country via one specific client on this VPN network (VPN client IP ...
0
votes
0answers
38 views

How to connect 2 network over openvpn

I need to access 192.168.9.0/24 from 192.168.1.0/24 only one direction. I tried using ssh tunneling over raspberry pi(10.8.0.2) but this is not an exact solution for me. Operating system of the ...
1
vote
0answers
195 views

Route and block HTTPS requests by domain with privoxy and havp

I'm configuring Privoxy and HAVP to run with OpenVPN and i'm stuck trying to block websites that use HTTPS (not all of them, some of them). I'm using the following in before.rules of UFW to redirect ...
0
votes
0answers
21 views

openvpn client-to-client BUT selectively

I want to install openvpn on my VPS for easy reaching windows client machines. I want two groups of users. Admins Clients The goal is simple: Any Admin can connect to any Client Admins "see" each ...
0
votes
0answers
199 views

Run OpenVPN --learn-address script as root

I am running an OpenVPN server and need to run a bash script whenever a user gets an IP. The script is working fine now that i am running OpenVPN as root, but my intention was to run the server as ...