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
0
votes
0answers
9 views

ERROR: Cannot ioctl TUNSETIFF tun1: Operation not permitted (errno=1)

I am trying to use openvpn to install the vpn but very unsuccessful from couple of days. Appreciate your help in this case. openvpn vpnbook-ca198-tcp443.ovpn 2021-10-20 20:32:18 WARNING: Compression ...
1
vote
1answer
45 views

Prevent OpenVPN systemd service from starting at home

Within my laptop PC, I set a systemd service that make a OpenVPN connection to my home, and let it automatically start on boot, so that I can access my home server anywhere. The trouble is that when I'...
0
votes
0answers
59 views

Iptables: allow ssh only through vpn not work

I need to allow ssh only through VPN (openvpn) using iptables. All services (ssh, vpn) are located on same machine. My current rules for vpn and ssh: # set default policy iptables -P INPUT DROP ...
0
votes
0answers
16 views

Route traffic after OpenVPN server

The main purpose - remote access to the local network (video surveillance, smart home). Input data: mikrotik router and server in the DigitalOcean. Since mikrotik knows how to work with OpenVPN server ...
0
votes
0answers
18 views

Block all traffic to/from VPS when OpenVPN client isn't connected

So i have managed to setup an OpenVPN VPS. My public clientside IP is static. For an abundance of security I'd like to automate a firewall blocking all traffic when the VPN client isn't connected. ...
0
votes
1answer
40 views

OpenVPN client is connecting to wrong IP address

I setup an OpenVPN server but whenever I try to connect with the Windows 10 OpenVPN client I get the following error: There was an error attempting to connect to the selected server Here's what I ...
0
votes
2answers
41 views

OpenVPN Server to Allow Access to Two Different Networks

I am trying to allow OpenVPN clients to the OpenVPN which has access to two different subnets. The 10.203.1.61 has a public network and is used when clients access OpenVPN while the 172.28 (ens4) is a ...
-1
votes
0answers
20 views

nslookup fails with timeout if ipsec and openvpn connected at same time win 10 [migrated]

I have strange behavior with dns resolving when being connected with two vpn clients at the same time. I have one openVPN Client (Endian Connect App) and one FortiClient with IPsec configured. With ...
-1
votes
0answers
140 views

Strongswan and Openvpn

I have to connect to an instance which is running in VPC-A. There is a firewall in place. If I have to connect to this instance in VPC-A, I have to set up a site to site vpn connection between virtual ...
0
votes
1answer
43 views

OpenVPN and IPTABLES - How to assign lan (vpn) gateway to clients

I am trying to set up my openvpn network but I have a problem. My LAN configuration is as follows: main router Zyxel 192.168.1.1 acting as gateway (vdsl connection) and access point; openwrt router ...
0
votes
0answers
32 views

Connecting to OpenVPN over WiFi vs Mobile Network

I've enabled OpenVPN Server on my Netgear Orbi router and I can happily connect to it on my Android phone over a mobile network. However, when my phone is connected over WiFi, my phone is unable to ...
0
votes
1answer
25 views

"DNS address could not be found" in OPNsense using OpenVPN configured for ProtonVPN

I'm trying to route the WIFI and OPT nets from my OPNsense box to my VPN. The LAN port is connected to another router and passes directly to my WAN (for greater speed and less privacy). When I connect ...
0
votes
0answers
14 views

How to test VPN connection inside LAN?

I'm going to setup several machines for remote development and debugging. The final scenario will be: [SERVER] at my office |----> VPN server | Internet | |----> Router at customer's ...
0
votes
0answers
46 views

UFW blocks Https NAT response

I've got a setup with OpenVPN that routes two network to WAN. On the setup below Fedora Linux server provides OpenVEN access to WAN, while Mikrotik 1 router routes (not NATted) traffic to specific ...
0
votes
1answer
38 views

Access entire lan of openvpn client from another openvpn client

I have following setup: What do I need to do to make 192.168.0.3 connectable from machine 10.8.0.3? I tried openvpn guide but I guess I'm missing something. vpn server config /etc/openvpn/server.conf ...
0
votes
0answers
34 views

OpenVPN clients still getting assigned same ip with duplicate-cn in server config

Clients are still getting assigned same ip as each other even with duplicate-cn in server the config. I can't figure out what I'm doing wrong. I've restarted all the machines involved after changing ...
0
votes
0answers
43 views

