Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
5answers
5k views

OpenVPN: Connection established but can’t connect to server

I am trying to set up OpenVPN to allow me to connect a number of laptops to my network in a way that allows the laptops to connect to specific computers via HTTP (to e.g. a server management page) and ...
2
votes
3answers
14k views

OpenVPN working - but how to route all traffic down it?

I've setup a static one-to-one OpenVPN connection fine. However I can't seem to get the client to route all traffic via the VPN device. Here's my configs: Client config: remote 89.21.xx.xx dev tun ...
0
votes
1answer
5k views

Openvpn - enabled redirect gateway but can't access any websites

First of all I'm a newbie to servers but not to stuff like programming so not totally alien to command lines etc. Second, I want to run openvpn on my remote server and connect from my ubuntu desktop ...
2
votes
4answers
3k views

Restrict VPN client traffic to certain domains/IP

Is there any way to restrict a VPN client to only route certain traffic via the VPN and the rest via their local gateway? For example: traffic to a certain IP or domain gets routed across the VPN and ...
1
vote
2answers
3k views

openvpn routing in windows vista without admin privileges

my windows vista vpn client interface receives an ip in: 192.168.50.0/24 and the server pushes a route to the local lan 192.168.5.0/24 In my windows vista (client) the user account does not have ...
1
vote
2answers
309 views

Routing/Networking problem with OpenVPN + Linux

I have a problem where I have an office LAN and a colo network. The colo has a linux box that's acting as a router/VPN. I also have an office machine that's acting as a VPN client. The way it looks ...
2
votes
1answer
7k views

Connect to OpenVPN on Ubuntu Server from Windows 7

I am on my Windows 7 laptop and want to connect to my home network and browse to \\192.168.1.10. I have a Ubuntu Server running on my home network on 192.168.1.11. So far I have done this on my ...
2
votes
2answers
6k views

Site to Site VPN Gateway - Checkpoint R60 and OpenVPN

I'm new with this kind of stuff, I'm usually only configure VPN client connect to server, but this time I have to make Site to Site VPN gateway, and I'm very clueless about this. Anyone know where I ...
0
votes
1answer
439 views

OpenVPN client to client

I have set up a basic openvpn server with static keys. I have two clients that can see each other and transfer information between each other, but all traffic goes through the main VPN server. Would ...
4
votes
3answers
5k views

Opening up the subnet LAN behind an OpenVPN server

I've set up an OpenVPN server on my work network, and I am able to access the server from a remote machine over the vpn. However I can't work out how to access the lan behind the server. The network ...
1
vote
3answers
5k views

OpenVPN Route traffic through Windows XP

I have installed an OpenVPN server + client, the server is windows xp and the client is slackware 12 linux. I set up the first tunnel, test it, ping the machines from each side and saw it's working. ...
0
votes
3answers
1k views

How can I get my applications to use the tap0 device, rather than eth0?

I am using Ubuntu and I'm trying to establish a vpn-connection to an Endian server, which seems to be based on openvpn. I have installed openvpn and connected to the server, using the following ...
5
votes
2answers
3k views

Differences between SSH's tunnels and OpenVPN

I discovered that recent OpenSSH has support for tun devices. When it comes to tunnels and VPNs, I always thought the main programme was OpenVPN. Are there any advantages to using SSH tunnels? What ...
0
votes
2answers
360 views

OpenVPN advanced setup help

I am new to OpenVPN - I just know how to set up a basic tunnels between two computers, but now i am assigned with a lot harder task. I need to set up a special VPN: I got hosts A, B, C and D and all ...
2
votes
1answer
2k views

OpenVPN certificate whitelist instead of CRL?

is it possible to configure OpenVPN to use a certificate whitelist which contains allowed certificates insetead of a certificate revocation list (CRL) for disallowed certificates? Regards, Jochen
0
votes
1answer
599 views

OpenVPN on a Netgear GS108 switch?

I have a Netgear GS108 gigabit switch - can I flash OpenVPN on this? My network is as follows Internet <-> Motorola DSL Modem <-> NetgearGS108 <-> LAN I'm guessing I can't since this is ...
0
votes
1answer
6k views

How should openvpn config look like to tunnel “all traffic” thru vpn?

Many related questions on this site, looked thru a few of them, none helped my problem. Anyways my client is Vista, server is IPCop My client config file: #OpenVPN Server conf tls-client client dev ...
1
vote
6answers
22k views

OpenVPN Adding Client Keys

I have OpenVPN set up and working fine, however I want to add a new client key to it. Going off of the documentation, I issued the following commands with the following output on a CentOS box. $ cd /...
3
votes
3answers
2k views

Help setting up OpenVPN server

I set up an openvpn server on ec2 following the directions here: http://alestic.com/2009/05/openvpn-ec2 That all works great. I'd like to change this to use asymmetric keys, and allow multiple ...
1
vote
4answers
7k views

OpenVPN and UDP broadcasts

