Skip to main content

Questions tagged [openvpn]

OpenVPN is a free virtual private network (VPN) client and daemon.

Filter by
Sorted by
Tagged with
1 vote
0 answers
29 views

Forcing OpenVPN process to run with a specific group using nmcli

I am struggling with this script of mine that should prepare a secure VPN connection with VPN kill switch and I need some help. What I am trying to do (in general): My goal is to set up a very strict ...
PleaseLetThisWork's user avatar
0 votes
0 answers
31 views

Why does running openvpn fail here?

I am following https://protonvpn.com/support/linux-openvpn to use it on NixOS. First, install openvpn and openresolv in a nix shell $ nix-shell -p openvpn openresolv these 4 paths will be fetched (3....
Tim's user avatar
  • 103k
0 votes
0 answers
14 views

Openvpn Routes are not adding to the server when client is connecting

Can't find out why routes are not adding. Here's my configs: /etc/openvpn/ccd/kostroma ifconfig-push 192.168.200.38 255.255.255.0 iroute 10.1.0.0 255.255.255.0 iroute 10.1.3.0 255.255.255.0 iroute 10....
emoxam's user avatar
  • 101
0 votes
1 answer
38 views

open vpn - not working but also dont returns any error

i have both open vpn server and client. the client is my windows pc and the server is a ubuntu 22 VPS. im running openvpn on the serverside with this command : openvpn --dev tun --ifconfig 172.16.0.1 ...
ama coder's user avatar
0 votes
0 answers
10 views

How to configure the resolver to work with openvpn?

My system is Debian 11, which I haven't changed much concerning the network, except I use OpenVPN to connect to my work. The ip address comes from the router via DHCP, and it sets up two nameservers ...
j4nd3r53n's user avatar
  • 717
0 votes
1 answer
43 views

systemd service for openvpn vs networkmanager-openvpn

I am using Yocto for a rpi4 target. I was using a systemd service to activate my VPN over openvpn at boot: [Unit] Description=OpenVPN connection to .ovpn file After=network.target [Service] Type=...
void_brain's user avatar
1 vote
0 answers
52 views

OpenVPN Access Server Stuck on License Agreement

I followed the steps from the OpenVPN Access Server Portal to install OpenVPN Access Server on an Ubuntu Server 22 headless VM. After installing and automatically configuring the service, I went to ...
Bob Smith's user avatar
  • 111
1 vote
2 answers
89 views

Can't use OpenVPN as client on NetBSD, route add command fails

I am trying to use OpenVPN as a client under NetBSD using this command: openvpn --client --config /etc/openvpn/config.ovpn I am getting the following output and errors: localhost# openvpn --client --...
user1359448's user avatar
0 votes
1 answer
22 views

OpenVPN client - DNS will get set only on the 1st launch

OpenVPN client and systemed-resolved. When I run OpenVPN client, it'll get connected and will be able to load the target resources properly only during the very first launch, after reboot. On all the ...
barugaggi's user avatar
0 votes
0 answers
24 views

OpenVPN client won't load a target website. On Android and Windows everything works

I've been given an OpenVPN file to access certain domains which, without it, won't load. The clients in both Android and Windows with this very file work well. Whereas on Linux the target domains won'...
barugaggi's user avatar
1 vote
1 answer
183 views

How to setup a dedicated NordVPN router and gateway on linux?

The problem is this: The only officially supported router configuration for nordvpn is to use a static config file and openvpn. That doesn't work for me. The question: Using linux, how does one setup ...
theOtherLukeN's user avatar
0 votes
0 answers
33 views

OpenVPN Linux client connection fails, but it is normal on Windows