OpenVPN + iptables - define valid routes

I have a bastion servers which accept users via OpenVPN. The bastion has two network adapters: one leg on the internet and the other leg on a private network. Each user has different IP address and ...
0
votes
1answer
22 views

Linux connect to OpenVPN but leave a separate local connection

I'm trying to create a Debian server where one connection is to an OpenVPN VPN and another is direct. I've got a VPS in the cloud but it's only got a single Ethernet NIC (does that matter?). I'm only ...
0
votes
0answers
16 views

OpenVPN - Server gives an IP address, but don't make it default

everyone. I have 2 VM's, that are connected by OpenVPN. Server sends an IP, but I have to make it default on client to make it work. I know, that this should be set somehow in server.conf. But I don't ...
1
vote
0answers
67 views

Assigning public IP to OpenVPN client. iptables, route or what to use for that?

I have a server with Pi-Hole configured to block Ads and trackers. The clients are connected via OpenVPN and get addresses from 10.8.0.0/24. OpenVPN only pushes the DNS to the client and the traffic ...
0
votes
1answer
25 views

Different routes in VPN

I have the following setup: 1 VPS with public IP 222 running Wordpress 1 VPS with public IP 444 running OpenVPN server The login pages of the Webserver are restricted to requests from 444 using ufw ...
0
votes
1answer
51 views

Unable to reach OpenVPN DNS /Public IP URL

Has anyone seen these error before with OpenVPN. Secure Connection Failed An error occurred during a connection to openvpn.example.com. PR_END_OF_FILE_ERROR The page you are trying to view ...
0
votes
1answer
87 views

OpenVPN Modify incoming traffic or payload with custom script

I recently setup OpenVPN with Dnsmasq as DNS and wanna do something I can't seem to find any info about. Here's my current understanding based also on what I've currently setup on my server. A. Client ...
0
votes
0answers
39 views

VirtualBox / OpenVPN - Can't ping between client and server, despite connect is present

I have 2 VM's on my host machine. They are connected in "internal network", which is set in VM settings. I set up static IP addresses and ping works normally. I have OpenVPN server on one ...
0
votes
0answers
24 views

Packets not routed through openvpn tunnel in ec2 instance

I'm setting up an openvpn server on an aws ec2 instance. This instance has two interfaces : One interface belonging to a private subnet (10.10.0.0/17) One interface belonging to a public subnet (10....
0
votes
1answer
70 views

Use dnsmasq as DNS for OpenVPN

So to the best of my understanding, I have all the pieces, namely, DNSmasq and OpenVPN working fine, although independently. What I've done? Installed OpenVPN using this: https://github.com/Nyr/...
0
votes
0answers
31 views

OpenVPN Allowing Cross-NAT traffic over two NICs

I'm running OpenVPN on Ubuntu 20.04, and I'm trying to allow users to access servers that are on a different subnet. Here is a diagram of what the network looks like: Diagram of network So, eth1 is ...
0
votes
0answers
25 views

IPSec site2site tunnel + vpn

In our research project, we needed to deploy a server "Molly" at another company. They made us set up a IPSec tunnel to their firewall/gateway and from there, the comms are forwarded to our ...
0
votes
1answer
34 views

OpenVPN connection resetting every 2 minutes

I have an OpenVPN server running on Ubuntu in AWS, and using Tunnelblick on macOS to connect to it. I have no problem connecting to other VPN servers, but this one seems to time out/reset every 2 ...
2
votes
1answer
37 views

How to scale OpenVPN when client-to-client is a must?

I am trying to create an OpenVPN server cluster that can autoscale, I have found a lot of information online on how to create such a network. As far as I understand, you basically use a round-robin ...
0
votes
1answer
23 views

How to forward port tun0 to local adress via eth0?

IPTABLES Me 10.8.0.7 Debian Linux server cent8 eth0 192.168.88.11 tun0 10.8.0.6 How to connect 10.8.0.6:8888 port forwarding to Local 192.168.88.10:443 machine? Enable forwarding echo 1 | sudo tee /...
0
votes
0answers
21 views

Configure OpenVPN server to use Google Cloud Identity for authentication

I am trying to figure out how to configure an OpenVPN server to use Google Cloud Identity for authentication. I see there is an article about adding an LDAP application in the admin console for GSuite ...
1
vote
0answers
81 views

