Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
94 views

Forward vpn traffic from tun0 to tun1

There is the following connection scheme client 1 <-> server 1 (tun 0) <-> server 2 (tap 0) <-> client 2. Server 1 and 2 are located on the same host and used for packet forwarding using ...
0
votes
0answers
46 views

How to create a tun interface for each VPN client connection and select which IPs to go through which one?

I'm following this tutorial: https://www.linux.com/learn/configure-linux-clients-connect-openvpn-server I need to setup two VPN connections to servers A and B. I also want only selected IPs to go ...
1
vote
0answers
301 views

Route QEMU VM traffic through hosts VPN

tl;dr Host connects via VPN to the internet and a VM on this host doesn't go through this VPN (but it should). I think the network config isn't quite correct. The host The host (arch Linux) connects ...
0
votes
0answers
121 views

OpenVPN Not passing traffic

i installed OpenVPN using https://github.com/Angristan/OpenVPN-install but i'm not able to access the internet through it. It connects fine and some kilobytes pass according to the counter but i'm not ...
0
votes
0answers
214 views

OpenVPN can connect but no internet unless UFW is disabled

I have searched and found several questions similar to this, but they often are unanswered or the answers do not work in my case. I'm hoping that the added detail will help debug my problem. My ...
0
votes
0answers
157 views

Error in OpenVPN install

When I install or start OpenVPN, I get this error: Job for openvpn@server.service failed because the control process exited with error code. See "systemctl status openvpn@server.service" and "...
0
votes
1answer
478 views

Fixing 70% transfer speed slowdown over VPN compared as compared to SSH? (Tested OpenVPN, IPSec/L2TP, OpenSSH, SoftEther)

I'm currently configuring a site-to-site VPN between two VPSes that requires both outgoing and incoming connections. It will be used by a high bandwidth application so I require the maximum amount of ...
0
votes
0answers
47 views

Routing between OpenVPN subnets in tunnel modes

Hope someone can help me and understand what is wrong in my setup. I have installed OpenWrt Chaos Calmer 15.05 on m TP Link router. The router have the WAN connected and a WiFi and wired subnet on ...
0
votes
1answer
98 views

Problems with routing to VPN or ISP based on source IP

I'm trying to set up my DD-WRT router so that it directs traffic either through my VPN, or directly through my ISP, depending on the subnet of the requesting machine. In my case specifically, the ...
1
vote
2answers
44 views

OpenVpn Windows clients trafic is routed but not Linux

I am new to OpenVPN. I have set up an OpenVPN server which clients can connect to on Ubuntu 18.04. I have pushed routes so that all network traffic runs through the server. Windows clients can connect ...
2
votes
2answers
76 views

extrenal access to ssh server using iptables rules

I have a router running DD-WRT. In my network I have a NAS device which runs an OpenSSH server. I want to be able to access the OpenSSH server from outside the LAN. This is accomplished by adding ...
0
votes
1answer
79 views

IP routing issues in Ubuntu

I have four servers: VPN Server (10.12.96.5/28)eth5 & 10.8.0.1(TUN0) Web Server 10.12.96.4/28 Proxy Server 10.8.0.4/24 PBX Server 10.12.96.3/28 PROXY-----VPN-----WEBSERVER VPN-----PBX The VPN ...
3
votes
0answers
563 views

OpenVPN 2.4 + Google Authenticator = authentication failure

We have a corporate VPN server running OpenVPN 2.3 on an AWS instance with Ubuntu 16.04 Xenial. The server has been configured using an Ansible playbook. I'm planning to upgrade to Ubuntu 18.04 ...
0
votes
0answers
52 views

OpenVPN do not change my DNS on windows

I set up openvpn server on my vps and I already add push dns to my server config. push "dhcp-option DNS [IP]" but it doesn't work as I expected on Windows 10 using OpenVPN client. When I test using ...
0
votes
2answers
1k views

Set static IP in OpenVPN

I have an OpenVPN server (pivpn.io), and three server clients. I'm trying to set a static IP address, for the VPN clients. I've created ipp.txt /etc/openvpn/ccd/ipp.txt. The file ipp.txt uses the ...
0
votes
1answer
950 views

pfSense unable to LDAP bind to Active Directory Server

I've been instructed to setup an OpenVPN Server on our local pfSense VM. I've combed over tutorials and guides, netgate, openvpn documentation and I feel I must be missing something. I've tested the ...
0
votes
3answers
763 views

connect OpenVPN client at Ubuntu startup

