Questions tagged [openvpn]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 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
22 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
42 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
22 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
26 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
22 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
37 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
13 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
159 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
19 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,731
0 votes
0 answers
77 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
  • 113
1 vote
1 answer
60 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
48 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
0 votes
0 answers
104 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
  • 159
0 votes
0 answers
34 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
178 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
  • 531
1 vote
1 answer
849 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
  • 531
0 votes
0 answers
15 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
44 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
  • 897
0 votes
0 answers
76 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
82 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
99 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
15 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
42 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,688
1 vote
0 answers
585 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
121 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
380 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
27 views

How to invalidate the usage of a OpenVpn client without revoke it in the CA Server?

I created a VPN Server following the Digital Ocean tutorial (https://www.digitalocean.com/community/tutorials/how-to-set-up-and-configure-an-openvpn-server-on-ubuntu-22-04) and I created a lot of ...
Rodrigo Campos's user avatar
0 votes
0 answers
177 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
243 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
683 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
21 views

AWS 1 VPC for 2 EC2 Instances, 1 of which is an OpenVPN server for which the other needs to connect to

As described in the title, how can I connect my OpenVPN server to another running EC2 instance (Both operating in the same region and VPC) such that all API commands sent through the running EC2 ...
Nick's user avatar
  • 1
0 votes
0 answers
429 views

IPTABLES - Port forwarding from tun0 to eth0

I have a VPN router (Raspberry Pi with Debian) which connects to the VPN on tun0. I have a workstation connected to the Pi (eth0) which forwards outgoing traffic over the VPN #enable forwarding (added ...
Dave's user avatar
  • 1
0 votes
0 answers
135 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
43 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
  • 76
0 votes
1 answer
459 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
10k 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
1k 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
321 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
32 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,255
1 vote
1 answer
433 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
113 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
159 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
  • 2,983
0 votes
0 answers
392 views

Openvpn's update-resolv-conf set the nameservers in the wrong order with openresolv

I wanted to switch from resolvconf to openresolv since openresolv seems more reliable. I use Mullvad and set my nameserver to 100.64.0.1 as backup nameserver. Now I when use resolvconf and start ...
gunelinx's user avatar
-1 votes
1 answer
848 views

OpenVPN Port 1194 not accepted in iptables policy but still accessible

I am able to connect to my OpenVPN server via port 1194, even though this port is not allowed (accepted) in my iptables config. I can confirm no exception is defined as this command gives no output: ...
studio-pj's user avatar
0 votes
0 answers
378 views

OpenVPN traffic being blocked by firewalld on CentOS from reaching lan

I have OpenVPN setup on a CentOS box. Clients can connect to the vpn just fine and access its resources, ping the server's lan address. However i wanted OpenVPN clients to be able to access a computer ...
James's user avatar
  • 1
1 vote
3 answers
1k views

Can my friends join me through VPN as they would be in my lan network?

I would like to create some game servers in my house but unfortunately my IPS don't want to assign me a static public ip and open ports to my router. My question is can my friends see me (as they ...
Filip Pieprzyk's user avatar
0 votes
1 answer
388 views

systemd service timeout when using sudo

Target I am trying to run a service (transmission-daemon) in a network namespace for VPN usage. The service should automatically start using systemd. Implementation details I am using namespaced-...
HighDraw's user avatar

1
2 3 4 5
18