Questions Hello guys: I bought a VPS and built my own OpenVPN server. I want to use it to fulfill some of my needs. Then I configured the client through various channels (including but not limited to ...
milkbro's user avatar
2 votes
0 answers
33 views

Endless loop when connected to OpenVPN

I connected my university-vpn via openvpn on Windows, Ubuntu and Manjaro. Windows worked instantly, no configuration was needed. When using any Linux-System, connecting to the vpn seems to work but ...
R. Polito's user avatar
  • 121
0 votes
0 answers
42 views

Can I connect multiple OpenVPN client connections to different VPNs, each accessed through socks proxy?

I have a piece of software, I'll call it "FooSoft" here, which needs to connect to multiple devices on networks protected by a variety of third party VPNs. Each VPN is independent and I have ...
crobar's user avatar
  • 223
0 votes
0 answers
41 views

Firewalld access from OpenVPN to ftp server

On my router I opened port 21 to FTP and server(Alma Linux 9)works on my public adress IP. In firewalld I set below rule where access has my public IP and it works. sudo firewall-cmd \ --...
ldybiec's user avatar
0 votes
0 answers
20 views

pushed openvpn client routes makes the http-proxy server to stop functioning, ip route advice required

I have both a proxy server and openvpn client running on an openWRT router, I have to setup a proxy server on the router and then connect the OpenVPN client running on the same router, because the ISP ...
osiaso 's user avatar
1 vote
2 answers
313 views

Allow SSH connection to machine connected to VPN

My problem: I am using Ubuntu 22.04 with a VPN from ExpressVPN set up using their cli tool, they also provide an ovpn configuration file, so I can tweak the configuration as I please while maintaining ...
Riccardo Barbieri's user avatar
0 votes
0 answers
39 views

How to start openvpn without any daemonization and log redirection?

I want effectively a debug modus, i.e. I do not want openvpn to fork I want all output in the stdout/stderr and nothing in various logs. How can I do that? I could stop forking with a --daemon=0, ...
peterh's user avatar
  • 9,838
0 votes
0 answers
96 views

Is it possible to configure NginX reverse proxy for udp Pritunl traffic?

Pritunl server configured on Ubuntu VM inside LAN with IP 192.168.1.20. Pritunl uses process: pritunl-web on 443 TCP port: tcp LISTEN 0 4096 *:443 *:* ...
linuxxoid's user avatar
  • 111
1 vote
1 answer
83 views

Exclude SSH and Webserver from OpenVPN connection

I have a server hosted outside that has a webserver and I access it using SSH, its ip is 111.111.111.111. The problem arise when I connect the server to a VPN using OpenVPN sudo openvpn XXX.ovpn(...
PercivallAkihiko's user avatar
0 votes
0 answers
53 views

Wireguard through openvpn

I'm a total noob in networking but need to connect 2 VPN. OPENVPN-CLIENT: Connected to cyberghost WIREGUARD: I use it to connect to my remote server I want wireguard to be routed through openvpn-...
T00rk's user avatar
  • 101
1 vote
0 answers
206 views

Cannot mknod tun file, /dev/net/tun inaccessible

I have successfully chrooted Fedora among other distros in my Android but I've run in a problem I cannot overcome. I am trying to use openvpn on a .ovpn file, however I am unable to open /dev/net/tun ...
JohnnyBoy's user avatar
  • 169
0 votes
0 answers
36 views

Inbound connections fail to connect after initiating OpenVPN connection

There is a cronjob on another box which is reaching out to me every minute; $ nc -lvnp 80 GET / HTTP/1.1 [snipped for brevity] I want to eventually relay the traffic over a VPN, so I've connected to ...
Dallas Hewitt's user avatar
0 votes
1 answer
222 views

** ERROR ** trying to launch openvpn3 : Failed preparing proxy: Failed to execute program net.openvpn.v3.sessions: Permission denied

I cannot figure out how it's possible that I'm getting "permission denied" as root (and as a normal user) when I launch openvpn3 on Ubuntu 23.10 : $ openvpn3 session-start --dco true --...
Marietto's user avatar
  • 549
1 vote
1 answer
1k views

Failed to fetch https://packages.openvpn.net/.../dists/lunar/InRelease 403 Forbidden

I'm running Ubuntu 23.10 on a I9 cpu + Nvidia Geforce RTX 2080 ti and the driver 545 right now. I would like to install the OpenVPN 3 client on my Ubuntu,but I'm not able to install the repository : ...
Marietto's user avatar
  • 549
0 votes
0 answers
22 views

OpenVPN Bridged Mode Virtualbox 3 VMs(Virtualbox) Setup ARP

I am currently experimenting with bridged mode in OpenVPN, only used the tun adapter so far. I have a setup with 3 VMs(Oracle Virtualbox) and internal Network in Virtualbox (Ubuntu 22.04 LTS). VM01(...
Octo's user avatar
  • 1
0 votes
0 answers
63 views

Openvpn systemd service won't connect automatically to profile

I am running an OpenVPN client on a Debian 12 machine. In /etc/openvpn/ I have the configuration file (client.conf) and another file (login.txt) with username and password. When I try to reboot or ...
giovi321's user avatar
  • 907
0 votes
0 answers
88 views

systemd service on connected/not status of tunnel

I am using OpenVPN as a client on Ubuntu 22.04 without the persis-tun option. Thus, when OpenVPN server comes available, eventually OpenVPN will connect and create a tun0 device. When the server is ...
Kevan Lanister's user avatar
0 votes
0 answers
91 views

Access to client local internet and vpn server local network

When I connect to openvpn, I want to be able to access the devices in the openvpn local network and use my local internet. But I can only access local internet and openvpn server machine. Can't access ...
Burak Kocaman's user avatar
0 votes
0 answers
108 views

Docker - connect to VPN

I have Windows OpenVPN server running at 10.8.0.1. server.ovpn is: server 10.8.0.0 255.255.255.0 port 1194 topology subnet proto udp4 dev tun ca "C:\\Program Files\\OpenVPN\\config\\ca....
Martin Perry's user avatar
0 votes
0 answers
16 views

VPN with Network Connections GUI - no public addreses

I am trying to setup VPN connection using Network Connections GUI. To do so I pick an option to import vpn configuration and manually enter VPN credentials. So far so good, I can get connected. The ...
Tomasz Kapłoński's user avatar
-2 votes
1 answer
1k views

Can't ssh to tryhackme server no matter what I do [closed]

I've been having trouble connecting to tryhackme's SSH server from my Linux machine (Linux Mint 21.1 Cinnamon). The terminal displays a port 22 connection timeout error. Here's the output from the ...
Regerez's user avatar
0 votes
0 answers
47 views

How to ssh into dockovpn server via vpn ip

I've deployed a DockOvpn and I want to connect to host running ovpn docker container via ssh. The connection itself seems ok. I tried to connect via the VPN ip (both inet addr and p-2-p addr) that is ...
alex's user avatar
  • 101
1 vote
0 answers
31 views

Openvpn does not see incomming connection

My openvpn server stopped working and I cannot get any information what goes wrong. I see the packets coming in on the interface with tcpdump: 09:06:33.283561 ARP, Request who-has blueberryext.home ...
Ljm Dullaart's user avatar
  • 4,863
1 vote
0 answers
784 views

OpenVPN connection works in CLI but not in GUI (via NetworkManager)

Using Debian 11. I set up CyberGhost VPN using the .ovpn file, client key and certificates they provide on their website. Copied all files to /etc/openvpn/. Using the following commands will allow me ...
Programmeter's user avatar
0 votes
0 answers
157 views

OpenVPN using Luci (OpenWRT) ssh commands to get instances and enable/disable them

Hey all I have been researching how to go about doing this but I have not really found anything on it. What I am trying to do is, use SSH luci, get a list of all my OpenVPN instances: And be able to ...
StealthRT's user avatar
  • 131
-1 votes
1 answer
458 views

openvpn client cannot connect via UDP, but TCP works fine

problem: I've setup a new ubuntu 20 vm on esxi and installed openvpn. It can connect to multiple vpn servers, like protonvpn, but only through tcp, not udp. troubleshooting: Used netcat to verify ...
rigged's user avatar
  • 1
0 votes
0 answers
212 views

NetworkManager OpenVPN creates extra/incorrect route to VPN server

I'm connecting to an OpenVPN server in Ubuntu using networkmanager. The connection establishes fine, but a route is being created that routes the vpn server's IP out the wrong interface. default via ...
kgmoney's user avatar
0 votes
1 answer
261 views

Attempt to connect to ExpressVPN Server fails

for several months, if not weeks, I have had a fully functional connection to an ExpressVPN server via the "NetworkManager" on OpenSuse, but now, suddenly, it reports "failed to ...
Cane's user avatar
  • 13
0 votes
1 answer
815 views

OpenVPN Error: Connection activation failed: Could not find source connection [closed]

I am using Debian on a VPS and now I need to connect it to my university vpn using OpenVPN. I have .ovpn file imported and I can see the connection in nmcli c. But when I issue nmcli c up myvpn I get ...
Lena Mori's user avatar
0 votes
0 answers
159 views

How does sshuttle actually forward TCP packets? How is it different from a full-fledged VPN?

Here is the scenario: On myHost (1.1.1.1) I run: sshuttle -r user@remoteHost 0/0 Now, if I check the my current IP on myHost with an http request directed to one of those services that echo your IP, ...
floatingpurr's user avatar
0 votes
0 answers
44 views

How to route particular IP via one of the OpenVPN clients

I have several fedora servers being gateways for local networks and are connected via tunnels: server A running OpenVPN server with eth0 192.168.1.1/24 tun0 192.168.94.1 and eth1 1.1.1.1 server B ...
DenisZ's user avatar
  • 176
0 votes
1 answer
546 views

OpenVPN user nobody permission denied

My OpenVPN server is running under nobody account and it is configured to call a script once a client gets connected (for logging client's IP along with some info): client-connect "/etc/openvpn/...
Nikolay Polyagoshko's user avatar
5 votes
1 answer
12k views

OpenVPN Private Key Password being requested

Since my last system update the existing OpenVPN connection stopped working because it started requesting the "Private Key Password" (note this is not the "User Password", as ...
j4x's user avatar
  • 211
2 votes
2 answers
2k views

How to use network namespaces for vpn split tunneling

My aim is to route the default namespace through my vpn, and create a new namespace which does not route through the vpn (so i can selectively launch programs that should not have access to the remote ...
Neurofibromin's user avatar
1 vote
0 answers
378 views

pkcs11 support got Gnome NetworkManager OpenVPN

I noticed in the release notes of Gnome NetworkManager OpenVPN plugin I noticed since version 1.8.0 that does seem to be some support for using pkcs 11. ================================================...
karubits's user avatar
0 votes
1 answer
35 views

What subsystem is responsible if I can connect via s2s VPN connection only in one direction?

I have configured the following s2s VPN (in pfSense) connection which is working in general. Unfortunately, I can connect (ping, netcat, ssh) only from client to the server, but not back. If I can ...
Dims's user avatar
  • 3,285
1 vote
1 answer
462 views

port forward with openVPN to access local machine remotely

I have an OpenVPN server set up on my AWS Linux instance and I can successfully use the OpenVPN client to connect to the server using an .ovpn configuration file. My question is how can I set up port ...
seriously's user avatar
  • 113
1 vote
1 answer
130 views

How to allow certain clients to talk to others in the same IP range when client-to-client communication is prevented?

I have a tap0 VPN working. In order to make the customers not talk I commented the #client-to-client line, it worked. Now I want to leave some IPs talking to the customers. Eg:10.8.0.2 and 10.8.0.6 ...
PS-PS's user avatar
  • 11
0 votes
0 answers
162 views

OpenVPN - Can't ping LAN machines on remote side

local 193.xxx.xxx.2 push "route 192.186.0.0 255.255.255.0" port 1194 proto udp dev tun ca ca.crt cert server.crt key server.key dh dh.pem auth SHA512 tls-crypt tc.key topology subnet server ...
Teddy77's user avatar
  • 3,033

1
2 3 4 5
18