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.

2
votes
1answer
156 views

How to configure iptables for a dial-up VPN with OpenVPN and two interfaces?

I have an AWS EC2 instance, running Amazon Linux, that has two Elastic Network Interfaces (ENIs) attached: eth0 and eth1. I am connecting to the public IP on eth0. Everything works great, except I ...
0
votes
1answer
249 views

OpenVPN switch from full to split tunnel

The Problem We have a OpenVPN server in our network, which is used to connect to only four machines. With the given configuration below it works, but clients cannot access the rest of the internet, ...
1
vote
0answers
120 views

SSH Session with Active OpenVPN Client Dilemma

Since this morning, my ssh session was getting freezed when I run .ovpn file. The problem is that the default gateway gets changed by OpenVPN, and that breaks my current SSH connection unless I set ...
0
votes
1answer
66 views

Route internet to tun1 INSTEAD of tun0

I'm using a debian based desktop distro, but I imagine that is probably irrelevant. I have a very simple query that I can seem to find the answer to anywhere, probably because no one does this. I have ...
2
votes
1answer
91 views

OpenVPN: Addressing remote LANs

I've been trying to solve this problem for a while now, but to no avail. We basically have an OpenVPN server to which our end devices need to connect. Some of those devices can directly connect to the ...
0
votes
2answers
180 views

Run OpenVPN server on alias IP

I want to configure OpenVPN server that works on alias IP. I changed the client config to have alias IP as remote and added "local 188.xx.xx.55" in OpenVPN config which is our alias IP. Also set "...
2
votes
0answers
378 views

Run openvpn inside docker and use as gateway for internet for other networked devices

I am trying to run tunnel all my network traffic on my LAN via an OpenVPN client running inside a docker container. My router and default gateway is running on 10.10.10.1 I have OpenVPN running on ...
1
vote
0answers
32 views

sudden lost of access to esxi vSphere network

Our lab setup consists of a vSphere Esxi server hosting some VMs. In front of VMs exists a pfSense router VM. All VMs are getting connectivity from router and additionally a openVPN server is set in ...
0
votes
1answer
43 views

Routing from LAN into OpenVPN

I need to set up a route from our local network into our VPN. That is, anybody from inside the LAN should be able to communicate with machines in the VPN, without being a VPN client itself. Problem is,...
1
vote
2answers
54 views

How to connect to second private network's computers from under OpenVPN?

I'm running OpenVPN on Ubuntu instance and I want to connect to my MySQL database located on the private network. It's AWS/EC2 and RDS. Database has a security group that allows all connections from ...
1
vote
2answers
138 views

VPN client unable to access LAN

I have a server on the office lan with a public ip running open vpn. External vpn clients can connect to the vpn via the public ip. But once connected they are unable to connect to other servers on ...
2
votes
1answer
213 views

Access instance behind ELB through OpenVPN server

I want to redirect the traffic through an openvpn server only for some specific domains (dev.mydomain.com, admin.mydomain.com, jira.mydomain.com, etc) which are hosted on some ec2 machines and they ...
0
votes
2answers
80 views

AWS Instance accept connection from VPN in same VPC [closed]

I did setup an OpenVPN server, which works fine and the IP of the server shows instead of my machine's IP. I am using this VPN to connect to EC2 instance, and restricting access to only instances ...
0
votes
0answers
45 views

OpenVPN route client LAN to VPN clients and back again

At some point in time I had this working, but have since broken it. I need to have bi-directional traffic (routing) between LAN clients behind a CCD gateway, and VPN clients. With the below ...
2
votes
1answer
274 views

OpenVPN - trying to validate CRL on client certificate

I'm running OpenVPN on a hardware router running OpenWRT. Every time a client connects I get the following error in the logs: VERIFY WARNING: depth=0, unable to get certificate CRL I've got a 2 ...
0
votes
1answer
176 views

Using custom DNS in VPN to resolv domains to different server

What I have is simple but I got a VPN issue that I don't know how to solve. In general I want to route public domains differently within a VPN. See the current role of a Debian host: A public ...
0
votes
1answer
337 views

unable to connect to an openVPN server from a windows client

I set up an openVPN server and it is functional from android devices and linux desktops. However I have a client that is able to connect using the my.ovpn I provided from an android device but when he ...
0
votes
1answer
75 views

Routing and OpenVPN not running on the default gateway