UFW OpenVPN issue on Ubuntu 20.04

I've got a curious OpenVPN / UFW issue on Ubuntu 20.04. I have a rule set to allow outgoing traffic over tun0: ufw insert 1 allow out on tun0 from any to any. The UFW defaults are set to deny, both in ...
0
votes
0answers
38 views

OVPN Clients can't ping each other

I hope that you can help me with my problem. I have configured an OpenVPN Server. Clients can connect and I can ping the clients from the virtual machine where the server is. But I want the clients to ...
0
votes
0answers
39 views

Viscosity VPN using existing Tunnelblick OpenVPN config cannot authenticate/connect

Not sure if this is the right place to ask this question?? I'm trying to connect to our company VPN (that I have set up) using Viscosity VPN to try and solve an issue where VMs running on VMware ...
0
votes
1answer
60 views

Installing OpenVPN failing on AlmaLinux 8.4

I tried to install OpenVPN on my new AlmaLinux 8.4, but it's failing. There is no error log in syslog or in OpenVPN log. This is the error I'm getting at the final stage of install process. cp: cannot ...
1
vote
0answers
92 views

Two instances of Dante proxy server with two interfaces

I'm running 2 instances of Dante server on my Linux machine, one of them is called danted which is supposed to connect me to the internet through the ethernet cable and the other is sockd which is ...
2
votes
0answers
24 views

openvpn client-connect script can't see local files?

I run an openvpn server and I connect to it from home. My home IP is dynamic and I want to store it in a file on the server. OS is Debian 10 and OpenVPN 2.4.7. server.conf: proto udp port 1234 comp-...
0
votes
1answer
116 views

Openvpn from Debian 10 to 11, stop to routing all my packets

I had upgraded to Debian 11 from 10. With Debian 10 openvpn works fine, now I had this problem, i can reach my vpn server, but I cannot ping or access my lan remote, except for vpn server. This is the ...
0
votes
0answers
15 views

How to limit quota(traffic) usage per user in openvpn

I want to limit quota used by my openvpn server. Example : User 1 : limit to 5gb per month User 2 : limit to 15gb per month
0
votes
1answer
118 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 ...
0
votes
1answer
37 views

Where and how should I define OpenVPN user pass?

Due to this link for having the user/pass authentication the line below should be added to server config file. plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so login But the link doesn't ...
0
votes
1answer
76 views

"Multiple --up scripts defined" when running OpenVPN inside a Docker container

I'm using binhex/arch-rtorrentvpn and the contents of my docker-compose.yml are as follows: version: "2" services: rtorrent: image: binhex/arch-rtorrentvpn container_name: rtorrent ...
1
vote
0answers
27 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 ...
0
votes
1answer
35 views

Can't connect to static VPN from docker compose

I'm trying to create a symetric VPN server with openvpn in a docker-compose. Here it is: --- version: "3" services: vpn: image: whitebox/vpn:0.2 networks: - standard ...
0
votes
1answer
36 views

Pritunl server running on Azure VM - VPN clients have no internet

I have a Pritunl VPN Server running on an Azure VM (ubuntu). For testing purposes, I used the default configuration which routes all traffic through the VPN tunnel. My clients (some desktop pc's and ...
0
votes
0answers
18 views

Using 3 openvpn instances at the same time

So I have 3 OpenVPN Access Servers, and downloaded the config for all 3 of them. Then on my raspberry I ran 3 instances of openvpn (even with a different subnet configured in the Access Servers) with ...
0
votes
0answers
50 views

Routing : route through vpn while allowing incoming traffic on local interface

I'm setting up a server that connects to an ovpn server through which it's able to access some remote devices. Some of these devices have private IPs (no problems here), however the ones that have a ...
0
votes
0answers
105 views

Synology Open VPN Server to Client connection

I have a 2 sites: Synology A (192.168.1.100) - running VPN Server (10.8.0.1) Synology B (192.168.2.100) - running VPN Client (connecting with 10.8.0.10) I'm trying to setup Hyper Backup from ...
0
votes
0answers
30 views

Using a BlockOutbound default policy in Win10 to fully Tunnel all WAN traffic through the TUN/TAP interface

So I got a little "advanced firewall usage" question in Win10. I have a VPN running in a VPS with openvpn , running like a charm , and I wanted to filter all the networking of my endhost (in ...

1
2 3 4 5
61