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

learn more… | top users | synonyms

2
votes
0answers
116 views

openvpn with systemd: reconnect

Im using openvpn enabled as a service. It works well, but once I get assigned a new IP adress or lose the connection, I cant access to the internet any more. Then I have to systemctl restart ...
1
vote
2answers
8k 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 ...
3
votes
1answer
2k views

Set up firwall with iptables to only allow VPN

Im using IPredator VPN with openVPN and I want to make sure that if the connection is dropped, i wont submit data from the internet without the VPN. I heard that I could do that with iptables and a ...
1
vote
1answer
1k views

OpenVPN autostart with systemd

I enabled an openvpn globally by systemctl enable openvpn@con.service Which works well and I'm connected to my VPN after reboot. But once I suspend my laptop instead of rebooting, or simply lose ...
2
votes
0answers
279 views

Mint changes default route when eth0 comes back and breaks existing tcp connections

I have two interfaces on my laptop (eth0, wlan0). lets say I am moving away from desk and connecting to an internal network A using openvpn software which uses wlan0 as gateway. I then ssh to a few ...
6
votes
1answer
585 views

SELinux re-labeling problem while attempting to run OpenVPN

I'm trying to run OpenVPN under Fedora 19 with selinux (selinux-policy-targeted) in enforcing mode, and I'm running into an AVC I'm not entirely sure how to handle. Starting OpenVPN from the command ...
4
votes
1answer
1k views

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 # outbound ...
5
votes
1answer
538 views

How can I make the eth1 up and always available for remote access, where eth0 will be used for host to host IPSec VPN?

I am running Amazon EC2 instance with Red hat enterprise linux, where I have two network interface. Now: eth0 is currently active having public ip where I am remotely logged in via SSH, to ...
1
vote
1answer
825 views

Openvpn clients can not access to LAN

Openvpn: clients connected to server = firewall; but can not access database in LAN I have 5 vlan: vlan 2: 192.168.12.0/24 vlan 3: 192.168.13.0/24 vlan 4: 192.168.14.0/24 vlan 5: 192.168.15.0/24 ...
1
vote
1answer
113 views

VPN that gives me an internal IP and allows me to reach the internal network from outside

Using Red hat linux/CentOS. Where I have 1 Public IP, that is accessible remotely via SSH. Now that server needs to connect one VPN Server so that VPN server can give one IP to our Server. Now from ...
4
votes
1answer
402 views

List all DNS Servers, including those pushed by VPN

I want to know which DNS servers are in effect when I run commands like nslookup, dig, host, ping, etc. The general answer is to cat /etc/resolv.conf, or to look at NetworkManager, but that's only ...
0
votes
0answers
327 views

Frequent disconnections in OpenVPN

I'm suffering random disconnections with OpenVPN. I don't know much about the subject, maybe you can point me in the right direction? Here is the tail for /var/log/messages, it contains a <warn> ...
0
votes
1answer
148 views

Version of OpenVPN for Linux kernel 2.4.21 & having iOS client

