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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
7k views

openVPN TLS Error: TLS handshake failed but was previously working

I have an openvpn configured on my raspberrypi, I followed this guide: https://juncotic.com/openvpn-easyrsa-3-montando-la-vpn/ and everything was working fine for weeks. Suddenly a cupple days ago the ...
PAH's user avatar
  • 11
1 vote
0 answers
36 views

Port forward from router to pc with openvpn [closed]

so I want to port forward from my router to my computer which is using openvpn. The computer is running Kubuntu, before I did the same thing with windows, installed the openvpn client and ran it, and ...
tatejuan's user avatar
1 vote
1 answer
810 views

OpenVPN client connection failure (2.5.3)

I am running OpenVPN server 2.4.11 and have many clients connecting from all over the place, using client version 2.4.6. Now I am unsuccesfully trying to connect a client, running 2.5.3. I ran into ...
StackExchangeGuy's user avatar
1 vote
1 answer
482 views

Server isn't responding to pings routed via vpn

I've server and virtual machine on it. I'm hosting OpenVPN on this server. The virtual machine has two interfaces: ens18 - for public IP, ens19 - for an internal network. I'm trying to ping 10.2.0.3 (...
uQlel's user avatar
  • 11
1 vote
1 answer
1k views

Openvpn and Firewalld communication between zones

I spent a couple of hours today attempting to setup my vps in germany (runs centos8 and openvpn client+server) for this configuration: My vps has 3 NICs eth0 with public ip address 1.2.3.4 tun0 with ...
Stefano Zaniboni's user avatar
1 vote
0 answers
310 views

Force all traffic through vpn

Goal: force all traffic through VPN only. Client: Windows in VM VPN: OPENVPN I delete the 0.0.0.0 route in the client. I make a route for the destination of my VPN server with my LAN default gateway ...
killdozer's user avatar
1 vote
0 answers
509 views

Best way to connect to L2TP VPN from container running in GCP

I've built an ubuntu container locally that uses OpenConnect to establish a connection to a customer's AnyConnect VPN server. They also have an L2TP connection available as well. After OpenConnect ...
FaultyJuggler's user avatar
1 vote
1 answer
2k views

OpenVPN and NGINX on same server showing clients real IP and not VPN public IP

We have a server with NGINX and OpenVPN set up on the same system. OpenVPN client successfully connects and gets the OpenVPN servers public IP address when visiting external internet resources as ...
James's user avatar
  • 25
1 vote
1 answer
654 views

How to route from one server to another with Pritunl?

I have a Pritunl installation (free version) with two organizations and two servers. CustomerOrg is attached to CustomerServer that creates the subnet 10.0.1.0/24. StaffOrg is attached to StaffServer ...
albertedevigo's user avatar
1 vote
0 answers
164 views

OpenVPN - No internet after connection

I have a OpenVPN Server on a CentOS 8 machine that has firewalld and nftables. I have set up OpenVPN with this script: https://github.com/angristan/openvpn-install The OpenVPN Client is a Windows 10 ...
smaxx1337's user avatar
1 vote
0 answers
174 views

tun0 interface (created by opevpn) only useable as root

If I do curl ipinfo.io --interface tun0, it will hang forever. but if I do sudo curl ipinfo.io --interface tun0, it will work as expected. How can i make tun0 useable by non root users? tun0 is ...
Gradyn Wursten's user avatar
1 vote
0 answers
381 views

Docker Swarm, how to access private services on overlay network from an external client

I'm building a micro-service system based on Docker Swarm. Some of these services must be accessible for company's internal use only, like administrative dashboards, DBs, etc. Services are ...
tmm360's user avatar
  • 111
1 vote
0 answers
218 views

OpenVPN/iptables: Routing of Multi-Client-Side local networks

We set up two open VPN instances on a cloud server: 6: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100 inet 10.230.0.1 peer 10....
rwenergy's user avatar
1 vote
0 answers
222 views

OpenVPN MULTI: bad source address from client [192.168.0.x], packet dropped

I have a problem with the openVPN server (Debian 10), I know this question has already been asked, but nothing helped me. I connect to my openVPN server on the local network, everything works fine, ...
Sergei Hronov's user avatar
1 vote
0 answers
520 views

OpenVPN client connects, but no internet access

When i'm trying to connect OpenVPN client from Windows 10, it works fine. But when i'm trying to connect OpenVPN from ubuntu VDS. It's succesfully connects, but no internet access on ubuntu VDS. Here ...
borz457's user avatar
  • 11
1 vote
2 answers
431 views

Double VPN not working

I have setup OpenVpn in my raspberry pi and it works correctly, I can log in to my raspberry pi from my cellphone. I also installed a paid VPN (Windscribe) to my raspberry pi too. The problem comes ...
tseres's user avatar
  • 11
1 vote
0 answers
45 views

Openvpn TAP client different gateway than local network / How to allign

I have an OpenVPN client setup on my local accessible media server and it is mainly functioning as it should. However, some LAN clients have problems with accessing the media server locally, as they ...
WalkerJunker's user avatar
1 vote
1 answer
187 views

OpenVPN AMI's built with packer incorrectly use the old public IP from the build in generated config files

