0
votes
0answers
12 views

Share local area connection with multiple TAPs

I'm setting up an VPN server. In this server I want to have 2 different encryptions (1024, 2048), each one in different ports. So I created 2 TAP adapters, and shared the local area connection with ...
0
votes
0answers
14 views

tun0 not listening traffic on a simple vpn example

I tried to setup a simple vpn test server on Ubuntu 12.04, called ToyVPNServer. The guide is simple and I take test for days but still cannot get connected. The inspection result is showing the issue ...
1
vote
0answers
79 views

TUN/TAP VPN no internet connection

I have set up a tun/tap vpn to a VPS. For this, I created a 10/24 network and gave the server the IP 10.0.0.100 and my client got 10.0.0.200. I can now successfully ping the server / access my mail ...
0
votes
1answer
872 views

Simple iptables port forwarding with masquerading not working

I'm trying to set up a simple VPN server on EC2 (Ubuntu 12.04) with the Android example ToyVpnServer. Its instructions: // There are several ways to play with this program. Here we just give an // ...
1
vote
1answer
775 views

Route packets from one VPN to another

I have two OpenVPN servers (10.8.0.0 and 10.9.0.0) set up on my OpenSUSE server. Within one network, each computer is visible to any other one, but I'd like to make it so that computers are visible ...
0
votes
1answer
391 views

why tun interface in openvpn

can anyone tell me the use of tun interface in openvpn? as far as i read, it is used to tunnel all the traffic from the PC over the ssl tunnel. But incase of VPN, i suppose all the traffic initiated ...
2
votes
1answer
8k views

OpenVPN Cannot allocate TUN/TAP dev dynamically

OpenVPN clients work fine when they're started by /etc/init.d/openvpn for the first time, but they can't reconnect if the master server is restarted. This is the error I get in syslog: ...
2
votes
3answers
16k views

OPENVPN error “Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)”

Hi I get the following error when I try to run openvpn in my Ubuntu Server Fri Jan 8 02:12:59 2010 OpenVPN 2.1_rc11 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Mar 9 2009 Fri Jan 8 ...
35
votes
6answers
50k 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. ...