I have the following requirements: Have OpenVPN version that works with iOS client The OpenVPN version should also be able to be compiled with and work on Linux kernel 2.4.21 (due to business ...
2
votes
1answer
355 views

tun0 enabling after installing openvpn

I just installed openvpn but can't see tun0 when I do ifconfig. when I ssh to a remote server, I get the error: debug1: Authentications that can continue: publickey,password How can I enable it? ...
1
vote
1answer
111 views

netfilter's configuration to allow openvpn

I've got a debian server at home, that I use to have a VPN access to my home computers. I've redirected the openvpn port on the port 2000 : in my file "server.conf", I've added this : #Server mode ...
1
vote
1answer
591 views

Ethernet-bridged OpenVPN server not accepting connections from outside

I have configured an OpenVPN server with ethernet bridging using this howto and this page regarding ethernet bridging. The server is also running Samba, Apache and Webmin. Linux klesk 2.6.32-5-amd64 ...
2
votes
2answers
1k views

openvpn logrotate

I'm trying to rotate OpenVPNs logfiles every month. The problem seems to be that simply renaming the files doesn't do the trick. The data still gets written to the old file (which indicates that the ...
1
vote
1answer
681 views

VPN, one server, multiple clients

I wanted to know if it was possible to have a server running OpenVPN with server key and have multiple clients connect to it? I would like the server to be 10.9.8.1, the first client to be 10.9.8.2 ...
0
votes
1answer
108 views

OpenVPN problem

I've Configure an OpenVPN (2.0.9) on a CentOS 6.2 (2.6.32-358.2.1.el6.x86_64) to accept OpenVPN client connection. But when I try to connect from Windows 7 by OpenVPN client tool it return me some ...
1
vote
1answer
3k views

Iptables forward with pptp and openvpn

I have OpenVPN and PPTP installed on a VPS. I'm having a few questions that I can't seem to get a firm answer on. I want to install OpenVPN on 1.1.1.1 (eth0, public IP address) and PPTP on 1.1.1.2 ...
0
votes
1answer
593 views

Connecting from OpenVPN Server to MySQL Server

I have an OpenVPN server installed on a server. What I'm trying to do connect from the OpenVPN server using the mysql client to the MySQL server than is connected to the OpenVPN server using a ...
0
votes
0answers
463 views

Tools to find OpenVPN UDP packet corruption

Are there Unix tools to troubleshoot UDP packet corruption? I'd like to avoid writing my own... I think ping might report when a packet is corrupted, but it doesn't really seem to have options ...
3
votes
1answer
216 views

IPFW Port Forwarding

This is my situation: I want to connect to an OpenVPN server from my office (we're using a proxy, only ports 80 and 443 are allowed). Server IP address is: 176.31.250.232:843 My static IP address ...
1
vote
1answer
4k views

Only routing certain traffic through VPN

I have a central development server, running a VPN server, and a couple clients that need to connect to it. The server is running Apache, but is only accepting local requests (only listening on ...
1
vote
1answer
100 views

Should a VPN have access to all networks from and on all clients?

I have an OpenVPN server and many clients connecting. The VPN settings include port 443 dev tun proto tcp When I add clients to my VPN I have to use apaches proxypass in order to access resources ...
1
vote
1answer
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
864 views

OpenVPN dropping connection every time interval

I have setup OpenVPN. The server is a router running DD-WRT with OpenVPN setup. The client is Ubuntu 12.04. The connection is established without issues. I can ping clients at the VPN side. The ...
1
vote
0answers
96 views

Cannot see an EC2 VPN server from another EC2 instance

I'm using openVPN to connect to one EC2 instance from another. The client cannot see the server, however, despite that servers outside of AWS can see the server and successfully negotiate with it. ...
1
vote
2answers
272 views

OpenVPN struggling

I've got some problems with my OpenVPN setup. The Setup: -> Ubuntu Server 12.04 -> Two active NIC's: eth0 (default): 192.168.1.0/24 eth1: x.x.x.x (external ip) I've managed to get the routing to ...
4
votes
2answers
455 views

Configuring OpenVPN to share internet

my university is providing OpenVPN to provide public internet IP address for students (for some libraries etc.) - in other words, they are sharing their internet connection via openVPN... I would ...
-1
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 ...
2
votes
2answers
25k views

openvpn WARNING: No server certificate verification method has been enabled

I tried to install openvpn on debian squeez (server) and connect from my fedora 17 as (client). Here is my configuration: server configuration # Server TCP proto tcp port 1194 dev tun # Keys and ...
6
votes
2answers
1k views

1:1 NAT with several identical LANs

I want to connect several LANs located on remote buildings. The "central" site have a Linux computer running OpenVPN. Each remote site also run OpenVPN. the central site has a LAN numbered ...
1
vote
2answers
721 views

OpenVPN uses wrong IP-Address

I've installed OpenVPN on a client (behind NAT-Router) and a VPS server. The tunnel is established. However, ping is only possible from client to server. The server uses its public IP address on tun0 ...
5
votes
2answers
10k views

Port forward to VPN Client?

I've run into a bit of a puzzle and haven't had much luck finding a solution. Right now I am (sadly) connected to the net via Verizon 3G. They filter all incoming traffic so it is impossible for me to ...
2
votes
2answers
1k views

Change default DNS on openvpn connect

I am using Network Manager on Ubuntu 12.10 to connect to an openvpn server. The connection works without problems. However, when I connect, I would like to change my default DNS server to a server ...
0
votes
0answers
218 views

No ports can be found using port scan

Problem: I have a laptop and a server (Home-Server) with fc17. They are both using the desktop environment. I am trying to set up a VNC server on Home-Server so that I can set everything up without ...
2
votes
1answer
993 views

Cannot load tun module

I cannot manage to load the tun module in my archlinux box. I'm trying to connect with openvpn, but the log says nm-openvpn[6662]: Note: Cannot open TUN/TAP dev /dev/net/tun: No such device ...
3
votes
1answer
996 views

Controlling openvpn auth-user-pass in ifup scripts?

I have the following configured in /etc/network/interfaces: iface companyvpn inet manual openvpn company This allows me to: ifup companyvpn But unfortunately I am unable to provide my ...
3
votes
0answers
181 views

iCloud stuff stops working while connected to OpenVPN

I have a fairly simple OpenVPN setup on an OpenVZ VPS with Ubuntu 11.10. Client is the Viscosity client on Mac OS X 10.8.2, and after some testing, we can rule out the client as being part of the ...
3
votes
0answers
373 views

Connect to a VPN from a Linux Virtual Machine

I am running an Ubuntu distro inside a VMWare virtual machine with a bridged connection on a Windows 7 host. What I am trying to do is to have the virtual machine connect to a VPN, but I'm not having ...
5
votes
1answer
435 views

How to make sure OpenVPN is connected?

I need some sort of "safeguard" for my VPN connection. If the connection drops, the machine shouldn't even reach the internet. (I can reach the machine by other means.) Is it possible somehow? If I ...
1
vote
0answers
882 views

No connections work after starting OpenVPN service?

I setup my Scientific Linux 6.2 as an OpenVPN client via the instructions here, and restarted my OpenVPN service. I checked /var/log/messages and it says the VPN connection was established. However, ...
2
votes
2answers
2k views

How to persist a file in /usr/local in embedded FreeNAS

I have embedded FreeNAS, version 8.2 beta. Now I would like to install openvpn, of course persisting between updates. I have managed to get the program itself persist by using mount -wu / pkg_add ...
1
vote
1answer
1k views

How can I force a tap/tun interface into the running state?

I am trying to capture packets on a tun interface with libpcap. I am creating the interface with: openvpn --mktun --dev tun0 When the adapter is setup it appears as so when I run ifconfig: tun0 ...
2
votes
2answers
3k views

Remote SSH login not working

I have a PC behind a router with port forwarding setup Port 22 for SSH which works perfectly - I can login and everything. What I am trying to do is let this PC connect to a VPN and only allow ...
1
vote
1answer
2k views

SIOCSIFNETMASK: Invalid argument using OpenVPN on Ubuntu

Trying to configure OpenVPN client on my Ubuntu desktop. Conf file: remote 192.168.11.103 #192.168.11.103 #85.249.45.106 #dev-node tap0 dev tap port 5027 ifconfig 10.9.0.74 10.9.0.73 route ...
2
votes
1answer
404 views

Should OpenVPN point to point tunnels be on different ports?

The OpenVPN cookbook shows an example for site-to-site VPN (3 sites). They configured each tunnel on a unique port: site A to site B: 1194 site A to site C: 1195 site B to site C: 1196 The author ...
4
votes
2answers
1k views

Installing OpenVPN to replace Cisco VPN because Cisco will not work with the kernel I am on or downgrade instead?

I had difficulties installing Cisco5.0 VPN on my Ubuntu 10.04 LTS. I asked for assistance in this question: link to previous question. The answer is that this Cisco program will run on only older ...
1
vote
1answer
2k views

How to configure OpenVPN to only listen on given interface?

How can I configure an OpenVPN server on a Linux machine to only listen on given interfaces? Are there any features like this in OpenVPN?