I would like to connect OpenVPN on Startup. I've added sudo openvpn /file.ovpn to the crontab, and it doesn't connect at startup. What is the proper procedure?
0
votes
1answer
23 views

save openvpn PKI passphrase

I'm using two servers. VPN Server (A), and Client (B). They are both using Ubuntu. The VPN server was installed using PIVPN: curl -L https://install.pivpn.io | bash How do you save the OpenVPN PKI ...
2
votes
2answers
359 views

remove password prompt openvpn ubuntu client

I'm trying to save the username, and password of my openvpn client in .secret.txt, and I'm receiving errors when attempting to connect, or the password is requested, instead of being read from .secret....
0
votes
1answer
103 views

Unable to connect to openvpn with saved password “auth-users-pass”

I'm trying to save the username, and password of my openvpn client in '.secret.txt', and I'm receiving errors when attempting to connect, or the password is requested, instead of being read from '....
0
votes
0answers
345 views

openssl ca -gencrl is not working at all

Out of the blue, all clients cannot connect because the crl has expired. I am unable to generate a new crl. I currently have OpenVPN configured to ignore it for the time being because clients must be ...
0
votes
1answer
92 views

correctly routed responses to NATed packages via OpenVPN are rejected by client

I have the following setup: Dedicated server S with static public IP address on eth0 running OpenVPN as server on tun0 and performing NAT from tun0 to eth0 Gateway router G that is the OpenVPN client ...
0
votes
1answer
370 views

Kubernetes custom routes

I started OpenVPN on my k8s cluster and now clients can directly connect to the ClusterIP services but i need masquerade for it because pods (except OpenVPN pod) do not know route to clients. Is ...
0
votes
1answer
173 views

OpenVPN is not connecting to services behind it (iptables?)

After connection to openvpn i can not ping even vpn address (172.16.0.1) here is my vpn config: ##protocol port port 1194 proto tcp dev tun ##ip server client server 172.16.0.0 255.255.0.0 ##...
2
votes
1answer
402 views

OpenVPN on Debian is rejecting connections and systemd just runs /bin/true?

I'm extremely confused by this, and it seems completely wrong but I have no idea how so I'll start from the beginning. I configured openvpn on my Debian server using this guide. After I copied the ...
0
votes
1answer
93 views

OpenVPN client change hostname resolving in Windows 2003 Server

