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

Run Kubernetes behind OpenVPN and allow internal traffic on NGINX Ingress

My current setup is running multiple services on a single node Kubernetes cluster within a domain *.foo.com inside my internal network. Each service corresponds to its respective subdomain (Say I have ...
0
votes
0answers
15 views

How to set openvpn to use a reserved IP

I have a vultr instance running an OpenVPN upon ubuntu 18.04. It's working fine, but now I added a reserved ip and want it to be used to make the connections to the web. The file /etc/netplan/10-ens....
0
votes
0answers
51 views

OpenVPN routing problems

I am configuring my OpenVPN server and my idea was to make different subnets for different needs: My main subnet for unprivileged DHCP users is 10.110.131.0/24 On server it is configured that way: ...
0
votes
0answers
18 views

OpenVPN client: override conflicting local IP address assigned by a provider's server

I subscribe to a VPN service that allows up to 6 simultaneous OpenVPN connections to their servers located in various geographic locations. I'd like to have 2 OpenVPN connections open on my local ...
1
vote
0answers
10 views

Can't connect using client profile but can with standard config file and separated files

I have an openvpn server running and I can connect to it with the following client config file: client dev tun proto udp remote myremote 1194 resolv-retry infinite nobind persist-key persist-tun ...
1
vote
1answer
27 views

OpenVPN persist-tun option - what's the point?

According the OpenVPN 2 Cookbook: The persist-tun and persist-key options are used to ensure that the connection comes back up automatically if the underlying network is disrupted. These ...
0
votes
2answers
30 views

Can't connect to SAMBA over openVPN

Please help, i've tried searching the internet to solve this but i still could not make it work.. Server: Ubuntu 18.04 Client: OSX Mojave via Tunnelblick I'm trying to connect my client machine to ...
0
votes
0answers
11 views

Restricting network discovery through VPN

I have an issue in which I have a network of systems connected on an internal network that communicate system status to a gateway system. The gateway system is running a node.js webpage accessed ...
-1
votes
1answer
26 views

OpenVPN: Can't ping Client from local LAN of server

I have a problem and cannot solve it. Would be great to get help from you guys. I have following setup: LAN where server located: 192.168.0.0/24 OpenVPN server (on a raspery PI): 192.168.0.30 OpenVPN ...
0
votes
0answers
17 views

OpenVPN does not use provided port

I can't use the default 1194 port used by OpenVPN as it is blocked by firewall. I've change the port to 80 on server and started it, everything looks good there. On the client I've set the port to 80 ...
0
votes
0answers
27 views

How to push a local DNS resolving entry to client when an OpenVPN connection established?

I am using OpenVPN-2.4.6 clients and an OpenVPN-2.4.5 server that resides an OpenWRT(18.06.01) router. The OVPN client connects to the server by a public DNS name of the server(i.e pubName.my.router),...
1
vote
0answers
16 views

OpenVPN server accepting connections but not allowing traffic

I have installed Ubuntu 16.04 on a rooted Android box with Linux Deploy to make it a OpenVPN server. I have diligently followed the guide at https://nanashi07.blogspot.com/2017/...id-device.html and ...
0
votes
0answers
13 views

OpenVPN - How to redirect all http requests?

I have an OpenVPN server on which I'd like to redirect all HTTP requests to a certain web server. In other words, if one client tries to access (for example. Google.com) they should be redirected to ...
0
votes
1answer
21 views

IP address visibility when connecting through a VPN

Client is connecting to Host A using OpenVPN. Client can now reach Host B (Routes created on Client machine by OpenVPN client) Host B can now reach Client (Routes manually created on Host B) When ...
1
vote
1answer
27 views

OpenVPN on AWS - no access to Internet

I seem to have encountered a strange problem with configuring OpenVPN on an AWS EC2 instance (Ubuntu AMI). Connection gets established, two-factor authentication passes, but once connected, the client ...
0
votes
0answers
24 views

Openvpn dont forward internal subnet traffic

I'm using openvpn (with webmin and ubuntu 18.10) and the traffic is not forwarding between subnets =[ Openvpn is creating a route table with a wrong (i think) gateway I need 2 (or more) subnets with ...
1
vote
0answers
25 views

Regulate OpenVPN users' access to specific websites

More specifically, I push the route for 5 websites to the clients via the server config. However, I would like to block CLIENTS's access to one of these websites on an ad-hoc basis. In order to ...
0
votes
0answers
12 views

openvpn (webmin) internal routing dont forwarding (wrong gateway?)

I'm using openvpn (with webmin and ubuntu 18.10) and the traffic is not forwarding between subnets =[ Openvpn is generating a route table with a wrong (i think) "gateway" I need 2 (or more) subnets ...
0
votes
0answers
38 views

Route only SSH traffic through OpenVPN

I have a OpenVPN server running on AWS and we would like all traffic to go out the end users internet but if they are connected to openvpn, and they are using SSH to the AWS servers I would like that ...
2
votes
1answer
50 views

Openvpn with TCP setup, but failed to connect through another client from Centos

I created two different server, Server A is for openvpn server, Server B is the client. Below is my client information. client tls-client ca /etc/openvpn/ca.crt cert /etc/openvpn/easy-rsa/keys/...
0
votes
0answers
30 views

How to Connect to a TP-Link OpenVPN Server from a DD-WRT Router

I currently have an Archer C1200 setup as an OpenVPN server which is located on a network with a Public IP. I also have another router with an OpenVPN DD-WRT firmware behind a Private IP Address. I ...
1
vote
1answer
47 views

yum : Installing openvpn on centos not available

I just installed a centos version on AWS. But I am not able to install openvpn. When I try: sudo yum -y install openvpn I get this error message: Geladene Plugins: fastestmirror Loading mirror ...
-1
votes
0answers
34 views

Can't establish Point-to-Site OpenVPN connection to Azure (keeps resetting)

Subject. Can't figure out what's happening. Looks like Azure gateway keeps resetting the connection but no idea why. Can't find any logs in Azure to check either. Config file downloaded from Azure, ...
2
votes
1answer
39 views

How to add new internet gateway to existing openvpn network?

I have been providing my friends with censor-free internet access through my server via a OpenVPN network. Now that I have more virtual servers at different locations, how can I add them to my network?...
1
vote
0answers
34 views

Forwarding packets across network to OpenVPN server clients

I've been unable to resolve this myself and really need some help as my networking knowledge isn't the strongest. Setup: Flowchart of network I want to be able to connect to the 10.8.0.2 client that ...
0
votes
0answers
79 views

OpenVPN: Some users are having “TLS Error: TLS key negotiation failed to occur within 60 seconds”

I have an OpenVPN server (setup using Pritunl with its default settings), everything's working fine for all users except for some of them (could reproduce it with only one client) not being able to ...
2
votes
1answer
66 views

OpenVPN reconnect fails, manual restart works

I have set up an OpenVPN server on an Azure virtual machine. For the setup I used the script from https://github.com/Nyr/openvpn-install. I then connect to the server using sudo openvpn --config ...
3
votes
0answers
36 views

OpenVPN Traffic Control on CentOS 7

I'm trying to give my OpenVPN some bandwidth limitation. I would like for example for each user give 10Mb/s for upload and download. I tried the following answer I found (Automatically Call a Script ...
1
vote
0answers
20 views

Openvpn tun0 loses IP and route

My OpenVPN client setup just stopped working, maybe/likely linked to a recent update of Debian (testing). The end result is that the openvpn daemon looks happy and gives me the right syslog messages, ...
1
vote
0answers
22 views

Route OpenVPN client traffic to a proxy? (iptables magic needed??)

I have an OpenVPN server running on a VPS with OpenVPN client running on my router on my home network. I'm trying to route my clients traffic over a proxy after it reaches the OpenVPN server so my vps ...
2
votes
1answer
266 views

OpenVPN Full Routing Client Issue

I create a server on AWS with OpenVPN. Set it up, through the Admin page, I choose fully routing option and download the .ovpn I add three extra lines to client .ovpn; (I have to use it because ssh ...
1
vote
0answers
36 views

FTP server set behind VPN server

I have a question concerning setting up a FTP server on a VPN connected host. Basically I have a FTP server setup on my machine that's behind a VPN through the VPN providers client. Everything works, ...
1
vote
0answers
25 views

VPN connection to server with public IP that is part of remote subnet

I need to setup a connection between an Ubuntu Server 16.04 LTS running an OpenVPN daemon and multiple new Windows clients (Windows 10 Pro & 8.1 Pro). On the server there is a bridge between the ...
1
vote
1answer
72 views

Easy-RSA/ missing expected CA file

I can't connect to my Easy-RSA VPN server. I can connect using SSH; in the logfiles I read "error=CRL has expired". So, according to instructions found using Google I should run ./easyrsa gen-crl ...
1
vote
0answers
40 views

OpenVPN access server unkown IP addresses

I am seeing random IP addresses in my OpenVPN server logs - 20:38:08 2019 TLS Error: cannot locate HMAC in incoming packet from [AF_INET] xxx.xxx.xxx.xx:45345' 09:14:22 2019 TLS Error: cannot locate ...
0
votes
0answers
114 views

OpenVPN Connection very slow. Server located in Hong Kong, and Client Desktop is in New York

I have a OpenVPN vps server in Hong Kong. The specs is just 1 Core 2.2ghz CPU and 1GB of RAM. The connection is a 100mbit. But when I connect from my desktop in NY, my speed is only 1-2mbit only. I'm ...
1
vote
1answer
231 views

OpenVPN: UDP: Unknown error (code=10054)

I want to set up an OpenVPN Server on a CentOS 7 server. From my ISP, I only have public IPv6 address, the IPv4 is NAT-ed at the ISP, so I decided to configure my VPN to be based on IPv6. I followed ...
1
vote
0answers
69 views

Is it possible for OpenVPN Client to change IP address of “tun” device ignoring “ifconfig-push”?

I have set up static IP configuration for clients connecting to OpenVPN server running on AWS EC2 (CentOS) instance. Purpose of assigning static IP is to allot QUOTA using iptables to every client so ...
1
vote
1answer
43 views

How to bypass/exclude a port on OpenVPN client WITHOUT bypassing all incoming traffic?

I read this answer beforehand, it says: ip rule add from x.x.x.x table 100 ip route add table 100 to y.y.y.y/y dev ethX ip route add table 100 default via z.z.z.z The problem is, this will apply to ...
0
votes
0answers
57 views

OpenVPN without NAT or DHCP

I am trying to setup an OpenVPN server similar to LiquidVPN.com. WIth their VPN server when a client connects it receives the public IP address of the server. All network traffic to the public IP is ...
0
votes
1answer
28 views

OpenVPN leaks IPV6 in Ubuntu but not in android

First of all I would like to say that I am a complete beginner in this topic. I have been trying for several hours to allow my system to connect to my VPN (I have a raspberry pi with the basic ...
0
votes
1answer
46 views

Enforce usage of VPN-provided DNS servers on Ubuntu 18.04

On a vanilla Ubuntu 18.04 headless server, the OpenVPN client is used to connect to a remote network in tap mode. The address, default gateway, DNS servers etc. are provided by a DHCP server on the ...
0
votes
0answers
36 views

Configure networking to select best route for VPN hosts

I have an OpenVPN server and some clients that connect to it, for example: host1 (at location1) host2 (at location2) laptop (my travel machine) Is it possible to configure routing in such a way that ...
0
votes
0answers
25 views

OpenVPN client as gateway to its LAN

My problem is that my work LAN is using mobile internet provider to access internet, so none of the PC's neither our router is accessible from Internet. I'd love to have possibility to connect to ...
0
votes
1answer
55 views

Connecting multiple sites through OpenVPN

I am managing three distinct geographical sites which I would like to connect using a central OpenVPN server. My idea would be to have a network device on each location connect to the OpenVPN server ...
1
vote
1answer
36 views

Resolve specific domain to localhost on Ubuntu and OpenVPN

I have a PC connected to my ubuntu OpenVPN server. what I'm trying to do is making google.com resolve to my IP address instead of Google IP address when I browser google.com on my client pc. ...
1
vote
0answers
33 views

OCserv error: unknown user

I'm on ubuntu 18 and these are the lines causing the issue while starting up OCserv run-as-user = nobody run-as-group = daemon I've tried a lot of other combinations but I'm out of luck
2
votes
1answer
219 views

OpenVPN and routing/iptables

I want to setup an OpenVPN with route on my Xubuntu server (router/gateway/share/dhcp/dns/wifi/switch... all in one). WAN - enp4s0f1 - 77.xxx.xxx.xxx LAN - br0 - 10.0.1.1 VPN - tun0 - 10.0.2.1 I ...
1
vote
0answers
85 views

How to get OpenVPN to listen to tcp/ipv4 and tcp/ipv6?

I am using OpenVPN 2.4.6 x86_64-redhat-linux-gnu. [root@server sysconfig]# cat /etc/openvpn/server.conf proto tcp-server dev tun ifconfig 10.8.0.1 10.8.0.2 secret static.key netstat says it is ...
0
votes
0answers
36 views

OpenVPN Tunnel blocking inbound web connections

I have a server running a OpenVPN client to route all internet traffic via the VPN. I have excluded the local subnet from the tunnel and this is all working well so far. The server also has a ...