Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
32 views

OpenVPN ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)

I'm trying to configure OpenVPN on my Debian 7 VPN but I'm getting the following error ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg) I tried the ...
0
votes
0answers
89 views

openvpn connection has established but cant ping the server

I have a openvz vps and setup a openvpn server, and I successfully connect to the server in my ubuntu 14.10 client. server.conf: port 1199 proto udp dev tun ca ca.crt cert server.crt key server.key ...
0
votes
0answers
20 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
32 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 ...
0
votes
1answer
69 views

TCP RST from telnet/ssh daemons when connecting from openvpn

I have LAN_1 and LAN_2 interconnected with an openvpn tunnel terminated ona pair of SOHO routers running busybox. One of the vpn purpose is to allow clients on both LAN_1 and LAN_2, to administer the ...
1
vote
0answers
97 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
0answers
83 views

customised client to client connection configuration inside OpenVPN server

I have two clients with common names [client_sina] and [client_extra] that are connecting to an OpenVPN server on remote place via (TUN21) running on Tomato Router The only physical port of the ...
0
votes
0answers
145 views

Can't bring link state on TUN/TAP interfaces up

Trying to build a tap interface to add as a virtual interface to OVS. I've tried using both Utilities and the ip tuntap command which create the interface- I can't seem to get the interface "up". ...
3
votes
1answer
2k views

iptables: access connected openvpn client from the LAN with the VPN server

I have what is essentially a routing problem, and I'm not familiar enough with routing and iptables to effectively troubleshoot and set up my network needs. What's working I have an openVPN network ...
1
vote
1answer
312 views

How to make Tun module running at linux start

i installed Tun using: modprobe tun then did: lsmod | grep tun tun 83840 0 Please how to make Tun running at reboot? This is written on Hamachi website: ...Then add tun to ...
0
votes
1answer
110 views

Unbridged tap device

Good UTC evening! I've created a tap0 device on my host, it looks like: tap0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255 ...
0
votes
0answers
74 views

virtual NIC, local routing and linux kernel routing table

from this article´╝Ü http://backreference.org/2010/03/26/tuntap-interface-tutorial/ the author created a tun interface # openvpn --mktun --dev tun2 # ip link set tun2 up # ip addr add 10.0.0.1/24 dev ...
0
votes
0answers
51 views

if there are 2 NIC on the same machine, can a tcp client on one NIC connect to a tcp server on the other NIC?

I use tun/tap to create a tun NIC tun0 with IP 10.10.10.2, and I have a real NIC eth0 with IP 202.112.34.49 then I run a tcp client which binds its socket to 202.112.34.49 and a tcp server binding ...
0
votes
1answer
41 views

bridge on openVPN client

I have some problem with setting up what i call a "remote entry point" (i'm sure ther is a real name for this) First things First : Here is my setup : ...
0
votes
1answer
145 views

Is there a way to allow specific permissions to a non-root user?

I have a program that, at some point, create/destroys tun/tap virtual adapters. Obviously, for these specific operations this program requires root privileges. According to the program ...
0
votes
1answer
184 views

Where is the userspace used by TUN/TAP?

When I put data on a wire in qemu what sets the upper limit on the rate of data I can transmit? The situation is I set up two machines A and B create two tap interfaces openvpn --mktun ...
0
votes
1answer
964 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 // ...
4
votes
2answers
4k views

openvpn: connection established, can't ping server tun interface (debian server, windows & os x clients)

My goal: I want to set up openVPN on a vServer from the company netcup, running Debian squeeze. I only want a VPN connection from client to server; clients should not be able to see each other, also ...
2
votes
2answers
2k views

How can I configure openvpn to proxy traffic only for processes that bind to the tun interface?

I'm trying to configure openvpn so that only traffic from certain processes goes over the vpn, but those processes could connect to anywhere. I'm trying to do that by having openvpn not do any route ...
3
votes
1answer
631 views

Why doesn't TUN device have BROADCAST flag?

When creating a TUN device in Linux, on my machine the created TUN device has following flags: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> Clearly MULTICAST is listed in there but not ...
0
votes
1answer
1k views

How's the routing done in a very simple OpenVPN setup?

I've entirely configured (remotely) a Debian GNU/Linux dedicated server hosted in a professional capacity and I've got a network routing question (which AFAICT precisely fits the FAQ of serverfault). ...
2
votes
0answers
338 views

Forward IP packets to tunnel device

I have created an tunnel device using ip tuntap add dev tun0 mode tun user 0 group 0 I then assign it an ip address 192.168.0.1/22 ifconfig tun0 192.168.0.1 netmask 255.255.252.0 On my ...
3
votes
0answers
651 views

Forwarding traffic from TUN device (C++ backend) to the default gateway

The following problem is just a piece of the bigger solution I have a problem with. All other elements seem working so far, so I'll try to describe very small piece which I have problem with. I've ...
1
vote
1answer
810 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 ...
1
vote
2answers
6k views

How do I enable TUN/TAP forwarding?

I have a program which writes packets (destination address 10.3.0.2) to the TUN/TAP interface. Network: host1|tun0----eth1(10.3.0.1)|-------------------host2|eth1(10.3.0.2)| Wireshark captures ...
6
votes
8answers
1k views

opvnvpn: addressing nodes in LAN-behinds

I've setup an openvpn server which i can access remotely, once it is connected, it creates a tun0 device on both server and client with virtual ip 10.15.119.x. the openvpn server is itself ...
0
votes
1answer
2k views

openvpn: after changing to server mode, client does not create TUN device

i had a previously working configuration with the config files used in a previous question However, i've changed this now to the following configuration using server mode, everything on the logs seem ...
1
vote
1answer
709 views

IP Packet Capture/Manipulation via TUN/TAP

I'm trying to capture and manipulate incoming IP packets (via eth0 interface) by using a TUN device (since I'm only concerned with IP layer). The first step I think is 1:1 packet forwarding from eth0 ...
0
votes
2answers
3k views

How to configure a tun interface on Linux for SSH port forwarding?

I am trying to forward port 139 from a Windows machine to my Ubuntu SSH server on a tun interface with the ip address 10.0.0.1. This is so that I can access the windows shares on the machine on my ...
0
votes
1answer
397 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: ...
3
votes
2answers
3k views

OpenVPN with iptables and a tun interface

With an openvpn tunnel that uses a tun device, what iptables rules allow the encapsulated traffic through and what rules control the packets after encapsulation? Basically, I am wondering how the ...
0
votes
2answers
2k views

virtualisation with kvm: export services from guest to the host

I would like to export some services from the guest os to the host os, via kvm, and by the same way learn some things about networking. I have tried the following commands: In the host (kubuntu ...
1
vote
1answer
4k views

How do I debug routing problems from a virtual tun0 device?

I have a program (written by me) that creates a tun0 device and sets up a route so that packets destined for the 172.16.1.0/24 subnet can be read from this device. I'm trying to go in the other ...
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 ...
0
votes
2answers
2k views

Cannot open TUN/TAP dev

Can someone please help me with this? I have a linux 2.6.9 server (I know it's outdated, but it has some special modules and so kernel cannot be updated/recompiled/etc), and I need to have a tun/tap ...
37
votes
6answers
53k 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. ...