When I build AMI's using Hashicorp Packer, based off the AWS OpenVPN AMI, the public ip address from the first instance performing the build will persist in later usage of the AMI when it should ...
openCivilisation's user avatar
1 vote
1 answer
655 views

openvpn: client-connect script cannot write to /tmp file

I have the following in my server.conf file... client-connect /etc/openvpn/scripts/client-connect.bash client-connect.bash so far looks like this... #!/usr/bin/bash touch /tmp/testfile.txt sleep 10 ...
user1751825's user avatar
1 vote
0 answers
3k views

OpenVPN Port Forwarding

My current setup with example values: local IP: 192.168.1.42 (server) application on port 6000 on this machine (server) public IP: 80.1.2.3 (router) port forwarding from 80.1.2.3:80 (router) to 192....
befaro's user avatar
  • 43
1 vote
2 answers
2k views

How to access subnet from Open VPN server (Ubuntu), VPN client RouterOS?

Here's the setup: [OpenVPN server] --- WAN --- [RouterOS client] --- [Local subnet client] 10.5.0.0 10.5.0.14 10.10.10.2 $ route -n Kernel IP routing table ...
inbxa's user avatar
  • 11
1 vote
1 answer
380 views

OpenVPN - client access to VPS private network

I have 3 VPS servers at OVH. I created a private network, where all servers have public IPv4 and private IPv4 address. I'm trying to give a user access to other VPS servers via private address from ...
Sebak's user avatar
  • 11
1 vote
0 answers
27 views

Is possibile to firewall an OpenVPN tunnel using openvpn settings?

I have to install an openVPN server in a windows environment for a specific HTTP service. openVPN-server <---> openVPN-client VPN-TUNNEL 10.8.0.1/24 VPN-TUNNEL 10.8.0.2/24 ...
Tobia's user avatar
  • 1,322
1 vote
0 answers
58 views

OpenVPN: creating layer 2 switch

I've got a server (OS Ubuntu Server) with 2 interfaces: eth0 & eth1: eth0 is connected to another server (Server2), which is available through the PPPoE connection. eth1 is connected to the ...
Alexander Sunvas's user avatar
1 vote
0 answers
1k views

OpenVPN with IPv4 and IPv6

I’m creating a server with OpenVPN to mask my IP address using this article from DigitalOcean. The setup worked perfectly when I configure Redirect All Traffic Through the VPN, all my accesses on ...
Tom's user avatar
  • 289
1 vote
0 answers
2k views

OpenVPN sets wrong metric on TAP interface

OpenVPN client: 3.2.1(1180) (Windows 8.1 x64) TAP1 v9 Windows - metric manually set to 1000, just in case Realtek RTL8192CU Wireless LAN 802.11n - main network card, metric manually set to 10 OpenVPN ...
1000Gbps's user avatar
  • 121
1 vote
1 answer
2k views

How to connect multiple clients to an OpenVPN server using static key auth so they see each other?

I have an openvpn server with three clients connected to it using static key authorization. I need to connect them in a way that the clients can "see" each other. So, for example, I can ping ...
Kuba Orlik's user avatar
1 vote
1 answer
16k views

How to push a gateway and route to an OpenVPN client?

I need to setup a OpenVPN network which will probably grow to a serval hundreds of clients in the next few months. Some of the clients are servers and others are devices that need services, hosted on ...
CodeNinja's user avatar
  • 325
1 vote
1 answer
329 views

Why is OpenVPN routing traffic for one specific IP wrong?

I have the following topology where x differs per site: [OpenVPN client] < - > [OpenVPN Access Server] < - > [pfSense router] < - > [IPSec connected sites] 172.27.244.21 10....
CodeNinja's user avatar
  • 325
1 vote
2 answers
94 views

I have an issue with configuring openvpn server and running it

Server Log Options error: Unrecognized option or missing or extra parameter(s) in server.ovpn:4: cert (2.4.9) Use --help for more information. server configuration server 192.168.1.0 255.255.255.0 ...
Chacko Mathew's user avatar
1 vote
0 answers
589 views

limit bandwidth per IP Linux ubuntu openVPN

I am a newmember in config ubuntu server and I installed an OpenVPN on a ubuntu 18.04 linux server, now I want to limit the server bandwidth with 2Mbit per IP for users that connect to the OpenVPN, ...
mohsen's user avatar
  • 113
1 vote
0 answers
34 views

Azure - GCP - connection via Openvpn

I need to create connection between GCP and Azure cloud. There in Open vpn connection created between GCP and Azure cloud, OpenVPN azure IP is 10.5.1.5. In Azure I have core vnetA and satelite vnetB. ...
tester81's user avatar
  • 111
1 vote
0 answers
1k views

Routing OpenVPN to Hyper-V Internal Switch

I have an OpenVPN server running on a Windows Server that also has a Hyper-V Virtual Machine I'd like to connect to from the OpenVPN client connection. The OpenVPN server is using the 10.8.0.0 subnet ...
jaco6's user avatar
  • 11
1 vote
1 answer
688 views

How should I create an IPIP tunnel between 2 OpenVPN servers?

