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

learn more… | top users | synonyms

1
vote
1answer
227 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
23 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
104 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
43 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
270 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 ...
0
votes
1answer
338 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 ...
1
vote
1answer
70 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
286 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 ...
0
votes
0answers
155 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 ...
0
votes
0answers
16 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 ...
1
vote
1answer
115 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 ...
2
votes
0answers
180 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
271 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
343 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 ...
2
votes
1answer
571 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 ...
2
votes
0answers
112 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
248 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. ...
0
votes
0answers
35 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 ...
1
vote
0answers
23 views

read-only ldap client setup

I have a Debian Linux box hosted on the cloud that I want to provide mail services with (Postfix/Dovecot). I want it to access my openLDAP server at home for authentication and to provide users email ...
0
votes
0answers
83 views

OpenVPN - How to log user activity?

I have a small OpenVPN server and I want to log which sites/IPs my users are accessing, and how much traffic they've consumed. Is there a way to do this? Thanks!
1
vote
2answers
100 views

Why ip_forwarding=1 fails with VPN?

My computer offer a Wifi AP, to share its eth Internet connection. It works painlessly. I decided to connect my computer to my VPN server (my eth <=> VPN distant server), in order my "WifiAP ...
0
votes
1answer
145 views

How to bind wlan and tun

When you want to 'bind' eth and wlan on your computer, you use ip_forwarding set to 1. How do you do to 'route/bind' such a configuration to access VPN server from wlan , through eth? anna ...
0
votes
1answer
78 views

OpenVPN clients cannot share their connection to the Internet

Context: a Wifi VPN gateway (Linux Ubuntu computer) Simply One distant Server (www.example.com) and One Client (Paul, Ubuntu Linux, gateway) linked with openVpn. Server allows Paul to ...
0
votes
0answers
54 views

OpenVPN “breaks” my local DNS down

Context: Router-computer (Ubuntu 14) runs a wifi AP (wlan0), as a router between clients and Internet (on eth0). For DHCP it uses isc-dhcp-server and DNS resolvers are defined in ...
0
votes
0answers
65 views

Questions about setting up an OpenWRT Router as a client and ethernet ports

I'm fairly new to Linux and wanted to create a little OpenVPN setup. I have a computer setup with an openVPN server and a (cheap TP-link) router with openWRT and OpenVPN (client). Basically, I want to ...
0
votes
1answer
161 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
137 views

Raspberry Pi OpenVPN SSH problem

I followed this tutorial to configure OpenVPN and it and runs very well: http://blog.frd.mn/raspberry-pi-vpn-gateway/ Now I want to access my Raspberry Pi via SSH. OpenVPN is most of the time ...
2
votes
0answers
497 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 ...
0
votes
0answers
48 views

Openvpn does not work

My VPN service has given me a zip containing a .key file, a .ovpn file and a .crt file. I used the following command to import the ovpn settings root@test:~$ openvpn ~/path/foo.ovpn After ...
2
votes
0answers
1k views

OpenVPN client config: Route command fails

I want to connect to my company's VPN server, so I can access work resources. I'm running Ubuntu Gnome 15.04, and I've been given an ovpn-file. I installed OpenVPN and run sudo openvpn --config ...
0
votes
0answers
110 views

OpenVPN is working but not DNS resolution

I am using : uname -a Linux 2.6.32-042stab108.5 #1 SMP Wed Jun 17 20:20:17 MSK 2015 x86_64 GNU/Linux This is my server config: cat /etc/openvpn/server.conf | egrep -v "#|;" port 1194 proto udp ...
0
votes
1answer
1k views

How to make OpenVPN to autoreconnect to gateway at any time

I've recently discovered a built-in way to have OpenVPN to auto connect to VPN gateway on startup, which is via setting profiles .conf files in /etc/default/openvpn as a part of AUTOSTART parameter. ...
0
votes
1answer
2k views

How to get systemd running correctly?

