Questions tagged [openvpn]

OpenVPN is a free and open source software VPN solution. It allows secure point-to-point or site-to-site connections with routed or bridged configurations and remote access facilities.

OpenVPN is a free and open source software application that implements VPN techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses SSL/TLS security for encryption and is capable of traversing network address translators and firewalls.

It's architecture is build upon 4 principles:

  • Encryption
  • Authentication
  • Networking
  • Security

More info is to be found on the Open-Source site of VPN.
A very thorough tutorial can be found on Shorewall.

3274 questions
4
votes
4 answers

Bypass VPN for HTTP/HTTPS traffic on Ubuntu?

I have an Ubuntu 14.04 machine that all it's outgoing traffic is through a VPN, and I'm required to make sure that HTTP and HTTPS traffic don't go through the VPN.I've looked into static routing but it seems to handle only layer 3.How should I…
thedp
  • 333
  • 1
  • 6
  • 14
4
votes
1 answer

After openvpn setup client cannot connect "Cannot load inline certificate file"

Good day to everybody! I have tried recently to install & configure openvpn for my server. I have created certificates, tunneling seems to with fine at lease ifconfig shots that tun0 has been initialized. But when i try to connect with…
Artiom
  • 43
  • 1
  • 1
  • 5
4
votes
2 answers

pfSense Site-toSite VPN with OpenVPN connects but won't route traffic

Using two pfSense routers, I've created a shared-key VPN between 2 sites. Both routers are pfSense 1.2.2. The pfSense box at the client site is the gateway router for that site, but at the server site the pfSense is NOT the gateway for that LAN. …
nedm
  • 5,630
  • 5
  • 32
  • 52
4
votes
1 answer

RTNETLINK answers: File exists -- OpenVPN errors

I have a bunch of servers that connect to the world through a "gateway" server that uses a NAT to redirect to the internet. I am trying to connect the gateway server to a VPN client through an OpenVPN config file. when I connect it returns an error…
Ahmed Fayad
  • 41
  • 1
  • 2
4
votes
2 answers

VPN access to LAN over internet, same device IP on Local and Remote network

I successfully configured a VPN connection to my Home network over internet following this guide. The current configurations is: Home Network (Remote) LAN: 192.168.1.1 => Router/Modem Gateway 192.168.1.20 => OpenVPN server (BananaPI device)…
rdbisme
  • 184
  • 1
  • 3
  • 9
4
votes
1 answer

OpenVPN Access Server: Remote Subnet Cannot Access Client's Resources

I have OpenVPN Access Server running on AWS. Here's the configuration: 172.18.16.0/20 Client (172.18.16.101) ----- OpenVPN Server (172.16.0.0/20) | | …
keerati
  • 61
  • 7
4
votes
1 answer

OpenVPN client on Amazon EC2 leading to SSH disconnect

I am running Ubuntu 14.04 on Amazon EC2. I'm trying to connect the EC2 instance to OpenVPN so the traffic routes through the VPN. When I run the following: sudo openvpn --config .ovpn, the SSH connection disconnects, and I'm unable to…
henrybai
  • 41
  • 3
4
votes
0 answers

OpenVPN routing based in LDAP Authentication?

To understand the solution better this is an example: The company has 1000 users that constantly switch seats (computers are set with DHCP IP, so the user can constantly have his IP address changed) and teams (LDAP group). Each team (LDAP group)…
4
votes
1 answer

Tcpdump/Iptables on bridge interface without assigned IP address

I have set up a bridge interface without an ip on it. $ brctl addbr br0 $ brctl addif tap0 $ brctl addif tap1 $ ifconfig br0 up As seen above, this bridge is connecting 2 TAP interfaces setup through openvpn. I am able to ping and send traffic…
ByteFlinger
  • 193
  • 1
  • 1
  • 7
4
votes
1 answer

SSH authentication based on existing OpenVPN tunnel

I have a single CentOS server, and several Windows clients that should connect to it, from remote. I've successfully setup OpenVPN (with Public Keys), with which the clients connect to the server; and then they use SSH to do the actual work.…
Zvika
  • 233
  • 5
  • 10
4
votes
2 answers

Failover or replication with an OpenVPN server?

Is it possible to implement two OpenVPN with failover and replication capability? As in, if one is down/fails, the other one is avaliable for authentification, server/client configuration, etc. ?
riahc3
  • 505
  • 5
  • 11
  • 29
4
votes
1 answer

openvpn TLS handshake fails on client because firewall drops packets (but why?)

I seem to have problem with my openvpn server - client connection. now, the important information is in the log (verb3) of my client: Mon Mar 30 17:09:59 2015 OpenVPN 2.2.2 x86_64-slackware-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Jul 4…
nass
  • 568
  • 4
  • 10
  • 24
4
votes
1 answer

Amazon EC2: OpenVPN server won't route bridged packets from client to VPC subnet

I have a bridged OpenVPN setup on a Linux server in an Amazon EC2 VPC. (Spent hours on docs, reading similar problems, here, openVPN forums, no luck yet.) The bridged interface is up and contains both sub-interfaces: # brctl show bridge name …
BaseZen
  • 394
  • 2
  • 14
4
votes
3 answers

How access remote network with OpenVPN?

I am currently trying to configure OpenVPN to access our company network remotely. I was able to establish a connection and ping the server at the configured address (10.8.0.1), but I was not able to access the network at the server side from…
Karsten
  • 141
  • 1
  • 1
  • 3
4
votes
0 answers

OpenVPN ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)

I'm trying to configure OpenVPN on my Debian 7 VPN but I'm getting the following error ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg) I tried the suggestions in the comments here…
Roemer
  • 141
  • 1
  • 5