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

learn more… | top users | synonyms

1
vote
2answers
3k views

Ensure torrent client uses openvpn

I recently signed up to a VPN provider and to log in, I use network manager for my normal wireless connection and then start the openvpn connection from network manager. In my browser I can check ...
1
vote
0answers
7 views

expressvpn always blocked

I use expressvpn for making google accessible. But recently, I cannot connect to the expressvpn with .ovpn files. I had stopped firewalld and iptables server, but it did't work. But the expressvpn on ...
1
vote
1answer
1k views

“E: Sub-process /usr/bin/dpkg returned an error code (1)” when I try and install OpenVPN. What is this?

Whenever I try and install OpenVPN on My Debian x86 Minimal VPS I get that error. Here is the full code if that helps: root@fadvps:/# sudo apt-get install openvpn Reading package lists... Done ...
2
votes
1answer
50 views

Block all internet connections unless connected to OpenVPN server

I want to block all internet connections unless I'm connected to my OpenVPN. Now of course, I need to allow connection to the VPN server. Can this be done, by allowing out/in traffic to/from the VPN ...
0
votes
0answers
4 views

Disconnect tunnelblick after every 25sec

I have install latest Tunnelblick ( 3.5.5 ) and and also have .ovpn file for configure network on my mac machine. It's connects only on first attempt. It remain connect as much as i want. But when i ...
4
votes
1answer
35 views

port forwarding to application in network namespace with vpn

I was able to set up a network namespace, establish a tunnel with openvpn and start an application that uses this tunnel inside the namespace. So far so good, but this application can be accessed via ...
0
votes
1answer
37 views

OpenVPN server on Kubernetes cluster / DNS and Service resolution

I have a Kubernetes cluster running applications (currently on a set of Vagrant CoreOS VMs on a local server) I want to be able to debug a particular application locally on my laptop, so I worked on ...
2
votes
1answer
811 views

How to define DNS server in openvpn?

I setup an openvpn server with static key (certificate mode is not usable due to DPI at the national gateway), but I cannot successfully change the DNS automatically after the connection. I searched ...
0
votes
2answers
1k views

Route wlan0 to openVPN tunnel and rest to eth0

I'm having problems to create route/iptables rules for following configuration: I have an openVPN server (tun type) running on my raspberry machine at home At work i have company pc (behind proxy) ...
2
votes
2answers
3k views

Amazon AWS (Amazon AMI) installing OpenVPN

I'm trying to set up OpenVPN on AmazonAWS. I'm pretty new to Linux so I followed a tutorial. I ran yum -y install openvpn and I received a message saying it was successfully installed. The next step ...
-1
votes
0answers
18 views

pfsense openvpn configure

I have tried configuring openvpn in pfsense by below given link, by that way but i had openvpn connecting by pfsense dhcp address only, while trying form outside ip its unable to connect. ...
2
votes
1answer
1k views

OpenVPN CLI for killswitch or connection fallback prevention

I'm using OpenVPN via command line to connect to my VPN on my current Linux distro since there is no GUI available (which had a killswitch checkbox). My problem is, I can't find any way to add a ...
0
votes
0answers
15 views

Auto connect and reconnect to VPN on Debian 8

I am searching for a way to always enforce a VPN connection with a chosen profile (ovpn or network manager) whenever I use an internet connection. I want to use OpenVPN and Debian 8. Is there a ...
1
vote
1answer
1k views

Can you set OpenVPN to auto-connect to 'fallback' .ovpns in case the current one fails?

I'm in Debian 7.8 Wheezy, and have installed openvpn from the stable repository. I'd like to set up a system for another user (who does not have high computer literacy) where, if the primary server ...
0
votes
1answer
2k views

What is the security impact of not using tls-remote with OpenVPN

Is it a security issue not using the tls-remote option in OpenVPN? That is not verifying the server's common name. Is a MITM attack possible? Could this be an issue, especially with services like ...
0
votes
1answer
51 views

pfsense tcp connection between openvpn and lan is broken

I am trying to connect openvpn clients into an internal lan, so they can access a http server. pfSense as well as my http server are running on a virtual machine of my home proxmox node. Both are ...
2
votes
0answers
404 views

How to get the VPN icon in Kali 2.0 (gnome) as root?

