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

All Questions

Tagged with
1
vote
0answers
33 views

Forwarding HTTP Request through a VPN and to a local IP [on hold]

Hi, what i'm trying to do is explained as follows: I need to retrieve some JSON data from the Arduino (192.168.1.101) making an HTTP request to 80.X.X.X or to the associated DDNS. First, i have a ...
0
votes
1answer
20 views

Limit a VPN server's services to VPN connections only

I have a jump server and I want to put it behind a VPN, I do not want to deploy a separate VPN server and put my jump server behind it. I thought of installing OpenVPN directly onto my jump server and ...
0
votes
1answer
48 views

How to route all VPN traffic via specific hardware interface?

I have a computer with two eth interfaces and one wlan interface. It is also connected to a VPN (openvpn), so it has a tun0 interface too. Now, I'd like to make sure that all VPN traffic is sent using ...
0
votes
0answers
53 views

Wireguard server with active OpenVPN client

I need to run a Wireguard server on a machine with an active OpenVPN client. Clients connected to the Wireguard server would be NATed to the OpenVPN client at 'tun0' and access the internet through ...
0
votes
0answers
55 views

Ping a network hosted in a server from hosts in different subnet

Setup and Environment Host A is Ubuntu VM (GNS3). All other Servers are RedHat. Network Path [Host A(x.x.y.b) --via-- Host B (x.x.y.a)] ----|---- [Host C (x.x.z.c) & Host D (x.x.z.d)] Host A ...
5
votes
3answers
182 views

How to restrict (open)VPN client connection to single system user?

I have a multi-user setup (Ubuntu) (simultaneously logged in users on different TTYs). When I connect to NordVPN from one account using nordvpn connect, all users are now connected to the internet ...
1
vote
0answers
47 views

Fedora 29 VirtualBox will not use DNS from host VPN

I am running a Windows 10 machine for work (required) and so use VirtualBox to get a Fedora 29 machine so I can run code locally before pushing to production. Our github is behind a VPN and we use ...
0
votes
1answer
46 views

OpenVPN no internet access when starting with config file

I have a problem with connection with OpenVPN. I am connected to my WiFi, but no internet access, almost. I get response when ping 8.8.8.8 but not with domains like google.com etc. I followed the ...
0
votes
0answers
69 views

OpenVPN client binding to network interface

I am trying to bind an openvpn client's connection to an Ethernet port(eth1) in order to route an entire network through it. I have already configured the OpenVPN server and tested it on a Windows ...
1
vote
0answers
64 views

Issue using openvpn on Debian [closed]

I am using openvpn. I can connect to the server as a client without hiccups but I can't use the internet. Here's how the config file looks like on the server: **The server is a Raspberry Pi in my ...
1
vote
0answers
86 views

Unable to add default route via VPN (openvpn)

Initially my routing table looks like this Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG ...
0
votes
1answer
132 views

OpenVPN configuring client to use subnet topology results in “inet prefix is expected rather than 10.66.10.6/-1”

Right now whenever I connect to a (commercial) VPN server a tun interface spins up with an inet address assigned to it as well as a peer one (whatever that means). root@mininet-vm:/etc/openvpn# ip -4 ...
3
votes
0answers
132 views

Why IPv6 connectivity on OpenVPN network failed after short time?

I use OpenVPN TUN network. IPv4 works fine. But I have added support for IPv6. I have a problem with IPv6 connections. IPv6 works fine only for short time. When I ping tun0 IPv6 address on my VPN ...
1
vote
0answers
180 views

How to route traffic from ethernet to a tun device (create a VPNed ethernet port)

I have a Network Video Recorder which is connected to a raspberry pi directly through ethernet, and the raspberry pi is connected to internet through wlan0. I want to route all the traffic from the ...
0
votes
1answer
179 views

Network interface routing when using VPN

I want to connect to a VPN but not send all traffic through it. Here is how my network is setup with the VPN redirecting all traffic. This is the default with the vpn config not changed. $ ip rule ...
0
votes
1answer
313 views

How does an OpenVPN tune in all the traffic going into tun0?

First of all, I understand that the kernel routing table makes all the outbound traffic forwarded to tun0. However, they're NOT going to the IP address that the local tun0 interface has (e.g., 10.13....
0
votes
1answer
1k views

route traffic on certain port through certain interface?