I have 2 CentOS 7 servers which both of them have OpenVPN installed on them . I want my clients on the first server to be able to connect to the OpenVPN server and then I want their network traffic to ...
Mr Pro's user avatar
  • 33
1 vote
2 answers
1k views

OpenVPN server with 2 Public IP

This server has 2 IP addresses as follows. 11.22.22.44 : primary address & exit ip address 11.22.33.55 : secondary address, non-exit ip address, used for openvpn client to connect to i can ssh ...
Arthurency's user avatar
1 vote
0 answers
1k views

How to create a socks5 proxy port via an openvpn?

We use an openvpn tunnel to access the internal APIs, but the openvpn doesn't allow us to connect to any external sites which is a bit of an issue when I need to call external APIs in my service. ...
Aero Windwalker's user avatar
1 vote
0 answers
1k views

How can I authenticate with both Synology OpenVPN + Radius Plugin?

I would like to have a double authentication: Certificate based authentication in OpenVPN as well as User/Password authentication via the Radius-Plugin provided on the server (Synology NAS DS2016play ...
DaCapitalist's user avatar
1 vote
0 answers
656 views

OpenVPN using UDP is terrible slow over cellular networks

I have a weird problem with OpenVPN for around two weeks now. I am running the OpenVPN server on a Virtual Server (German Hoster netcup) on UDP port 1194. Using this setup clients connecting through a ...
Julian K's user avatar
1 vote
0 answers
213 views

AWS LightSail OpenVPN + ASUS RT-3200 - TLS Error: Key negotiation failed

Using https://github.com/angristan/openvpn-install i have installed openvpn on AWS Lightsail Instance (Ubuntu 18.04 LTS). My server config file is as follows: port 33434 proto udp dev tun ...
Saad Bashir's user avatar
1 vote
0 answers
58 views

OpenVPN Connection to server with 2 gateways

I have problem with routing (i think it's routing) on Debian server. I got 2 routers working as gateways (one of them is public). VPN Clients conecting to Router1 but getting TLS Handshake because of ...
tomuszom's user avatar
1 vote
0 answers
3k views

nftables - how do I route specific website via specific interface?

I have built my own debian 10 router for my house, principally so its an always on VPN router using openvpn, also acting as DHCP server, and encrypted DNS using dnscrypt-proxy. Everything has been ...
adam_c's user avatar
  • 11
1 vote
1 answer
2k views

Wireguard VPN + OpenVPN VPN leads to DNS resolution failure for the OpenVPN tunnel

I have two VPNs - one via wireguard for my general internet traffic, one via openvpn (for work). DNS resolution over openvpn is only partly working. With both tunnels up: A) systemd-resolve needs to ...
fridgepolice's user avatar
1 vote
4 answers
2k views

Routing Internet Traffic through VPN tunnel

I am relatively new to the topic, so please do not mind if I ask simple (or stupid) questions. I own a Raspberry Pi 3B and installed and configured an OpenVPN server on it. Therefore I followed this ...
Pat Zio's user avatar
  • 11
1 vote
1 answer
2k views

How to connect to socks tunner through openvpn server?

I have some socks5 proxy and I am able to create tunnel using https://github.com/ambrop72/badvpn/wiki/Tun2socks. Also I have openvpn server on the same machine. The question is how to implement ...
iwex's user avatar
  • 111
1 vote
1 answer
581 views

OpenVPN: can't seem to route additional traffic through VLAN

Here's our network: we have various clients working from home with dynamic IP addresses, so they're impossible to create firewall rules for we have a number of servers at the same hosting provider ...
Sören Kuklau's user avatar
1 vote
0 answers
1k views

Connect to Openvpn server through http proxy which has a dynamic ip

My openvpn client will have to pass through a http proxy server before connecting to the openvpn server. But the http proxy is on a dynamic ip. From this tutorial - https://openvpn.net/community-...
Nazia Jahan Trisha's user avatar
1 vote
1 answer
238 views

Cannot Access Anything on Server through VPN after reboot

I've been using OpenVPN for a year and a half on this server, and never had any issues. Today, I restarted the server (I do this about once a month), and suddenly I can't access webpages or file ...
ChrisMM's user avatar
  • 61
1 vote
0 answers
402 views

Why does OpenVPN work from iOS but not from desktop?

I have setup an OpenVPN server on Ubuntu 18.04 following this guide: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-18-04 The main change from that guide ...
Stoz's user avatar
  • 111
1 vote
0 answers
2k views

Ubuntu after bridging network no internet

I am running an Ubuntu server with OpenVPN and apache on it (192.168.178.30). The FritzBox (Router) is 192.168.178.1. OpenVPN is is bridge mode. When I start the bridge using the OpenVPN shell script (...
Kevin Lieser's user avatar
1 vote
0 answers
147 views

OpenVPN server cluster - CentOS 7 - 2 VM's with Virtual IP - UDP 1194

I need to configure an ha cluster for OpenVPN server. I'm using 2 VM's behind a firewall with a public static IP. I tried to use pacemaker + corosync with virtual ip. I can connect usign SSH using ...
user3254850's user avatar

1
26 27
28
29 30
66