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.
193
questions
35
votes
10
answers
68k
views
Allowing SSH on a server with an active OpenVPN client
I have a VPS running CentOS 7 that I connect to with SSH. I would like to run an OpenVPN client on the VPS so that internet traffic is routed through the VPN, but still allow me to connect to the ...
24
votes
1
answer
194k
views
OpenVPN not default gateway for all traffic
I'm trying to make my client forward all traffic through a VPS running OpenVPN. As you can see, it will allow pings to both domains and raw IP addresses, but it will not allow traffic like that made ...
24
votes
6
answers
32k
views
Prevent SSH connection lost after logging into VPN on server machine
I encountered an issue that I can't deal with.
When I'm logged onto an VPS over SSH and try to estabilish VPN connection on that VPS, the SSH connection between VPS and my machine get lost. I assume ...
11
votes
4
answers
16k
views
OpenVPN port-share with Apache/SSL
I'm trying to set up OpenVPN to listen on port 443, and then pass all HTTPS traffic to Apache, by using the port-share option. Relevant config snippets are:
OpenVPN
local ${PUBLIC_IP}
port 443
port-...
78
votes
3
answers
256k
views
How to ensure OpenVPN connection uses specific DNS?
I'm using OpenVPN through Tunnelblick on MacOS X Lion.
I need to set specific DNS (with local IP, which works only when VPN is up) for the duration of this VPN session only.
I do not have access to ...
28
votes
3
answers
86k
views
OpenVPN client-to-client
When using a TUN (layer 3) OpenVPN server with client-to-client disabled, my clients can still talk to each other.
The client-to-client config should prevent this according to the documentation:
...
17
votes
3
answers
44k
views
OpenVPN and DNS. How to?
I'm using OpenVPN to set up a VPN to connect my laptop at home to my workplace LAN. I want to be able to refer my workplace computers by their name and not by their IP but I can't.
This is my ...
4
votes
1
answer
18k
views
How to do traffic shaping (rate limiting) with TC per OpenVPN client
This question is related to another question with a great answer and script from @Oliver.
The goal: I want to modify/extend the script provided in this answer to suit my requirements, which are as ...
119
votes
11
answers
290k
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. ...
48
votes
6
answers
77k
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 ...
38
votes
2
answers
51k
views
Can generated OpenVPN keys be used on multiple clients?
We are experimenting with running an OpenVPN server for our business. One question I can't seem to find the answer to is this:
When we generate keys for one of our users for them to use at home, can ...
14
votes
5
answers
20k
views
SSH traffic over openvpn connection freezes when I cat a file
I have an openvpn (version 2.1_rc15 at both ends) connection setup between two gentoo boxes using shared keys. it works fine for the most part. I use mysql, http, ftp, scp over the vpn with no ...
10
votes
1
answer
10k
views
Anonymizing OpenVPN Allow SSH Access to Internal Server
I'm using an anonymizing VPN, but want SSH access to internal computer.
How do I access my internal computer through SSH? When I do ssh 98.123.45.6, the connection times out.
IP address from cable ...
171
votes
4
answers
253k
views
Getting "Cannot ioctl TUNSETIFF tun: Operation not permitted" when trying to connect to OpenVPN
I'm trying to setup an OpenVPN Access Server in AWS using the market place AMI, but I;m struggling to connect to it.
The access server is up and running. I've also added a user with Auto-Login and ...
86
votes
9
answers
334k
views
How to view connected users to open vpn server?
I'm developing a website for managing OpenVPN users with Django framework. But I need to know is there any way to extract active users from OpenVPN? My server is running Ubuntu 12.04.