I am currently running a system in which I need to be able to send and recieve HTTP and HTTPS traffic directly, however all other traffic must go via a VPN. My setup is : x2 interfaces : eth0 (...
1
vote
0answers
263 views

How can I whitelist (blacklist?) destinations on a global OpenVPN connection?

I have imported a vendor-provided OVPN file into Network Manager. It acts globally, routing all requests through the VPN connection. This can be a problem with: geoblocked websites that also block ...
3
votes
1answer
407 views

DHCP package not transversing tun0 interface

I have the following setup on a remote office: --- vlan interface --- Remote Router --tun0--> Main office Firewall --> Active Directory DHCP I'm using dhcp3-relay to forward dhcp requests(...
0
votes
1answer
167 views

Killswitch: block all connections except a Dynamic IP VPN (can't use iptables if I don't know the IP)

I have a VPN that I connect to via domain name, not via IP. (with OpenVPN, in Debian) VPN's IP is dynamic, can change any moment, by design, out of my control. I want my machine's only communication ...
0
votes
1answer
79 views

VPN site to site via VPS [closed]

I would like to do connection: MY_PC (Private IP) <==> VPS (Public IP) <==> Raspberry Pi (GSM - Private IP). What soultion are You prefare for this connection? I would like to have a MY_PC and a ...
0
votes
1answer
559 views

Openvpn issues with routing and config pushing

I have recently installed an openvpn server on GCP, in a docker container, from https://github.com/kylemanna/docker-openvpn. The docker-host has packet forwarding enabled. Now I am struggling with ...
-1
votes
1answer
403 views

Getting IP address of remote VPN server

Is there a way to obtain the IP address of the remote VPN gateway that a running OpenVPN client is tunneled into, via the command line? More detail: Suppose OpenVPN is connected to a remote server, ...
0
votes
1answer
236 views

How to find out what is blocking my OpenVPN traffic

I am having a problem getting my OpenVPN push route to work. My setup is the following Network Homelan: 10.0.0.0/24 with OpenVPN: 10.8.0.0/24 VPS in Internet Servers (all Linux) Server1: 10.0.0....
0
votes
1answer
444 views

Understanding Routing Table with OpenVPN

I took the material from how to understand the routing table on an OpenVPN client. Here is the route table: # route -n Destination Gateway Genmask Flags Metric Ref Use Iface ...
2
votes
1answer
474 views

How can I permanently associate tc qdisc commands with a particular interface?

I need to use a tc qdisc command to limit bandwidth usage on an interface created by openvpn. This works great when I run the command manually but occasionally the connection drops or restarts and ...
0
votes
1answer
2k views

How to use openvpn with tcpvpn?

Is it possible to use openvpn with the configuration downloaded from tcpvpn.com ?(.ovpn format) I have already created my account on tcpvpn settings are Username : tcpvpn.com-linuxme Password : ******...
3
votes
0answers
385 views

Route subnet traffic through OpenVPN tunnel

i have a linux machine set up as a gateway between an isolated subnet and the rest of my network. NAT is done via iptables and works fine. # Generated by iptables-save v1.6.1 on Mon Nov 27 10:22:22 ...
2
votes
1answer
414 views

Use the same common parameters for all openvpn config files

I have several openvpn .conf files for various vpns, and they all need to have these lines at the end of the file, like script-security ... setenv PATH ... up ... down ... down-pre ... Is there a ...
0
votes
3answers
2k views

How to make all client traffic through the OpenVPN if server side did't push the route?

I installed OpenVPN client on the OpenWRT and want to direct all my traffic through the VPN, including the game traffic. But the server side didn't push the route to the client side. How can I ...
1
vote
0answers
9k views

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 1500 Mon Sep 25 07:46:43 2017 /sbin/ip addr add dev tun0 local 10.8.0.10 peer 10.8.0.9 Mon Sep ...
2
votes
1answer
1k views

How to use both VPN and non-VPN at the same time?

This might be an issue with VPN configuration, but what I'd like to do is have a specific user account use a VPN connection and have the rest of the system use non-VPN connection. The problem I'm ...
2
votes
0answers
236 views

OpenVPN connection suddenly disconnects

I have a raspbian client that is supposed to have an openvpn connection to a remote vpn server. This connection can be successfully establisehd, but after a day or so, it is broken. That is, the ...
0
votes
1answer
326 views

When VPN client enabled access from 10.8.0.0 segment not possible

I have a server which has an OpenVPN client installed and which is connecting to the internet, via the tunnel, just fine. I can also reach the server on the LAN interface (192.168.1.x). However when I ...
0
votes
1answer
863 views

OpenVPN error status: 2, and can't connect to internet while using

I recently installed openVPN and configured it with my client1.ovpn file: client dev tun proto udp remote 10.8.0.1 1194 resolv-retry infinite nobind user nobody group nogroup persist-key ...
0
votes
1answer
36 views

Is it possible to reject traffic on specific port unless its using tunnel interface?

I use openvpn and I'm interested in rejecting traffic on a specific port unless its using tun0. For instance if openvpn disconnects all my traffic defaults back to eth0. I would like traffic on a ...
1
vote
1answer
454 views

Network Settings, Linux Mint, Cannot set "use this connection only for resource on its network”

I'm using Linux Mint 18 sarah. I'm trying to connect to an OpenVPN server (setup on Mikrotik router) using the OpenVPN client available on Linux Mint. The VPN connection is successful, I can access ...
3
votes
1answer
3k views

How To Allow SSH Into Terminal After Connecting To VPN Server Using NordVpn Servers Through OpenVpn

Basically I'm using Linux Centos 7 Server. I Already Installed Openvpn And Nordvpn Servers which I use to connect my linux to. After Establishing VPN Connection. Immediately My SSH Access Got ...
2
votes
0answers
442 views

Linux gateway: how to route LAN-originated NATed connections through OpenVPN tunnel?

I’ve run a SOHO domain for many years, including a Linux-based firewall/gateway with SNAT for internal clients, and offers a variety of services on the WAN which include port forwarding (DNAT). The ...
-1
votes
1answer
669 views

Connect through OpenVPN to VPN - network disconnects

When I connect using openvpn 'my-config-file.ovpn' (client) the network disconnects, I'm using a non gui ubuntu so there's no network manager with a gui. I do all in shell, I heard to read on ...
4
votes
2answers
411 views

Why can I not connect to an OpenVPN server's LAN interface over the tunnel?

I setup OpenVPN between my work and my home. It's using certificates (not pre-shared keys), is in tun mode, and works great. The networks look like this: I have proper routes setup to send traffic ...
1
vote
1answer
495 views

Release/Flush ifconfig pool of OpenVPN server

I've been conducting some tests with my OpenVPN which apparently resulted in the exhaustion of my ifconfig pool. Now when I try to connect to the server, it logs: Thu Mar 30 13:46:11 2017 client/<...
1
vote
0answers
30 views

OpenVPN Specify Network Connection over similar IP range

I am connecting to an OpenVPN server which is working fine using my OpenVPN GUI and Certificate file. I need to connect to a Linux machine that is running on the remote OpenVPN Network. This is no ...
2
votes
3answers
540 views

Establish a connection with OpenVPN on Raspbian

I am trying to establish a VPN connection on a Raspberry Pi 3 with Raspbian. But I cannot make this work. I am using VPNBook and I downloaded the .ovpn file in order to use OpenVPN. Here is the ...
0
votes
1answer
923 views

Firejail and connecting to the Internet through an host OpenVPN client

If the host is an OpenVPN client, how would I set up Internet access for a firejail sandbox with its own network namespace?
1
vote
1answer
148 views

OpenVPN server on Raspberry Pi 2 model B limited to 5MB/s Down/Up

I am running an OpenVPN server on my Raspberry Pi 2 model B and am connecting to it from my Nexus 5X. I have tested it on my cellular network (AT&T-usually 20-30 MB/s) and at my school's gigabit ...
0
votes
1answer
70 views

OpenVPN server configuration

I have an OpenVPN server running, clients can connect to it and access internet, but all of the clients get 10.8.0.6 ip address, so they can't ping each other. I'm not sure, but I think that the ...
0
votes
1answer
610 views

Share openvpn connection on the interface connected to internet

I have Linux VM in my local network, with OpenVPN perfectly working on it. Let's say my main gateway (router, actually) is 192.168.1.1, VM ip is 192.168.1.15. That's my VM network settings on the ...
4
votes
2answers
2k views

OpenVPN - Linux client connects but could not access internet, routing issue

I installed OpenVPN server quite a while a go with the gateway option that all internet traffic get routed through. It works fine for client machines like Windows and my Android phone, but same Open ...
1
vote
1answer
87 views

How to make openvpn connection available to all hosts on the same subnet?

For simplicity let's assume the following set up: 2 machines on the same subnet: Machine-A (mint-17): 192.168.100.2 - Has Open-VPN connection which allows it access to private website W1 - Has ip-...