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
1 answer

OpenVPN needs to change its port every time I use

I have a Linode VPS that I setup OpenVPN server on it. Since I'm in China we have to deal with the GFW (Great Firewall), so I use the VPN a lot. The weird part is, that every time I use it, I need to change OpenVPN server's connection or I can't…
WoooHaaaa
  • 1,605
  • 4
  • 15
  • 13
4
votes
1 answer

IPv6 routing over OpenVPN

Trying to learn how IPv6 works with OpenVPN, so I wanted to setup following scheme. I have a VPS server (Ubuntu), which have been allocated a /48 subnet. ISP ipv6 gateway is XXXX:XXXX:XXXX::1 Server ipv6 address is XXXX:XXXX:XXXX:39::1 The idea is…
4
votes
2 answers

OpenVPN - iptables restrict one IP's access to only some servers

I have a large OpenVPN network. Most of the addresses have free access to one another. However a few IPs need to be restricted to only a couple of other IPs. For example 10.8.0.6 can only be allowed to communicate with 10.8.0.10.. But 10.8.0.10…
Kevin
  • 41
  • 1
  • 4
4
votes
2 answers

OpenVPN connects but gets invalid IP on Tap Device

I have a WinXP SP2 box trying to connect on a OpenVPN server and getting the following errors: Tue May 14 11:29:52 2013 Notified TAP-Windows driver to set a DHCP IP/netmask of 192.168.5.6/255.255.248.0 on interface…
Canti
  • 41
  • 1
  • 2
4
votes
2 answers

Cannot run OpenVPN on port 53 (DNS Stops Working)

So I'm trying to get OpenVPN to work on port 53 - sadly this isn't working. I used IP tables to map port 53 to port 1194 (standard OpenVPN port) Here's what I run to do this: iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-port…
4
votes
1 answer

OpenVPN enable split tunneling, client to overload over their own Internet connection

I am trying to enable split tunneling with my VPN network. I am using OpenVPN to host my VPN network and have follwed the steps to get split tunneling working however my clients still get the: 0.0.0.0 {VPN local address} push Here is my server.conf…
Jim
  • 43
  • 2
  • 6
4
votes
3 answers

creating proper vpn tunnel, when both LANs have the same addressing

I was following this tutorial http://wiki.debian.org/OpenVPN#TLS-enabled_VPN and this one http://users.telenet.be/mydotcom/howto/linux/openvpn.htm to create openvpn connection to my remote LAN. But both examples assumed that both LANs have…
Greg
  • 149
  • 1
  • 1
  • 6
4
votes
2 answers

what is best multi-server configuration with OpenVPN

We have a number of Database severs running MongoDB on Debian plus a number of Application servers also on Debian. The db servers hold replicating db clusters, so they need to talk to each other. Application servers need to talk to all db servers…
sebut
  • 53
  • 4
4
votes
1 answer

OpenVPN and routing

I've a server running openvpn, and I have a little issue. All my traffic is forwarded to the VPN, and when I use a website like "whatismyip" I see the server IP, so this part is working. But when I connect to a site hosted on the same server than…
Clem
  • 41
  • 2
4
votes
2 answers

How can I setup a VPN for remote users to connect to a AWS RDS server?

I have remote developers that travel and have constantly changing IP addresses. I would like them to be able to connect to a VPN running on a instance on EC2. Once they are connected to the VPN with a key they then can use the VPN to relay traffic…
Morgan
  • 155
  • 1
  • 4
4
votes
1 answer

pfsense peer-to-peer OpenVPN not connecting

I'm trying to setup a peer-to-peer OpenVPN between two pfsense servers running 2.0.1-RELEASE, but the client keeps getting the connection dropped, with a status of "reconnecting; ping-restart" and nothing appears to be routing between them. Both…
John P
  • 1,679
  • 6
  • 38
  • 59
4
votes
1 answer

How to handle OpenVPN client as a service, when the laptop is physically on the network already?

The Setup I've gotten OpenVPN working on our Windows XP laptops. Users are limited, so I went ahead and set OpenVPN client to run as a service, which is great anyway because that means they are on the VPN before logging in, so login scripts work,…
James
  • 819
  • 4
  • 10
4
votes
2 answers

Local domain DNS resolution not working using OpenVPN on a pfSense box

I am currently trying to setup an OpenVPN server with the intention of linking several servers together in order to run the backup jobs over the VPN. For this example, this is what I have: A pfSense server running OpenVPN (pfsense.vpn) Two clients:…
Aron Rotteveel
  • 8,449
  • 17
  • 53
  • 64
4
votes
4 answers

OpenVPN performance terrible to other machines on server's subnet

I'm using a "server" that is a hacked-up first generation Apple TV running Linux. I'm having a lot of trouble getting OpenVPN performance to be what I would expect with my new OpenVPN setup. The network looks like this: Home LAN 172.16.1.0/24 VPN…
4
votes
2 answers

How to setup openvpn on linux using existing certificates

I have a windows laptop with openvpn client installed and configured to connect to the company vpn using a signed certificate / certificate authority file. Now I'm setting up VMware Workstation with a Debian guest VM for development use which also…
Xoundboy
  • 603
  • 1
  • 10
  • 21