I have OpenVPN client at Windows server 2003 and OpenVPN works right. Also I have 1C service there. Also I have stopped and have deleted Routing and Remote Access Role for Windows server 2003 (and ...
0
votes
0answers
70 views

Tcpdump receives packets but they are not delivered to firewall

I am working with Proxmox, OpenVPN and Mikrotik Router. When I try to connect from OpenVPN client (192.168.10.13) to VM (192.168.1.19) hosted on Proxmox I don't get any response. Proxmox host (192....
1
vote
2answers
347 views

Can sslh differentiate between OpenVPN and HTTPS after they've been through STunnel?

Can sslh tell the difference between OpenVPN traffic and HTTPS traffic efter they have both been through STunnel? Like this: .---------. .------.HTTP/TCP.-------------. -->| stunnel |----&...
0
votes
0answers
33 views

OpenVPN treats users as they are already logged in

I'm facing a strange problem and I hope that someone would shed some light on it. I have an OpenVPN installed on a VM on my private network. When I connect to the server from a client using ...
0
votes
0answers
213 views

Correct configuration for Apache, OpenVPN and Stunnel on ports 80 & 443 only?

I have recently set up OpenVPN on port 443 of my server. I chose 443 as I thought it would be able to bypass the strict firewall I am facing. I also run a couple websites on this server so I used the ...
0
votes
0answers
22 views

Unable to start nginx when running OpenVPN

I'm running OpenVPN on an Ubuntu server. When I try to start nginx now, it throws error: 'sudo: unable to resolve host ip-xxx-xx-x-xxx' I realize this is b/c the routing has changed but how can I ...
0
votes
1answer
55 views

How to allow connections to server while it's running OpenVPN?

I have a Ubuntu 16.04 server running OpenVPN (via UPD). This works great, except once it connects to VPN, I get kicked out of the SSH connection, and the DNS/http connections no longer resolve. This ...
0
votes
1answer
456 views

Redirecting OpenVPN traffic to Burp Suite

I have a Linux Mint VM that I spun up as a transparent proxy for iOS devices. My intention is to tunnel all traffic from the iOS device through the VM and intercept it with Burp Suite, as an ...
0
votes
1answer
538 views

What steps should I take to make sure Synology VPN Server is secure?

We we have a remote office with a Synology NAS and we would like it to connect to the home office Synology NAS. We have setup VPN Server (Synology package) on the home office NAS and enabled OpenVPN. ...
0
votes
1answer
56 views

IP Routing Issues OpenVpn

I have two servers in the same datacentre, running Ubuntu 16 Server A: 10.12.96.5 Server B: 10.12.96.4 Server A, is running OPENVPN Server. When I connect to server A using SSH, I can PING server B....
0
votes
0answers
11 views

OpenVPN Router - Can't access other services on OpenVPN host

I have a VPN server running on IP A.A.A.A. I have a mini-router running an openVPN client and masqurading traffic on my local network with an IP of 192.168.99.1. Everything works perfectly, except if ...
4
votes
1answer
1k views

OpenVpn: unable to accept multiple connection from same user

Situation I'm using OpenVpn Server Access appliance, not the free CE edition; I do not know if they're different in config or in behaviours. Current appliance version is: 2.1.9 Server version: 2.5.2 ...
1
vote
0answers
209 views

HAProxy ACL to check if connected to OpenVPN

Suppose I have an HAProxy instance directing traffic to a webserver. I want to block traffic to a target directory, unless the user is connected to OpenVPN. OpenVPN is set to the "Routing" ...
1
vote
1answer
143 views

How to use a OpenVPN network interface without redirecting everything over it?

I am using an OpenVPN server I have no control over that has provided me with a client configuration to use. When I use the provided configuration, everything works as expected - all the network ...
-1
votes
1answer
600 views

OpenVPN server as it's own CA — security concerns?

I was reading the Digital Ocean guide to setting up an OpenVPN server on Ubuntu in anticipation of doing exactly that, and saw this tidbit: Additionally, you will need a separate machine to serve ...
2
votes
1answer
233 views

IPv6 over IPv4 in OpenVPN on a server that has multipe non-consescutive IPv6 addresses

I have a server that has 1 IPv4 public address and 10 public IPv6 addresses (each one /128, not in the same subnet like a /64 or /48) - I know it sounds strange but I have no control over this, it is ...
0
votes
2answers
485 views

Route ONLY specific LAN through VPN

I have ONE PC with two internal LANS. 192.168.10.4 is internal LAN and 192.168.42.2is the ip that get it from my Raspberry. Raspberry connect via wifi from my wifi router, then run tor daemon and give ...
2
votes
0answers
46 views

OpenVPN - Hypervisors and VMs communicating by VPN through the internet

I'm pretty lost with this problem (maybe I say something silly =D )... I have two hypervisors (CentOS 7) connected by a VPN (OpenVNP). In this scheme I have two virtual machines (VMA0 and VMB0) ...
0
votes
1answer
961 views

How to forward network traffic through Docker OpenVPN Client?

My current setup is has a docker image running OpenVPN Client that connects to an Access Server in AWS. If i run the command: docker exec <container-id> bash I can get into the OpenVPN ...
1
vote
0answers
223 views

OpenVPN/Iptables: Route wlan0 through tun0, but not traffic from local system

I've got a device running OpenVPN with eth0 (connected to internet), tun0 connected to VPN, and wlan0 running hostapd with clients. I want all the traffic from the clients to go through the VPN, but ...
1
vote
0answers
111 views

Multiple VPN Server form a single local network

Present Status: I have a openVPN server hosted on AWS and nearly 50 client computers connected to the VPN. So as of now, all the client are on same network Problem with the current setup: If I ever ...
0
votes
1answer
166 views

Openvpn --learn-address with nsupdate | SERVFAIL

I've attempted searching just about anywhere I could find to figure out why a seemingly legitimate setup isn't working. I'm trying to archive DDNS with OpenVPN clients utilizing the --learn-address of ...
1
vote
0answers
53 views

how to make Windows 7 have website access through VPN connection

I am still struggle with my Windows 7 VPN client’s internet access. My OpenVPN client-server works great for my Windows 10 laptop and my Android phones. But my Windows 7 laptop cannot gain internet ...
0
votes
1answer
230 views

iptables NAT for Dockerized VPN Server

I want to setup a vpn server on my VPS using Docker. Many VPN servers like OpenVPN need firewall NAT rules and other firewall rules to work. as official documents suggests: You may have heard ...
1
vote
1answer
276 views

OpenVPN CCD file extensions

I've setup an OpenVPN server on Windows, all is working fine. I want to have my OpenVPN clients connect with a predetermined IP address. With reading/research I understand this is pushed out via a ...