Questions tagged [openvpn]
OpenVPN is a free virtual private network (VPN) client and daemon.
843
questions
0
votes
0
answers
39
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 ...
0
votes
0
answers
32
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....
0
votes
0
answers
11
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 ...
-2
votes
1
answer
213
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 ...
0
votes
0
answers
23
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 ...
1
vote
0
answers
24
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 ...
0
votes
0
answers
117
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 ...
0
votes
0
answers
37
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 ...
-1
votes
1
answer
84
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 ...
0
votes
0
answers
21
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 ...
0
votes
0
answers
60
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 ...
0
votes
1
answer
131
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 ...
0
votes
1
answer
305
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 ...
0
votes
0
answers
15
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 ...
0
votes
0
answers
219
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 ...
0
votes
0
answers
73
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, ...
0
votes
0
answers
36
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 ...
0
votes
1
answer
245
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/...
3
votes
1
answer
4k
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 ...
2
votes
2
answers
386
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 ...
1
vote
0
answers
160
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.
================================================...
0
votes
0
answers
144
views
OpenVPN and WireGuard clients lost internet access despite no configuration changes to them nor server
For a few years both OpenVPN and WireGuard VPNs worked without any issues on my private Fedora server. I connect from mobile and Windows clients. Within the last few weeks both the VPNs lost access to ...
0
votes
1
answer
28
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 ...
0
votes
1
answer
307
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 ...
1
vote
1
answer
58
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 ...
0
votes
0
answers
93
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 ...
0
votes
0
answers
226
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 ...
-1
votes
1
answer
545
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: ...
0
votes
0
answers
208
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 ...
0
votes
0
answers
31
views
OpenVPN peer_cert tmp file cannot be accessed
I use this option to perform a OCSP query on tls-verify.
--tls-export-cert directory Store the certificates the clients uses upon connection to this directory. This will be done before
--tls-verify ...
1
vote
3
answers
388
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 ...
0
votes
1
answer
213
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-...
0
votes
0
answers
116
views
SSH behind VPN - How to protect VPN?
I am quite aware of SSH brute-force attacks. I set up everything I can: fail2ban, no root login, only public authentification on WAN. However I am still spammed in my logs and fail2ban has a ...
0
votes
0
answers
106
views
how to route openvpn server to access internet through an http or socks proxy
consider we have 3 machines, upstream (has the internet), bridge (has access to upstream through an http or socks proxy), client (only sees the bridge machine). we want to setup an openvpn server on ...
1
vote
0
answers
84
views
Server hosted on virtual machine with VPN can't be accessed on host machine using same VPN?
I am an absolute novice so there may be misunderstandings etc. any and all forms of help are very appreciated.
On a virtual machine (Virtual Box) using Kali Linux I am hosting BeEF with OpenVPN ...
0
votes
0
answers
163
views
Cannot add new VPN using GUI, only with terminal
I'm assuming this is a permissions issue, but I'm not certain how to fix it.
I'm running Kali Linux v2022.4. Using the GUI, I go to VPN Connections > Add connection > Import saved file. I import ...
0
votes
1
answer
745
views
Route all traffic from one interface (default gateway) through OpenVPN / tun0 - policy based routing, dependent on source address/interface
I have a Debian Linux VPN router myvpnserver with 2 interfaces, eno1 and eno2:
eno1 is connected to a LAN and an internet router. On this interface with static IP address, myvpnserver has its default ...
0
votes
0
answers
223
views
SSL_CTX_use_certificate:ca md too weak
I am on Centos with openssl 1.1.1 and openvpn 2.4.12-1.el8. I noticed that openvpn is failing to start. After running systemctl restart openvpn-client the logs show this:
OpenSSL: error:140AB18E:SSL ...
-1
votes
1
answer
856
views
No server certificate verification method has been enabled - Kali - OpenVPN
I am trying to install OpenVPN. I downloaded one .vpn from Deutch. Then just did on the terminal with this file
┌──(root㉿kali)-[~/Downloads/VPNBook.com-OpenVPN-DE4]
└─# openvpn --config vpnbook-de4-...
0
votes
0
answers
46
views
Route OPENVPN through the L2TP Client [LINUX]
i have 2 servers with 2 diffrent public ip
my configs are
Server 1 Linux Server [Public IP =142.130.108.221]
Server 2 linux server [Public IP =192.130.140.169]
Mobile OPENVPN Client
Server 1 , created ...
0
votes
0
answers
48
views
Explain how route push works?
There is an openvpn server 10.8.0.1
On the Openvpn server I set the parameter
push "route 0.0.0.0 0.0.0.0"
Then all Internet traffic goes through the server
but if you write
push "...
0
votes
0
answers
74
views
How to forward the Internet through the OPENVPN client?
There is an Openvpn server and two clients
How will all traffic for client 1 be routed through client 2?
Server
tun0 10.8.0.1
client 1
tun0 10.8.0.2
client 2
tun0 10.8.0.3
я хочу чтобы весь ...
0
votes
0
answers
19
views
Access control between OpenVPN servers
I have a Debian server that manages different VPN servers. For example:
OpenVPN Server Army (UDP 1194) 10.130.0.0/16
OpenVPN Server Air (UDP 1195) 10.2.0.0/16
OpenVPN Server Marine (UDP 1196) 172.16....
1
vote
1
answer
2k
views
How to configure OpenVPN client to use different DNS servers when connected
How to configure a Debian-based build with systemd, such that when connected to my VPN provider via an OpenVPN client, the system uses the DNS servers of the VPN provider?
1
vote
0
answers
190
views
AES instruction Is Disable in My VPS | How Software-Based Implementation Of AES In CentOS 7
My VPS is CENTOS 7.
I installed OpenVPN on this vps.
After open it's admin panel i received this error :
AES instruction set support has not been detected on this host. This
may cause performance ...
2
votes
0
answers
228
views
How to grant nobody openvpn access to the ccd directory?
I need to distribute static addresses to some openvpn clients, which I decided to do via ccd.
I would also like to downgrade the privileges of the openvpn daemon for more security.
Unfortunately, ...
0
votes
0
answers
33
views
Runnig OpenVPN Server and Client at the same time on a same machine
I want to run an OpenVPN server and client simultaneously on the same machine. I want to route my OpenVPN server A clients through my OpenVPN client on server A to server B.
What should I do? I'm new ...
1
vote
0
answers
95
views
Linux Server as both OpenVPN Client and Server
I am trying to set up a server that can on one hand connect to an OpenVPN server (Server 1) as client, and act as a OpenVPN server itself (Server 2).
The server (server 2) would then route all the ...
0
votes
0
answers
90
views
Port forwarding OPENVPN to one client (ip changes)
I just installed openvpn on Ubuntu and need to forward specific port to a client. This client is not on LAN and changes ip dynamically. How can forward traffic to a specific account connecting to my ...
1
vote
1
answer
902
views
Can't change ownership of cifs mounted Samba Share
In my Home Lab, I have an Ubuntu 20.04 Server and a Raspberry Pi as a VPN.
I have two separate Samba shares on both machines.
What I'm trying to do is mounting the Samba share on the Ubuntu server to ...