Quantcast
Channel: Active questions tagged openvpn - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 825 View Live

Route incoming traffic on openVPN server to client

I have a VPS with a public IP that is running OpenVPN and a local server that is the only VPN client on this. Is it possible to route incoming traffic on lets say port 80 to the client? My local server...

View Article


Unable to generate keys for openvpn using easy-rsa

I've been following a tutorial to set up my Raspberry Pi to run OpenVPN (I'm quite new to the Pi and networking, and this seemed to be a fun intro project). However, I've run into a road block when...

View Article


Problems with openvpn on ubuntu 22.04

I'm trying to set up openvpn on the server using this guide:https://www.digitalocean.com/community/tutorials/how-to-set-up-and-configure-an-openvpn-server-on-ubuntu-22-04I got to step 10, but I can't...

View Article

How to fix this eth0 and eth1, where traffic going out via eth0 is failing?

I have two public IPs. One's connected to eth0 and one to eth1, from 2 separate routers as complete DMZ towards the LAN IP.I added this following:ip rule add from 10.0.0.108/32 table 1 # outboundip...

View Article

Make OpenVPN restart upon new network connection on systemd

How would you go about making OpenVPN automatically restart upon connecting to a network?The issue is that every time a network connection is lost, or if the computer is booted without a network...

View Article


Cannot ping second IP address on another machine's interface

I have an OpenVPN client connected to an OpenVPN server.The server has the following routes:default via 10.109.185.65 dev eth0 proto dhcp src 10.109.185.84 metric 10010.8.0.0/24 dev tun0 proto kernel...

View Article

Openvpn client and server cannot ping each other(Connection established)

I have setup OpenVPN client and server between two VPS. I have a client and server setup, server using 10.8.0.1 and 10.8.0.2 IPs in tun interface, and client using 10.8.0.6 and 10.8.0.5 in tun...

View Article

VPS: How to forward traffic to devices from public IP

My goal is to set up a public IP for a Android Smartphone which is running an "IP Cam" software. The interface can be accessed in local network on (example) 192.168.0.2:8080, but it has no public IP,...

View Article


Client route for OpenVPN Access Server

I am running OpenVPN Access Server and I'd like to push a route to every client on connection that is the equivalent of:sudo ip route add 172.17.0.0/24 via 172.27.232.1Where should I go to set this up...

View Article


Image may be NSFW.
Clik here to view.

OpenVPN and routing problem on OpenWRT

My home topology:router1 (192.168.1.1) - D-Link dsl2540u server with static IP available from Internet (ADSL via ppoe). 4 LAN ports.router2 (192.168.1.2) - D-Link DIR-300 with OpenWRT. Plays role of...

View Article

Make user made entries in /etc/hosts permanent

I use Juniper Networks network connect to connect to the office network. Once i am inside the office network, i check the server ips and add entries for them in /etc/hosts file like,10.199.xx.yy...

View Article

socat gives error (read(6, 0xf97acc0, 8192): Permission denied)

I'm trying to use socat as a port mapper to map IPv4 connections to my OpenVPN server running behind a DS-Lite IPv6 cable connection.//editI tried with a non root user and root. But I get the same...

View Article

systemd "Failed to set up mount namespacing" in Docker container

I recently updated a Docker that uses systemd internally from Debian stretch to Debian buster.And since then it's not working.So accoding to systemctl status it fails to setup the namespace:Dec 10...

View Article


OpenVPN connects to the Server successfuly but no internet access

I want to setup an OpenVPN Server and after a week of trying day and night (no Linux Knowledge) I was able to successfully connect to the Server using OpenVPN GUI but now that I can Connect there is no...

View Article

Where does GNOME Network Manager store passwords?

In Network Manager, under the Identity tab, I can enter a username and password for my OpenVPN connection. I can also enter a password for the "User private key".Both password fields have the following...

View Article


openvpn-as (openvpn-acccess server) does not show admin web panel login info...