I have trouble getting the VPN status icon into the top bar for Kali 2.0 (gnome). Installation I recently installed latest kali 2.0 (in a VirtualBox from kali-linux-2.0-amd64.iso). I checked the ...
8
votes
6answers
16k views

Using OpenVPN with systemd

Ok, so I've been searching the web for solutions to this problem with no answers seeming to work for me. Hopefully someone can help me. I'm only trying to configure the OpenVPN Client. I'm running ...
0
votes
1answer
30 views

OpenVPN to access restriced pages

I am looking for a method to go out with different ip in order to access some sites that are blocked by my local provider(I need to write scripts to retrieve data from thos pages).On ...
2
votes
1answer
705 views

TUN/TAP Will not load

I have an OpenVZ server but can't seem to get the tun/tap module to load. I ran modprode tun on the hostnode but when I go under the VM I get: Tue Sep 24 03:08:36 2013 Note: Cannot open TUN/TAP dev ...
1
vote
1answer
38 views

Nothing happens when trying to add/set default gateway

I'm connected to a network using VPN (Managed byt NetworkManager, Fedora 23), and I want to route all traffica via the VPN network. But for some reason nothing happens when I run ip route add or ip ...
1
vote
1answer
32 views

How can I check whether a given connection is going through my VPN?

I use openVPN to connect to a server at work. However, I only want to use the VPN for work-related stuff and not for my regular browsing. I don't really know much about VPNs, so it's entirely possible ...
0
votes
0answers
20 views

OpenVPN Connection without disabling Internet debugging

I've recently configured OpenVPN on my server (CentOS 7) and been configuring it for hours now and everything seems to work fine except that when I connect using a client machine I cannot access the ...
1
vote
0answers
34 views

How to add a dependency to internet to a service with systemd on arch?

My openVPN connection start perfectly on boot with connman service for Internet and openVPN for my vpn connection. But, If I boot with a connection to Internet at boot and after many time I ...
1
vote
1answer
117 views

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 ...
0
votes
1answer
11 views

iptables and OpenVPN configuration

I have following iptables rules: -A INPUT -i eth0 -p udp -m udp --dport 1194 -m state --state NEW -j ACCEPT -A INPUT -i tun+ -j ACCEPT -A INPUT -j DROP -A FORWARD -i tun+ -j ACCEPT -A FORWARD -i tun+ ...
0
votes
0answers
48 views

IPv6 router advertisement seems to break OpenVPN setup

I have an OpenVPN setup on Debian Jessie, or Raspbian to be precise, that provides an IPv4 and IPv6 subnet for the clients. The server configuration of OpenVPN contains: dev tun server-ipv6 ...
0
votes
1answer
197 views

How do I get the network manager applet and install openvn on Kali 2.0 Gnome 3?

I'm attempting to install VPN on my Kali Linux Gnome 3 laptop. I've followed the instructions on this page ...
0
votes
1answer
27 views

All connections get lost after openvpn connected for a while

I have a openvpn works perfect in the windows7, but in my ubuntu OpenVPN 2.3.7, it is very strange. I can make the openvpn login, and connect to my vpn network, browse the internet. But after some ...
0
votes
1answer
111 views

OpenVPN with IPVanish on Linux Mint: Connects but no internet access

I'm trying to connect to an IPVanish server on Linux Mint. IPVanish does not provide software for Linux so it has to be done manually. I downloaded an ovpn file from IPVanish here. I then went to ...
1
vote
1answer
46 views

OpenVPN connection on remote server blocks all incoming connections

I login into remote server (DigitalOcean) by SSH, and start OpenVPN client there. When this client gets connected to its endpoint, my SSH connection breaks. After that I cannot connect to server or ...
2
votes
1answer
147 views

Proxpn and other VPNs in Iran

Back in the free world I purchased a lifetime-package of proXPN and tested it quite successfully under Linux. Now I'm in Iran and everything fails. We seem to use ITC as ISP - which is the ...
1
vote
1answer
136 views

ssh into a server which is connected to a VPN service

I have a virtual private server, which I would like to run a web server while my server is connected to a VPN service When the VPN connection to my provider is not up, I can do anything I want with ...
0
votes
2answers
471 views

Route everything through VPN except SSH on Port 22

