Questions tagged [openvpn]

OpenVPN is a free virtual private network (VPN) client and daemon.

0
votes
1answer
870 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 ...
1
vote
3answers
304 views

Can I use SSH to tunnel a specific port via my server

I'm trying to tunnel a specific port through my server but I'm not sure where to start or if SSH is the right thing to use. My current situation is this: There's a media server at http://example.com:...
1
vote
0answers
497 views

Cant Access an IP Behind a VPN When I remote Into Home LAN (Policy Rules Strict)

Here is my environment. AsusWRT-Merlin FW 380.67 on Asus RT-AC88U OpenVPN Client setup on my router using AirVPN OpenVPN Server enabled with 10.8.1.0/24 on my router Internal home LAN with 192.168....
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
0answers
251 views

multiple openvpn tunnels on same port

I would like to connect multiple servers/subnets to a central server. Can i configure multiple openvpn instances with separate tun interfaces on the central server all on the default port udp/1194 ? ...
0
votes
2answers
1k views

How to setup NordVNP Nameservers for VPN + non-VPN use in NordVPN?

I am trying to setup my VPN connections of NordVPN such that I can use internet without VPN nameservers and internet with VPN. Code in /etc/resolv.conf setup by the official NordVPN instructions in ...
2
votes
2answers
2k views

Cannot rename resolv.conf file as root

I am trying to activate NordVPN CyberSec by completing the following instructions in Debian 9. I should be able to do the changes as root and with sudo like described for Ubuntu in the thread Should ...
3
votes
1answer
921 views

Not sure what starts this systemd unit file

So I've been looking at the openvpn configuration on my Debian 9 based server and found something that I cannot explain in the systemd unit files for the openvpn daemon. The daemon itself is starting ...
0
votes
1answer
384 views

OpenVPN client internet lost when connecting OpenVPN server to another VPN while OpenVPN server has the internet

I config OpenVPN service on CentOS 7 and Clients could connect to the server with no problem. the problem occurred when OpenVPN server connect to another VPN(openconnet VPN).at this time clients lost ...
1
vote
1answer
459 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
2answers
361 views

Why do I need another IPv6 block?

I'm trying to understand the following statement from the OpenVPN manual. https://community.openvpn.net/openvpn/wiki/IPv6 In a routed setup, you cannot use your on-link network; you must use a ...
1
vote
1answer
300 views

PPPD access to networks behind router [closed]

I have an OperWRT router with OPenVPN and PPPD servers configured. Network topology is like follow: I have problem configuring PPPD to push routes B,C to A. Client A, when connected to router via ...
1
vote
1answer
4k views

openvpn --config conf.ovpn results in 'RTNETLINK answers: File exists'

I'm trying to configure a vpn client (first and only for this server). The server is running on a Raspberry 3 Pi configured with PiVPN, that generated the client config file too. Here is the output ...
1
vote
0answers
2k views

Openvpn encrypted client key. Why not asking password?