How can I get this to work? Hours of configuring - and no result. Is that possible at all? P.S. UDP broadcasts are needed by old games for LAN play.
2
votes
3answers
2k views

Initiating VPN connection from VPN server

I have a setup with a local host A behind a firewall acting as VPN client and a VPN server B which is publicly reachable. This setup works fine using openvpn. Now what I would like to do is to ...
1
vote
2answers
607 views

How to port forward a single port from any ip to a specific ip address with an Orange Livebox

In my specific example I am trying to use OpenVPN and need to port forward 1194 to my internal ubuntu machine on 192.168.1.12 from the Orange Livebox, but the port forwarding page wants an external IP ...
3
votes
2answers
785 views

OpenVPN: Where sould the private key be generated?

A friend of mine says that the keys (private and public) for the clients shall be generated at the server and somehow delivered to the client when setting up a new client for an OpenVPN based network. ...
1
vote
2answers
705 views

Using OpenVPN with the concentrator being on a dynamic IP

Is it possible to use both the OpenVPN and DynDNS services together? Would you advised against it for any reason (security, performance, etc.)? I am using DynDNS for my dynamic IP. Will OpenVPN ...
20
votes
5answers
22k views

Connect an iPhone to OpenVPN

Is there a way to connect an iPhone to our company OpenVPN server?
4
votes
2answers
25k views

Linux IP Forwarding for OpenVPN - correct firewall setup?

I have OpenVPN running on a Linux machine. The VPN server has a public IP address (x.x.x.x) and the VPN clients are assigned addresses on the "tun" device in 10.8.0.0\24. I have an IPTables rule to ...
2
votes
2answers
5k views

OpenVPN with a Windows Certificate Services PKI

has anyone tried using OpenVPN with certificates generated by Windows Certificate Services? In theory this should work. The provided easy-rsa PKI is not very comfortable to manage for many users. I ...
1
vote
3answers
3k views

The best point-to-point VPN?

I'm working with a contractor in a different country. We need some method to add his machine to the local network, using a point-to-point VPN. Unfortunately, Hamachi, while very easy to use, creates ...
2
votes
4answers
646 views

Need an absolute proxy server to route HTTPS, FTP, etc

I have managed to setup a squid proxy server as an HTTP proxy and this is working well. However, it does not work with HTTPS. I am looking at making use of an external machine to setup as a proxy for ...
2
votes
1answer
357 views

Odd routing issue after IP change

We recently got done doing a massive IP scheme change at work and since then I've noticed a few oddities. First, our setup: IPCop firewall which has - Wireless network (completely segregated) ...
2
votes
1answer
6k views

Setting up VPN on Ubuntu VPS @ linode

I'm really struggling with this because I'm not a network admin, only a mortal programmer. Linode gives you an external and internal IP for use with other nodes on the linode network. In my case I've ...
2
votes
4answers
17k views

OpenVPN Hardware Requirements

I am planning an new network. All the traffic coming out of this network will be fowarded into a VPN in order to exit out onto the Internet on a distant server. This will be done via OpenVPN. There ...
1
vote
2answers
2k views

Distributed VPN over Unreliable Networks

These two seem to be the closest to what I want: http://www.ntop.org/n2n/ OpenVPN with Quagga (OSPF) I will have servers behind routers/firewalls not in my control. Many may be ADSL or other budget ...
1
vote
3answers
6k views

VPN, LAN, Amazon EC2 instances , how to?

The problem is as follows: I have 2 windows2003 server instances running on the cloud. 1) How can I create a local area network from these 2 instances? 2) Assuming that I want to create a VPN ...
37
votes
6answers
52k views

How do you avoid network conflict with VPN internal networks?

While there's a wide variety of private non-routable networks across 192.168/16 or even 10/8, sometimes in being thoughtful of potential conflict, it still occurs. For example, I set up an ...
83
votes
10answers
161k views

Should I use tap or tun for openvpn?

What are the differences between using dev tap and dev tun for openvpn? I know the different modes cannot inter-operate. What is the technical differences, other then just layer 2 vs 3 operation. ...
2
votes
4answers
28k views

Can't access the internet when connected to OpenVPN server

I have recently installed OpenVPN on my windows 2003 server. Once someone is connected to the server, they do not have internet access. My network is on 192.168.1.1 my server is on 192.168.1.110 I ...
5
votes
3answers
27k views

OpenVPN + iptables / NAT routing

I'm trying to set up an OpenVPN VPN, which will carry some (but not all) traffic from the clients to the internet via the OpenVPN server. My OpenVPN server has a public IP on eth0, and is using tap0 ...
3
votes
7answers
8k views

openvpn stops working a short period after connecting

I manage simple workgroup at work that uses openvpn gui for connecting to remote computers. Accidently I discovered a very strange bug -- the openvpn connection works initially, and pings work, but ...
2
votes
1answer
155 views

Whats the best way to make your printer available trough out the VPN?

I just set up a box with a couple XEN virtual machines. One of the virtual machines is running Windows Server 2008 and will soon run our openvpn as well. Is there a way to share this (network) printer ...