I have a Server and I want to setup a VPN on it to route all traffic. Of course I dont want to block myself out when establishing the OpenVPN connection (already did that..) so I want the Port 22 to ...
0
votes
0answers
68 views

How to make resolvconf / dnscrypt / unbound work together on systemd - and respect openVPN routes?

I'm finding it tremendously confusing to appropriately setup Unbound.service on systemd. Use Case I am trying to get my Debian Jessie laptop to use DNScrypt as default DNS and Unbound as the local ...
2
votes
3answers
15k views

OpenVPN - Socket bind failed on local address [AF_INET] IP:1194: Cannot assign requested address

How get it resolved? I am trying to start the openVPN server so that i can login remotely using username: demo and password: demo, but openVPN server is failing to start. What am i doing wrong, how ...
1
vote
1answer
74 views

OpenVPN connection help. Multiple Tunnels

i have a system setup, mostly from reading posts and instructions and am having a bit of trouble. My basic setup multiple openvpn clients, e.g. macbook, android phone dd-wrt router / firewall ...
0
votes
0answers
12 views

socks to remote vpn clients on single server

I have the following setup: [user1] > ssh -D 1080 server > [server A a.a.a.a] openvpn --config vpn1.ovpn > [vpn server #1 x.x.x.x] [user2] > ssh -D 1081 server > [server A a.a.a.a] openvpn --config ...
0
votes
1answer
93 views

route on specific interface based on port

I have a php / bash application on top of a Linux machine with 1 physical interface connecting to e.g., outbound webserver 123.123.123.123 :80. I do this via several openvpn providers. I have both tun ...
0
votes
1answer
2k views

iptables redirect traffic from VPN interface to next interface

Can you help me with this problem please? I need redirect all traffic from tun0 interface (OpenVPN tunnel) to eth1 interface. eth1 is internal network behind this system which works as special ...
2
votes
0answers
105 views

OpenVPN public IP on tun0 interface instead of vpn network

I cant access devices in local network behind openvpn client using public IP of VPN server. A litlle bit of information Openvpn server (openVZ, Debian7) Opevpn client (raspberry pi 2 raspbian ...
1
vote
0answers
113 views

Connect to Ubuntu Server through SSH over the internet

I have a ubuntu server that I access locally through ssh, but I need to configure it to be able to access it through ssh from the internet. I connected eth1 to the internet and configured the ...
0
votes
1answer
39 views

Daemon OpenVPN configuration file with .conf?

In the video, there is one machine connected to another via SSH, where the second OpenVPN daemon is already started and configured with a user/password requested at login: http://youtu.be/tSNCE6j2zxM ...
7
votes
1answer
866 views

Import VPN config files to NetworkManager from command line

One can import .ovpn files to NetworkManager through GUI tool nm-connection-editor (right click on nm-applet and click on Edit connections): Add -> Import a saved VPN configuration.... My goal is to ...
9
votes
4answers
2k views

Feed all traffic through OpenVPN for a specific network namespace only

I am trying to set up a VPN (using OpenVPN) such that all of the traffic, and only the traffic, to/from specific processes goes through the VPN; other processes should continue to use the physical ...
0
votes
0answers
118 views

OpenVPN integration with LinOTP

I am trying to run OpenVPN with two-factor authentication using LinOTP. I can't authenticate my login and password (PIN+OTP) with FreeRadius which is configured with LinOTP using OpenVPN. I get ...
0
votes
1answer
109 views

Raspberry Pi run script after startup

I have a Raspberry Pi with openvpn installed and running perfect and I want to launch a command after the desktop mode enters and after all is loaded and running including openvpn on Raspbian. I ...
0
votes
0answers
27 views

Connecting Shrew using terminal

I am using Shrew in CentOS to enable VPN tunneling. I use the following to start it. iked qikea Now I want to enter username and password also from terminal. I don't want to use the GUI so that I ...
2
votes
0answers
81 views

How to restrict openvpn clients to communicate with other vpn clients

I have this Openvpn scenario.. I have Lot of openvpn clients connected to my server, All i want is to restrict client to client communication. for eg. i have ...
1
vote
0answers
151 views

OpenVPN load balancing

The question is in general about the best practices. VPN network has to manage about a thousand of simultaneous connections, so there is a problem in load balancing over several OpenVPN servers. ...