Why after generate encrypted client key by build-key-pass, openvpn client on Windows and Android dont asking for password, and normally established connection with server(internet working, LAN ...
1
vote
1answer
1k views

OpenVPN systemd timeout error but works

I have a file /lib/systemd/system/openvpn.service with those settings : [Unit] Description=OpenVPN client After=network.target [Service] Type=forking PIDFile=/var/run/openvpn/%i.pid ExecStart=/usr/...
1
vote
0answers
1k views

Using openvpn with multiple server under systemd

Preliminary question: where is stored the default server which is used by the command systemctl start openvpn (assume sudo, of course)? It should be in /etc/default/openvpn, like it used to be for ...
1
vote
1answer
2k views

Launch openvpn from a sell script

I have subscribed to a VPN service and now I have a few .ovpn files, one for each server. What I'd like to do is creating a shell script in which I can select the file to be loaded, and launch that ...
2
votes
0answers
677 views

Connect VPN through privoxy

I'm going to configure anonymous connection to internet following below schema: ISP -> Privoxy (chained with TOR) -> OpenVPN network (for e.g. VPNGate) -> internet I want to gain higher anonymity. I ...
1
vote
1answer
782 views

SCP reproducably breaks SSH pipe [duplicate]

I'm trying to copy some certificates onto my server using scp. $ scp ./cert.* sshuser@192.168.0.42:/tmp/ cert.crt 100% 2386 0.1KB/s 00:18 packet_write_wait: Connection to 192.168.0.42 port ...
0
votes
2answers
43 views

How to make a link between interfaces, route and process

I am using openvpn very happily, I have more than 50 vpn defined on a debian jessie machine. I have a question regarding the ability to map some route to some process. I would like to known which tun ...
1
vote
1answer
1k views

openvpn bridge tap to ethernet

I'm trying to setup openvpn in bridge mode so I can link a few networks together across the country. I have got openvpn setup and that works fine, its when I try and turn it into a bridged network is ...
0
votes
1answer
698 views

Redirect all ports to OpenVPN client

I want to redirect all ports from VPN server to one of VPN client (except the SSH-5656 port and OpenVPN port-5757). I know this command: iptables -A FORWARD --proto tcp -p 1-5655 -j DSTNAT -d 10.8.0....
1
vote
0answers
554 views

Connect Networks Together Using OpenVPN on CentOS 7

I am trying to connect two networks together by using a pair of CentOS 7 systems running OpenVPN. I have a "server" side that has two networks behind it, and a "client" side that has a single network....
1
vote
0answers
313 views

Not accessed blocked sites with OpenVPN

I installed OpenVPN server and connect to it from my PC. On sites I can see, that my IP address - is VDS address, so all work fine. But I can't go to sites, which blocked in my county. Firstly, I try ...
1
vote
0answers
142 views

Chrome OS and OpenVPN

I'm using ASUS Chromebook Flip with Google Chrome OS Version 59.0.3071.47 (Official Build) dev (32-bit) and I would like to use my OpenVPN server. My attempt(s): via crosh - I am able to connect to ...
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 ...
1
vote
0answers
135 views

openwrt create ovpn files

i am trying to setup an openvpn server to my openwrt router. i would like to create a single ovpn file for each user, instead of multiple files for each user. in my debian machines i use the Nyr/...
2
votes
1answer
3k views

Cannot open TUN/TAP, openVPN issues

I have openVPN, and the vm runs fine otherwise. It can connect to the internet, and run localhosts, and all sorts of things. I need access to a vpn through it though. I have my ovpn file, and my ...
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 ...
0
votes
1answer
195 views

VPS goes out of reach after connecting to a VPN (OpenVPN)

I have two virtual private servers and I would like to get them to work in one network using OpenVPN. Both of them are Debian machines. Server setup: port 11194 proto udp6 # I know using udp6 ...
1
vote
1answer
5k views

How to connect and disconnect an openvpn connection in a bash script?

How to run write a bash script to do a task after an openvpn connection as #!/bin/bash openvpn --config file.ovpn (step 1) RUN THE TASK AFTER THE CONNECTION (step 2) THEN DISCONNECT FROM THE OPENVPN (...
0
votes
1answer
185 views

Error connecting to my Raspberry Pi OpenVPN server

I bought a Raspberry Pi 3 Model 3 to set up a VPN server, following this guide: https://sys.jonaharagon.com/2016/05/12/setting-up-an-openvpn-server-on-a-raspberry-pi-2-part-12/ When I finished, I was ...
2
votes
0answers
751 views

OpenVPN GUI, avoid routing all the internet traffic over VPN

I've got a problem with the user interface of OpenVPN in KDE. I imported my OpenVPN configuration file in the gui but it seem not be the same. In my original configuration,which works perfectly in ...
6
votes
2answers
21k views

Open VPN options error: --tls-auth fails with 'ta.key': no such file or directory

I installed Open VPN and generated .crt and .key files but I could not able to generate ta.key file which gives me options error : --tls-auth fails with ta.key : No such file or directory. How could ...
1
vote
0answers
1k views

OpenVPN: How edit the server.conf and client.conf parameters to point to generated key files?

I am trying to complete the installation and configuration of OpenVPN. The OpenVPN guide says, Before you use the sample configuration file, you should first edit the ca, cert, key, and dh ...
2
votes
1answer
395 views

How to use Security Key in NordVPN login?

Situation: static password file in NordVPN settings Proposal: any security key but proposed one, YubiKey, because big userbase I heard that you can setup Security key (Fido U2F) with VPN in ...
4
votes
2answers
415 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 ...
3
votes
0answers
727 views

External IP addresses logged as “Martian source” on Docker interface

I am running OpenVPN in a container (kylemanna/docker-openvpn) on Ubuntu 15.10 and Docker 1.13.1. On the host, in /var/log/syslog I am getting quite a number of the following messages: Apr 4 19:35:...
2
votes
1answer
2k views

Debian OpenVPN server with multiple users

it is possible to setup a OpenVPN server with multiple clients, which are using username and password for the authentication instead of files?
1
vote
1answer
500 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/<...
2
votes
1answer
2k views

How to use OpenVPN environmental variables for inline scripts?

I'm trying to use environmental variables offered by OpenVPN inline. This works just fine: OpenVPN client config: [...] up /tmp/script.sh [...] /tmp/script.sh: #!/bin/bash echo $ifconfig_remote ...
2
votes
1answer
127 views

Can't resolve all names once connected to a VPN

I had some trouble to establish a connection with a VPN server. Here is a link to the concerned thread: StackExchange VPN connection. It was mainly a DNS issue and it works now. However, I can now ...
1
vote
0answers
71 views

Forward port to OpenVPN Client [duplicate]

I have an OpenVPN Server running on my VPS. The clients behind that server are now able to surf on the internet as anonymous. Now I want to forward a port to a client. I already added these rules, ...
0
votes
1answer
235 views

Can Linux differentiate between HTTPS and OpenVPN traffic?

If I have a linux server that is receiving both HTTPS and OpenVPN traffic on the same port (TCP 443), and I can't change either server port, how can I redirect just the OpenVPN traffic to a different ...
1
vote
0answers
50 views

How to specify “valid until” date in OpenVpn for a user?

When I generate a certificate of OpenVpn for a user, is there any way to specify the "valid until" date? So that once that valid date has passed, a user is no longer able to connect to an OpenVpn ...
5
votes
1answer
5k views

OpenVPN Client and Server on same machine - Server doesn't allow connections when client is connected

I am new to this community and am hopeful that somebody can help me. Please let me know if I haven't posted all required information. Situation: I have a linux server (raspberry pi, 192.168.1.2) ...
1
vote
1answer
53 views

Securing LAN www server with OpenVPN?

On separate machine Ive setup some www server based on Debian 8 for testing purposes. It has also samba and GIT server installed. Today we got public ip from our ISP and i redirected port :80 to our ...
2
votes
0answers
51 views

OpenVPN: raspberry pi AP to other pi w/ VPN

I've established, I hope, an openvpn server on my raspberry pi at my house. I have another Raspberry Pi acting as an AP at my university so that my lab can connect to the internet through the AP. I'm ...
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 ...