I am using centos 7.I removed previous installed openvpn-as like this :yum remove -y openvpn-as openvpn-as-bundled-clientsafter uninstall i installled it again like this :yum -y install openvpn-asThe...

View Article

Understanding the gateway being 255.255.255.0

I know it looks similar to a lot of questions about OpenVPN and routing table, however, I believe it's different from the rest -- or at least I haven't found a duplicate yet.In my case after I connect...

View Article


New iptables NAT produces Error 400 Bad Request for Other HTTP Requests

Recently, I added several new iptables (RE: code snippet below) rules to route traffic through my VPN (0x1000/0x1000) for a specific destination (172.67.168.48) over port 443. The new rules NAT over...

View Article

OpenVPN in Debian 12 does not ping to server

I have been a linux user for some years although I'm very new to the networking aspects. This is the first time I will use OpenVPN and I have been strugling to make it work for a few days. I need to...

View Article

Openvpn restart comunication

I have two PC (one with Archlinux, the other with Kalilinux) which I want to connect to a Sever through VPN (University gave me the ovpn file).With both I can run sudo openvpn <file> but:with...

View Article

OpenVPN starts from command line but does not initiallize as a service

I got OpenVPN working quite smoothly following this debian wiki. I went through all the steps from the raw testing connection, the static key, and finally the certificates option. My server and clients...

View Article


OpenVPN Client not connecting to OpenVPN Server on Netgear

My son has an OpenVPN server set up on his NetGear router in the UK. I am in Italy and have an OpenVPN Client that works fine on Windows but I want to connect also from my Raspberry Pi and Ubuntu...

View Article


Image may be NSFW.
Clik here to view.

Openvpn client works fine on Android and Windows. On Linux mint it connects...

I'm using my Asus router's openvpn server.The router's gateway IP is 192.168.50.1The VPN server's subnet is set to 192.168.100.0I downloaded the ovpn file from the router page and used it on my android...

View Article

OpenVPN client: ERROR: Linux route add command failed

I am having this error using OpenVPN client:Mon Sep 25 07:46:43 2017 /sbin/ip link set dev tun0 up mtu 1500Mon Sep 25 07:46:43 2017 /sbin/ip addr add dev tun0 local 10.8.0.10 peer 10.8.0.9Mon Sep 25...

View Article

nmcli fails to connect to openvpn server using password+totp

I have an openvpn conf.ovpn file imported in nmcli usingnmcli connection import type openvpn file ./conf.ovpnI opened Networkmanager GUI and set the username for this connection.I am trying to connect...

View Article


NetworkManager fails with "Could not find source connection"

When trying to connect to a VPN using openvpn through NetworkManager, it fails with Apr 17 02:03:17 GAMINGSTATION NetworkManager[1922]: <info> [1523923397.5294] audit:...

View Article

Cannot SSH to a machine over OpenVPN

I have the following setup:Machine 1 -> Home router -> Internet -> Mobile hotspot -> Machine 2Machine is running an OpenVPN server on UDP port 1194 and SSH on port 2022. I want to SSH from...

View Article

How to simplify multi-VPN management (WireGuard/OpenVPN) and secure password...

I frequently switch between different VPN configurations on Linux:WireGuard (wg-quick up/down)A corporate OpenVPN profile (sudo openvpn corp.ovpn, which prompts for a private key password)Right now I...

View Article

Image may be NSFW.
Clik here to view.

Wireshark logs are not captured during OpenVPN client-server test

Using WSL2, Ubuntu 24.04 LTS.Execution stepsdocker image that runs OpenVPN 'access server'.I have downloaded .ovpn configurations from access server.I have configured admin to run at '127.0.0.1:943'.I...

View Article



Proxy or VPN behind the router

I have a home network behind a router, and I’m running a proxy server with ports forwarded through the router. Some clients connect to the Internet via my proxy, but there's a small problem — sometimes...

View Article
Browsing latest articles
Browse All 825 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>