I'm having difficult time setting the correct iptable in order to route OpenVPN traffic to my internal OpenVPN client. My network is similar to this +-------------------------+ ...
1
vote
2answers
890 views

Safety of RDP without network level authentication

I have been reading about RDP and Active Directories and I have gathered following understandings that I'm not sure are correct: Seems like RDP with Network Level Authentication works only (or most ...
0
votes
0answers
45 views

Can't connect to private IP with Tunnelblick and OpenVPN

I'm trying to connect from Tunnelblick on Mac OSX to an OpenVPN server. I only want the VPN tunnel to be used when accessing a specific IP (172.31.40.163). Setting up the tunnel works fine, but ...
-1
votes
1answer
207 views

What private ip address space to use for a self-host VPN? [duplicate]

I have set up a private OpenVPN tunnel which uses the a 10.x.x.x private ip range as the client and server ip. I was wondering if that would cause any problem in big networks that use that ip range ...
0
votes
2answers
125 views

Machine connected to a vpn not reachable anymore from the outside

My raspberry is connected to my lan network 192.168.1.0/24 and it has a static ip. From the outside I can reach it by opening some ports on the ISP router. I have installed an openvpn client on it ...
0
votes
1answer
235 views

Port-forwarding traffic to remote server using iptables

I'm struggling to set up an infrastructure where MySQL replication traffic from an Amazon RDS instance is forwarded over an OpenVPN link to a second server. There is an Ubuntu EC2 instance running ...
1
vote
0answers
367 views

OpenVPN client connection gets stuck at “Pre-connection initialization successful” after reboot in Linux Ubuntu 18

My OpenVPN client version 2.4.4 connection is getting stuck after reboot. It started stucking after I configured the OpenVPN Server to pass a list of DNS servers for the OpenVPN clients. I have ...
1
vote
0answers
26 views

iptables Rerouting by owner, first connection always fails

I am trying to reroute all connections of a user to go only via openvpn tunnel. the tunnel uses net30. This is my upscript (after many battles): #!/bin/bash rt_table="mtunnel" # make sure that rt ...
0
votes
1answer
125 views

OpenVPN server dedicated log missing log.conf?

I'm trying to run an OpenVPN server with it's own log, not just writing to the Syslog with everything else. For some reason it looks like you can only set a different log location by using a command ...
0
votes
1answer
138 views

Browser traffic doesn't got through the OpenVPN connection

I'm using OpenVPN client on Ubuntu 18.04. My laptop is connected to the Internet through my Android cell phone over the hotspot. Apparently, the VPN connection doesn't affect the browser traffic. ...
0
votes
1answer
37 views

openvpn: allow clients access to internet

I have set up an OpenVPN server and I can connect to it from various clients. I can also access resources in my local LAN (192.168.2.xxx). However, once a clients is connect to my VPN server, it ...
2
votes
2answers
104 views

How to connect with multi region private subnets through single VPN?

I had created 3 VPC's in three regions and I configured VPC peering between this 3 regions and it's working fine I can ping all the servers from any region through private ip's, I had configured ...
0
votes
1answer
24 views

Is it possible to change the OpenVPN server's virtual address client side only?

I have multiple servers set up with the same OpenVPN server configuration. They have the same virtual subnets and virtual server addresses. What I want is, that I need to connect to multiple servers ...
0
votes
0answers
38 views

Intermediate Server connected to OpenVPN of external network

I've had the idea to use an intermediate Debian server on our internal network which connects to an external network over OpenVPN. The idea was that I didn't want to connect our computers directly ...
1
vote
0answers
177 views

Skype for Business calls behind pfSense dropping after five seconds

I'm having a problem with Skype for Business (Lync) disconnecting behind a pfSense firewall after exactly 5 seconds. It's an odd problem, and I've opened a ticket with Microsoft, but thus far, that ...
0
votes
0answers
24 views

Routing issues with PPTP VPN server

This is my first time working with PPTP and I'm not very proficient in networking or iptables like you guys are. So, please bear with me. The desired scenario is this: A remote linux box runs pptp ...
0
votes
1answer
83 views

How to setup my MAC address to be static using OpenVPN on Ubuntu 16.04?

I'm connecting to a server using vpn connection. So, every time that I connect using this VPN, my PC (Ubuntu 16.04) always create a virtual netboard and gives to me a new MAC address. But for what I ...
-2
votes
1answer
121 views