I'm currently trying to set up a OpenVPN on a Debian GNU/Linux 7 (wheezy) server, via SSH. I haven't really used Linux before, so I'm completely new to the terminal etc. However, in a guide that I ...
1
vote
0answers
62 views

Password entry only responds to Ctrl + D, and password cannot be read

I am trying to run build-key-pkcs12 user on my OpenWRT NSLU2, to generate some client keys for the users of my VPN. Everything runs normally until I get to the enter export password part, and the SSH ...
0
votes
0answers
145 views

openvpn: iptables not forwarding

I have the following topology: And I'm following the iptables rules listed on https://community.openvpn.net/openvpn/wiki/BridgingAndRouting Here's the output of iptables -L -v Chain INPUT (policy ...
1
vote
1answer
210 views

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 ...
0
votes
0answers
79 views

External port forwarding stop working when VPN is activated

I've a problem with my local Debian server. I use a port forward to allow access from outside my lan to my server. It's works very well but when I activate my VPN (OpenVPN) on my server, the port ...
1
vote
1answer
213 views

Rotate remote server in openvpn config

In my config, I have chosen a remote server for hide.io: # cat /etc/openvpn/anonvpn.conf |grep remote remote nl.hide.me 3478 It seems like some servers are somehow overloaded. I have a script that ...
0
votes
0answers
65 views

openvpn connection tracking

We have an openVPN-server based on Debian. Client connects to server and get local IP-address, for example 10.20.0.4. Is it possible to get information, what web-sites does it use? We consider to ...
1
vote
0answers
119 views

Unable to surf internet with VPN on OpenBSD

I am using OpenBSD 5.7-amd64 with the latest patches applied. I downloaded and installed OpenVPN (package version: openvpn-2.3.6.tgz) available for OpenBSD 5.7 using the following command: sudo ...
1
vote
2answers
340 views

Iptables exception for specific port

I'm new to iptables but configured a simple natting today on my raspian: # Always accept loopback traffic /sbin/iptables -A INPUT -i lo -j ACCEPT # Allow established connections, and those not ...
0
votes
0answers
249 views

OpenVPN traffic re-routing fails

I have installed a small OpenVPN server on a ArchLinux server I own to get a little more security on my laptop (also ArchLinux) connected to a unsecure Wi-Fi connection. Until recently, the VPN worked ...
0
votes
1answer
661 views

/bin/sh script error “arithmetic expression: expecting primary: ” + “ ”

ERROR: ./client-disconnect.sh: 22: ./client-disconnect.sh: arithmetic expression: expecting primary: " + " I just need to know how to fix it. It's for user accounting with OpenVPN. Script ...
2
votes
1answer
891 views

Run openvpn without root privilegies

I am working with openvpn, when I type: $ sudo openvpn Every is fine, but when I type: $ openvpn bash: openvpn: command not found I try in my Debian 8 with this instructions but in Jessie I can ...
0
votes
1answer
451 views

How to check server.conf error for OpenVPN

I want to install OpenVPN server in my VPS. After configuration I run sudo service openvpn start, but failed to start. Is there a some kind of "grammar check" option for server.conf? I put the ...
0
votes
0answers
151 views

OpenVPN connection impossible from some network

I sucessfully installed an OpenVPN serveur on my Raspberry Pi and everything works like a charm when I want to connect to the VPN server from a random 4G or wifi network. I configured OpenVPN to use ...
0
votes
0answers
162 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 ...
3
votes
2answers
6k views

Debian 8 Jessie with OpenVPN client

I have a Debian 8 Jessie server that I need to connect to my home network and I'm using an OpenVPN server on a pfSense 2.2 box at home. I have done this fine under older Debian versions, so I'm ...
0
votes
2answers
601 views

OpenVPN and MerlinWRT

My ASUS router is flashed with MerlinWRT. This configuration used to work, however now when I connect I get, $ sudo openvpn ./client1.ovpn OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] ...
0
votes
0answers
113 views

Forward only one port in openvpn

I have a ‍openvpn server in Amazon Cloud and I use it to make a link between my home pc and linux computer which is located on a corporate network. It works except that it routes all traffic through ...