Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
0answers
6 views

OpenVPN/OpenWRT/TP-Link TLWR1043ND: How to configure OpenVPN on this router to get access to connected devices only over the WAN interface?

I have the following problem: There are two networks, network X and network Y. In network X is an OpenVPN server. A TP-Link router (see the model in the topic) should be connected to network Y only ...
0
votes
0answers
25 views

Why does a particular site show pictures when accessed from one region and not from another?

I have a client who signed up with our ISP recently and he complained that while he was with another ISP he could access a motor vehicle parts website which he uses to order parts. With us, he can ...
-2
votes
0answers
9 views

How to get total downloaded size of pptpd user [on hold]

I need to setup an accounting server for my VPN server to limit the use total download size (for ex 10gb). How should i do it? how about openVPN?
0
votes
0answers
23 views

OpenVPN: Client to internet, static ips, not routing traffic through VPN

Goal: client <-> OpenVPN <-> Internet Define IPs statically Modify IP assignments without OpenVPN restart Current state: My current configuration allows clients to connect, get a dynamically ...
0
votes
0answers
24 views

Connect to VPN without port forwarding on both mobile and laptop

I want to connect to my internal network from outside. No access to the CE Router. Teamviewer is able to go through but i need something like teamviewer only difference is i need it as a vpn like ...
1
vote
2answers
21 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 ...
0
votes
0answers
29 views

Redirect web traffic in OpenVPN server

Long story short: I have a functioning OpenVPN server (odroid-XU4 running Ubuntu Mate) and can successfully connect to it from 3 different clients (gentoo, Kubuntu and android). I want to route all ...
1
vote
3answers
73 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
48 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 ...
-2
votes
0answers
15 views

openvpn creative ways of opening access to internal web servers on common subnets

I have an openvpn routing setup that puts users on 10.8.0.0/24. It forwards traffic to 192.168.0.0/24. My problem is that 192.168 subnet is too common and some of my users can't reach internal web ...
0
votes
2answers
56 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 ...
-2
votes
0answers
29 views

Openvpn routing through Socks

I have server which installed Openvpn as server. Server IP 192.168.1.1 Its work normally, i can connect the from vpn client without any problem. -Then i install socks5 server on same machine i bind ...
0
votes
0answers
22 views

OpenVPN server can't reach client (Mikrotik) subnet

I have VDS machine with Windows Server 2016. So far I've managed to install, configure and run OpenVpn server. My router Mikrotik is configured as client for OpenVPN. Lan behind Mikrotik is 192.168.1....
1
vote
0answers
78 views

OpenVPN clients have no connectivity over IPv6 [closed]

UPDATE: Re-asked here. I'm trying to add IPv6 tunnel support to a OpenVPN server (i.e. clients can access the IPv6 internet through VPN). The router that runs OpenVPN has IPv6 through Hurricane ...
0
votes
0answers
7 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
36 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
17 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
36 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
19 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 +-------------------------+ ...
0
votes
2answers
49 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
23 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 ...
-2
votes
1answer
40 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
83 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
39 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
32 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
22 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
30 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
24 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
0answers
20 views

Softether Server built on AWS EC2 (running windows server 2016), concurrent sessions never exceed 50?

I have set up a softether server on Amazon EC2 running windows server 2016. For sake of zeor user configuration, I am using the same username/password hard coded in android openVPN client, so all ...
0
votes
1answer
18 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 ...
1
vote
2answers
50 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
15 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
17 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
71 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
20 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
17 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
83 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
19 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 ...
0
votes
0answers
47 views

OpenVPN routing issues

I'm having a real issue trying to get OpenVPN to do what I want it to do. I need the following: Clients to connect to the VPN server hosted in AWS Ability to map a drive to the private IP address ...
-1
votes
1answer
54 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
22 views

How to connect my OpenVPN clients to the servers local LAN [duplicate]

I currently have an OpenVPN server setup on my home server and I have tried every article I have found and I cannot get the clients of the OpenVPN server to access the Server's LAN. I have a static ...
0
votes
0answers
74 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
16 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
49 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
32 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
34 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
134 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://...
0
votes
1answer
203 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
81 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 ...
0
votes
0answers
11 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....