Questions tagged [openvpn]
OpenVPN is a free and open source software SSL VPN solution. It allows secure point-to-point or site-to-site connections with routed or bridged configurations and remote access facilities.
1,919
questions
0
votes
0
answers
52
views
Can access client through access server, but the client cannot connect to external hosts
I would like to access my client via SSH through my access server. Therefore, I forward port 667 on my access server's WAN IP to port 22 of my client's VPN IP. However, the connection times out, with ...
0
votes
1
answer
285
views
Login on server fails with OpenVPN client
I was able to setup a new OpenVPN Server behind a Fritz!Box.
I forwarded the Port 1134 to an internal Windows Server 2019.
The local NIC is 192.168.2.9 for the forwarding
There is currently no ...
1
vote
0
answers
236
views
Why do my OpenVPN iptables rules cause a port forward to hang?
I have a VPS running an OpenVPN Access Server and a Raspberry Pi running an OpenVPN Client. The client is connected to the server, and I would like to access the client via SSH through the server. ...
2
votes
0
answers
857
views
No connection to client network via OpenVPN site-to-site connection
I am trying to connect two of my homes (and maybe more than that later) via an OpenVPN site-to-site connection. My goal is so that all clients on all sites are able to talk to eachother.
But for some ...
0
votes
1
answer
2k
views
OpenVPN: cannot access remote client from devices on same local network as server
This is basically the problem here but reversed. I have a remote OpenVPN client which connects to my server and registers itself with the address 10.1.0.29. This address is easily accessible from the ...
1
vote
1
answer
800
views
Synology client connecting to OpenVPN server?
I have setup an OpenVPN server on a Cloud VM using easy-rsa. To create my new client I ran this command:
./easyrsa sign-req client client
Then I used the default example to get the ovpn configuration:...
1
vote
1
answer
77
views
VPN only working for some users
I have setup a VPN for my office. The configuration is as follows:
Installing OpenVPN server on one of the office servers (Ubuntu 20.04 server) using port 1194 and protocol UDP.
The port is forwarded ...
1
vote
2
answers
7k
views
How do I configure split tunneling with Open VPN
I have Open VPN running on an AWS Linux 2 server with and running the client app on Android.
How do I set up split tunneling?
1
vote
1
answer
3k
views
Why isn't OpenVPN starting?
I've got OpenVPN 3.3 installed on Windows 11, however following updates this morning, it is no longer starting up.
PS C:\Users\Sled> cd 'C:\Program Files\OpenVPN Connect\'
PS C:\Program Files\...
0
votes
0
answers
2k
views
Problems with OpenVPN installation on Windows 10
When I was trying to install OpenVPN, i received the next message:
OpenVPN Connect Setup Wizard ended prematurely. OpenVPN Connect Setup
Wizard ended prematurely because of an error. Your system has ...
1
vote
0
answers
189
views
Make systemd's network automount to conditionally require or bind to openvpn unit
I have a server, say, at my home, let's call it nas.local, so when I'm away, I can make an OpenVPN connection to the home network, and then mount some directories from my nas server:
my "client&...
3
votes
0
answers
2k
views
Per-application split tunneling with self-hosted VPN or proxy
What's the easiest way to split tunnel individual processes, not just CIDR ranges, with self-hosted VPNs or SOCKS proxies? Mainly applies to Windows, but it would be nice if it works similarly on ...
0
votes
0
answers
318
views
Connect to AWS VPN?
I am trying to connect to a VPN I created in AWS. I tried with TunnelBlick and the AWS VPN Client, but I couldn't succeed.
I am using OSX Monterrey, I installed OpenVPN with brew
I am getting the ...
4
votes
2
answers
20k
views
OpenVPN: how to suppress "WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this"
In OpenVPN GUI, I am getting the red message
WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this.
I do not want to always re-type my password ...
0
votes
1
answer
3k
views
OpenVPN not connecting; TLS handshake fail
I'm attempting to set up remote access to my LAN, so on my tplink router I've set up OpenVPN as per this guide. I also registered for tplink's DDNS service thingy and it gave me a name.tplinkdns.com ...
0
votes
0
answers
926
views
How to use remote desktop connection after Open VPN setup from TPLINK?
I have a TP-Link router that allows me to create OpenVPN directly from the router (192.168.0.1). There are 100s of videos online on how to set up the VPN, export the configuration file, and install ...
0
votes
1
answer
652
views
OpenVPN server to connect clients to second network
I have two isolated home networks. One connected to the internet, and a second one for disconnected IOT devices.
I connected an Ubuntu server to both of these networks using separated network cards.
I ...
0
votes
0
answers
1k
views
openvpn server does not route traffic from clients to private network
UPDATE:
it should have been 10.100.0.0/24 instead of 10.100.0.0/32. now it works
ORIGINAL QUESTION:
i have multiple hosts running in private network 10.99.0.0/24. one of them is my openvpn-server and ...
1
vote
0
answers
3k
views
OpenVpn TLS Error: TLS handshake failed from some Isp
I set up openvpn for my service server. Everything is fine in the test environment, but when I run deloy, I see that there is a large number of users with errors:
Tue Jun 14 08:35:05 2022 us=6947 xxx....
0
votes
1
answer
641
views
Can't connect to home computer that is on a VPN
I am trying to connect to my home computer thru my home router vpn from my iPhone on LTE.
My home Netgear router has its OpenVPN connection enabled. I can VPN into my home network and see my home ...
0
votes
1
answer
4k
views
Password entry required for prompts keep appearing in terminal after installing openvpn
I have installed openvpn client in my ubuntu 20.04 machine. I have to connect to an openvpn server with CA password. It keeps on propmpting me for the CA password even if I am not connected to the vpn....
1
vote
2
answers
3k
views
Is it possible to use one .ovpn profile for multiple remotes?
How can i configure OvpnServers/.ovpn profiles to have the ability to connect to two remote servers?
Goal: I want user to be able to have one .ovpn profile to connect to OVPn Server A or OVPn Server B....
0
votes
0
answers
85
views
Some apps are not working with double VPN tunnel
Im using 2 VPN app simultaneously on my Macbook Air m1, one (OpenVPN) for my job (several corporate services) and second (ProtonVPN) - for my personal purposes (some of music services are not working ...
2
votes
2
answers
6k
views
How to use SSH and VPN in combination in single ssh command?
In my setup, first I need to connect to a VPN and then I am required to ssh into a server.
Currently I do like this:
openvpn myconfig.ovpn
ssh myuser@myserver
which makes all my network traffic go ...
0
votes
1
answer
626
views
Specify openvpn/wireguard server outbound ip
I have a VPS with a interface eth0, that has 2 IPs, 10.0.0.3 (default) and 10.0.0.5. The 2 IPs are mirrored to external IP by ISP, 1.0.0.10, 2.0.0.20. (Google and Oracle Cloud have the similar ...
1
vote
0
answers
4k
views
How to setup nginx as reverse proxy to openvpn client ? (nginx 499 timeout error)
My network architecture is:
srv_pub (reverse nginx proxy) srv_target
+-----------------+ +---------------------+
Internet | VPS | ...
2
votes
2
answers
1k
views
Specify openvpn/wireguard server outbound interface
I have an openvpn/wireguard server on my VPS, and my VPS has 2 interfaces eth0/eth1, which both can access the Internet. But I want all my vpn outbound traffic to go through eth1. So how can I do it?
0
votes
1
answer
80
views
connect vps from openvpn located the same vps
i have openvpn at vps.
also that vps has an apache and some services (from browser) which i'd like to use only from my own ip or when i've connected to my openvpn.
openvpn ip = vps ip
vps has iptable ...
0
votes
1
answer
2k
views
Why can't I connect to my VPN's private DNS servers on some wifi networks?
I usually connect to the Internet using a VPN (via the openvpn client), while also configuring my DNS to use my VPN's private DNS servers as well. But my library's public wifi, I'm only able to ...
0
votes
0
answers
160
views
Route Domain through vpn doesn't work
I have an openvpn server at home.
I want to route a domain over my vpn. The domain has the same ip add. as the vpn server.(My home ip)
When i add: route add 193.80.102.178 MASK 255.255.255.255 10.8.0....
1
vote
0
answers
312
views
Access WSL2 distro's VPN network from Windows 11 host
I am running an debian 11 in WSL2, and I am connecting to a VPN network using openvpn. Within the distro (from CLI) I can reach the desired remote hosts, but I cannot reach them from Windows.
Here is ...
0
votes
0
answers
123
views
Routing from OpenVPN client to main router: How?
My Pi/OpenVPN settings:
IPv4 address for tun0: 10.8.0.1
IPv4 address for eth0: 192.168.222.20
IPv4 address of router: 192.168.222.1
The OpenVPN client (smartphone) needs to see the router for a ...
0
votes
0
answers
168
views
How to make a Windows local group default for new users?
I have created a local group on Windows Pro ("OpenVPN Administrators"). I want every new user that gets created on the machine to have this local group. How can I achieve this?
I have ...
0
votes
1
answer
2k
views
Can't route traffic through home VPN
Small disclaimer: I'd much rather ask this question in forums.openvpn.net but it appears that the registration page is busted...
I'm trying to set up my home router (an Asus RT-AX55) to act as a VPN ...
0
votes
0
answers
542
views
PiHole and OpenVPN not working: tun0 doesn't even exist
I installed OpenVPN and PiHole. It works independently, but not together. I want to block stuff that comes through OpenVPN.
I tried the official guide. But in my case (Ubuntu server for Pi), there is ...
0
votes
1
answer
851
views
OpenVPN - name resolution between connected clients
I am looking for a solution with which distributed clients can easily reach each other via the internet.
For this I have set up an OpenVPN server to which all clients connect.
If I connect myself to ...
0
votes
1
answer
1k
views
How to forward openvpn/wireguard to another wirdguard interface without modifying global route table?
I have one wireguard interface wg_vpn, but I don't want it to be global, so I add the line "Table = off" to the wg_vpn.conf to prevent wg-quick to modify the route table.
I also have an ...
0
votes
1
answer
200
views
Openvpn fails running dhclient script
I have an OpenVPN setup running in bridge mode (tap).
I have to run dhclient tap0 manually after connecting to vpn.
I want to automate this, so I added those lines in my ovpn conf :
script-security 2
...
1
vote
0
answers
138
views
OpenVPN multiple gateway issue (server can't access new client gateway's)
By default, OpenVPN gateway is 10.8.0.x, i want to add 10.8.1.x gateway additionally.
the problem :
Clients with 10.8.0.x and 10.8.1.x ip can ping the server and access via ssh. In addition, clients ...
0
votes
0
answers
1k
views
DNS setting for openVPN for using remote desktop
I have this error when make mac OSX remote desktop connect via VPN(by openVPN) to remote desktop server(windows)
mac OSX(local) -> openVPN(on rent VPS service) -> Windows10
error is here below
...
1
vote
1
answer
4k
views
Need certificate (.crt file) but OpenVPN only provides a config (.ovpn) file?
When I try to configure a new vpn connection in Ubuntu, it's asking for a CA certificate (.crt) file but I only had the option of downloading a .ovpn file from the OpenVPN portal.
Can I get a CA ...
4
votes
1
answer
14k
views
OpenVPN connects but IP doesn't change
I setup an OpenVPN server on a personal AWS EC2 instance, and am trying to connect to it from an Ubuntu 14.04 client. (I had to update the server for minimum version of TLS 1.0 to get the handshake ...
0
votes
0
answers
16
views
Openvpn connection times out whenever I try to connect to university intranet with given config file
I am trying to use openvpn to connect to my schools intranet. They provide a config file that I have imported but whenever I try to connect the session times out. Does anyone know what the issue might ...
2
votes
2
answers
2k
views
Registering OpenVPN client addresses with DNS
I am running OPNSense on my home router and have configured OpenVPN on the device, allowing me to connect to my home network from anywhere in the world.
I am also running a BIND DNS server on my home ...
0
votes
0
answers
3k
views
Upgrading OpenVPN 2.4.7 to 2.5.6 results in frequent disconnects
When using OpenVPN 2.4.7 on my server (Ubuntu Server 20.04) and connecting from a 2.5.6 client (also Ubuntu 20.04), I can connect with no issue. However, when I try to use OpenVPN 2.5.6 on the server, ...
0
votes
0
answers
719
views
OpenVPN clients with same subnet in a client to client environment
I am currently using a client-to-client function of the openvpn to establish a connection between the clients:
https://openvpn.net/community-resources/expanding-the-scope-of-the-vpn-to-include-...
0
votes
1
answer
396
views
IPSEC tunnel lan to lan with VPS in the middle
I have an ipsec tunnel between two points with different static public ips, when the tunnel is stablished, each machine see the others with the private ip.
The issue is that I want to put a VPS in the ...
0
votes
1
answer
4k
views
OpenVPN: Only route a specific IP addresses through VPN doesn't work for some websites
I wrote
route-nopull
route myexternalip.com 255.255.255.255
in .ovpn config file as it is shown on many tutorials. And for myexternalip.com it works well, but for some other sites - does not. For ...
0
votes
0
answers
684
views
Trying to prevent IPv6 leaks on OpenVPN server results in no internet access
I've had a working IPv4 OpenVPN server for some time now, and in order to stop IPv6 traffic on it I added an IPv6 pool to my server and pushed a route for the public IPv6 range:
server-ipv6 2001:db8:0:...
1
vote
0
answers
452
views
OpenVPN: No internet when connected (Mac)
I installed the OpenVPN client on my MAC. When connecting there is no internet.
Here is what I have observed:
On other clients (Android) it works with the same OpenVPN server
When I go to network ...