Questions tagged [openvpn]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
930 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 #...
3
votes
2answers
6k 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 ...
2
votes
1answer
2k 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
162 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 ...
2
votes
1answer
5k 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
3k 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 client....
0
votes
0answers
1k 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
352 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 is:...
3
votes
1answer
9k 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 127.0....
1
vote
1answer
211 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
2answers
5k 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
2k 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
133 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
318 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
786 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 ...
0
votes
1answer
3k 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 ...
8
votes
3answers
60k 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 ...
11
votes
2answers
4k 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 192.168.0....
1
vote
2answers
3k 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 ...
20
votes
4answers
53k 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 ...
4
votes
3answers
10k 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 ...
2
votes
1answer
2k views

Cannot load tun module

I cannot manage to load the tun module in my Arch Linux 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 (errno=...
3
votes
1answer
1k 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 ...
2
votes
0answers
260 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 ...
5
votes
0answers
1k views

Connect to a VPN from a Linux Virtual Machine [closed]

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 ...
7
votes
2answers
871 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
1answer
2k 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, ...
3
votes
2answers
3k 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
3k 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 ...
3
votes
2answers
4k 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
3k 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 192.168....
2
votes
1answer
972 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
2k 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 ...
3
votes
1answer
18k 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?
0
votes
0answers
517 views

Proxy or VPN behind the router

I have a home network under the router, and there is my proxy server with ports forwarded through the router. Some clients connects to the Internet via my proxy, but there is a little problem - ...
3
votes
2answers
7k views

OpenVPN bridge. Can't access machines on local network

Followed this guide: https://wiki.archlinux.org/index.php/OpenVPN_Bridge This is my setup: I have a wireless router(192.168.2.1) which connects to the Internet through a PPPoE connection and acts as ...
3
votes
1answer
3k views

Routing in OpenVPN between a private network and a client

I'm trying to setup OpenVPN between a private network and home clients that connect to it. (The clients don't need to connect to each other). The network topology is a little interesting. There is a ...
1
vote
1answer
4k views

Are there any better/safer methods to launch the OpenVPN client as a normal user?

I'm trying to connect to an OpenVPN server. It works perfectly when I use root to give out the commands to connect: openvpn /etc/openvpn/client.conf but with a normal user I get this error messages ...
2
votes
1answer
2k views

Passing the “--float” option to OpenVPN client from NetworkManager

NetworkManager on Fedora14 doesn't support the "--float" parameter of OpenVPN client. Are there any workarounds to connect with NetworkManager to an OpenVPN network using the --float option? Or are ...
27
votes
3answers
31k views

How to refuse routes that are PUSHed by OpenVPN server?

When I establish an OpenVPN client connection over the Internet to our corporate OpenVPN server, it pushes several static routes. Unfortunately, these routes break some connectivity within my local ...
5
votes
2answers
4k views

OpenVPN on OpenWrt

I have a step-by-step guide for OpenVPN on an OpenWRT 10.03 router: (wl500gpv2) Needed packages opkg install openvpn_2.1.1-1_brcm-2.4.ipk kmod-tun_2.4.37.9-1_brcm-2.4.ipk libopenssl_0.9.8m-3_brcm-2....
9
votes
3answers
10k views

Slow NFS, nfsstat -c: what is authrefrsh (aka newcreds?) field about in detail?

(net-fs/nfs-utils-1.2.3-r1, 2.6.38.5-zen+ Gentoo) Googling this seems to be a complete dead end. man nfsstat says a whole lot of nothing about the subject. The closest I could get was finding out ...
3
votes
4answers
14k views

Establish openvpn tunnel in bash script

I'm trying to write a script which will establish an openvpn tunnel when the computer boots up. The main problem lies in inputting the pkcs12 password. I realise it's very bad practice to have a ...