VPN connection for SSH access to a single publicly available

My goal is to have a VPN tunnel on a single port on a server's public IP and be able to SSH into the server with an additional VPN layer of encryption. DETAILS OF THE SERVER CONFIGURATION: I am ...
0
votes
0answers
31 views

How to debug a VPN (OpenVPN) outage?

At work we have a cluster with 30 OpenVPN machines and since the last software update sometimes lots of them go down at the same time. I have almost 0 experience with OpenVPN. Are there good ways to ...
-1
votes
1answer
160 views

Slow download speeds on OpenVPN. Configuration issue?

Trying to determine why OpenVPN was pulling 1mbps down. The server has a dedicated 1gbps connection so I am sure the server can't be the bottleneck. I just started playing around with tls-crypt and ...
0
votes
0answers
470 views

Using a proxy AFTER connection with OpenVPN-server is made

Just to be clear, this is not about connecting to an OpenVPN-server through a proxy, but to be able to use a proxy after the connection is made. I have a windows Server machine running OpenVpn Server ...
0
votes
0answers
20 views

OpenVPN authentication fallback

Currently, I have headless devices which act as VPN gateways. These authenticate by providing a certificate. However, I would also like to be able to, as a human, be able to authenticate using only my ...
0
votes
1answer
166 views

OpenVPN work in China [closed]

Next week, I'm going to China to work, and I'm worried about the connections there. To prevent this, I installed and configured OpenVPN on an EC2 instance in AWS. I'm navigating it right now. My EC2 ...
0
votes
1answer
150 views

get process id of openvpn client in bash script

In a bash script I am starting openvpn as a client like this: #!/bin/bash conf_file=/etc/openvpn/blahblah.conf openvpn_pid_file="/var/run/openvpn-client/ovpnc.pid" command_line="/usr/bin/openvpn --...
0
votes
1answer
111 views

Dual Stack CentOS not preferring IPv6

I'm currently trying to access a computer, over an OpenVPN tunnel, by addressing it on IPv6. I've also registered an A and AAAA record on my private DNS server. On both sides of the tunnel, I want to ...
0
votes
1answer
1k views

Start OpenVPN at boot on Ubuntu 18.04

I try to start openvpn at boot on a machine running Xubuntu 18.04. I put my credentials of the service I use in a separate file and put the name of that file in the OVPN file as described in: https://...
1
vote
1answer
2k views

OpenVPN 2.4 security differences between tls-crypt and tls-auth

I was reading and tls-crypt and was curious would that increase security and reduce the chance of keys being compromised during handshakes and that it offers better security over tls-auth? Maybe ...
0
votes
0answers
140 views

proxy which sends traffic and uses dns from openvpn

I would like to set up a proxy like dante-server, which uses an openvpn client to send all trafic and dns requests. The rest of the traffic should not use the vpn! Through policy routing i already ...
1
vote
0answers
20 views

After add the `redirect-getway autolocal ` to the `client.ovpn`, when I run the OpenVPN, the machine will get stuck

In my Windows Client, I use the bellow client.ovpn as the configuration file to run the OpenVPN: client proto udp port 1194 dev tun redirect-getway autolocal # this is the issue cause remote 43....
1
vote
0answers
36 views

Why my OpenVPN Client can not act as the OpenVPN Server's IPMI manager?

I installed the OpenVPN in my Windows server(43.224.204.19), and generated the server.ovpn and client.ovpn files: This is my server.ovpn: local 43.224.204.19 port 1194 proto udp dev tun ifconfig-...
0
votes
1answer
271 views

How to allow vpn clients to access lan servers

I need some help understanding how to allow the vpn clients to access servers that are on the "intranet". I have one dedicated/physical server at ovh(if that matters) with 4 additional ips. The OS ...
0
votes
1answer
104 views

Access other AWS VPC Instances but OpenVPN server

I've configured OpenVPN server on Bastion instance in public subnet on AWS VPC. Right now, I have access private IP address of that instance with my OpenVpn client, but we want to access EC2 ...
0
votes
1answer
39 views

Connect to OpenVPN server with different client

If I create OpenVPN server on my Linux machine, can I connect to that server (from Windows) using different client for example SoftEther VPN or built-in VPN client in Windows? Or I have to use ...