Stack Exchange Network

Stack Exchange network consists of 174 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 [tap]

The tag has no usage guidance.

0
votes
1answer
60 views

Can only access the gateway at the end of my ssh ethernet tunnel why?

I have a remote private network connected to the internet via a Linux gateway. The gateway has the following arrangement: eth0 - external IP br0 - with eth1, and tap0 devices added to the bridge. ...
0
votes
1answer
29 views

How to redirect traffic sent to tap to a specific ip addr

I created a tap device using the following commands: sudo ip tuntap add mode tap tap7 sudo ip link set tap7 up sudo ip addr add 77.0.0.1/24 dev tap7 Now, I am using c++ sockets programming to write ...
0
votes
0answers
66 views

Forward vpn traffic from tun0 to tun1

There is the following connection scheme client 1 <-> server 1 (tun 0) <-> server 2 (tap 0) <-> client 2. Server 1 and 2 are located on the same host and used for packet forwarding using ...
0
votes
1answer
270 views

OpenVPN server with two tap interfaces, how to allow tap0 to see tap1

I'm new to OpenVPN but have managed to install it on an Ubuntu machine. The requirement is to allow Mikrotik and then laptop clients to connect to the VPN. I managed to make this work by running two ...
0
votes
0answers
2k views

Cannot ioctl TUNSETIFF tap0: Device or resource busy (errno=16)

I'm having this weird issue that when I run bridge-start together with openvpn, the service won't start. If I don't let openvpn run bridge-start, and add the necessary interfaces (tap0, br0) manually (...
0
votes
0answers
66 views

lwip-tap comunication between host and tap interface

Hi I'm using a port of lwIP on ubuntu called lwIP-tap. This port use a tap interface. But I have a configuration issue because even if they are working on the same network I can't ping the tap from my ...
0
votes
1answer
254 views

SSH TAP tunnel & multicast groups

Is it possible to do UDP multicasting over an SSH TAP tunnel? I have set up a TAP tunnel using SSH between my Ubuntu PC and a Raspberry Pi sitting in a remote office, using this command: $ ssh -o ...
0
votes
1answer
1k views

Host to guest connection via SSH (using qemu vm)

I am having trouble to enable a host-to-guest communication using qemu VMs. The goal is to connect via SSH from the host to the guest VM. I have the following setting: host: local access to SSH ...
2
votes
1answer
2k views

OpenVPN TAP vs TUN in parallel

I have a few questions about our existing OpenVPN server setup and a requirement that we have to expand our access. Our current setup is as follows: 1 OpenVPN server (in TAP mode) Multiple VM ...
0
votes
1answer
392 views

How to set up single client TAP/TUN on the client for my OpenVPN?

My laptop OpenVPN client establishes a TAP device. My client config is TUN, though. This devices shows under ifconfig /ALL with the IP 10.8.0.6 and a subnetmask of 255.255.255.252. (!!!) This ...
2
votes
1answer
695 views

Bonding over OpenVPN, for fault tolerance

I have two OpenVPN server, and two machines connecting to them. Server 1 openvpn address: 10.158.1.1 Server 2 openvpn address: 10.158.2.1 Machine 1 has address 10.158.1.11 on server 1, 10.158.2.11 ...
0
votes
1answer
840 views

OpenVPN bridged client can contact local router, but not other hosts

I have an OpenVPN Server running on Ubuntu 16.04.1. I have set this up as a TAP/Bridging server and added bridging configuration to my /etc/network/interfaces file. My client is a Windows 10 laptop. ...
0
votes
1answer
919 views

Issues setting up TINC on Mac OSX 10.12.2

I have TINC setup on a few linux boxes and they are working great. linux001 (static ip vps - 10.0.0.1) macosx002 (connects to linux001 - 10.0.0.2) linux050 (connects to linux001 - 10.0.0.50) I also ...
2
votes
0answers
303 views

Tap interface is not receiving packets

I'm configuring a tap interface and trying to send and receive packets through it, i configure it like this: ip tuntap add name tap0 mode tap multi_queue ip link set tap0 up i'm using scapy to send ...
1
vote
2answers
786 views

centos-7 missing /dev/net/tap

Going ls -l /dev/net shows the tun device (device 10,200) but there is no tap entry. Any ideas on how to get it working? find /dev -name \*tap\* finds nothing CentOS Linux release 7.1.1503 (Core) ...
0
votes
1answer
1k views

Linux + OpenVPN; bridge interface not responding to ARP

I am trying to set up an OpenVPN connection with a Layer2 ethernet bridge to bridge two LANs. ARP responses do not seem to being generated correctly... Please note I want to create a full Layer2 ...
0
votes
1answer
462 views

Restrict client IP address on OpenVPN using TAP interface

I've set up an OpenVPN + PF setup on a FreeBSD 10.3 server. Clients to my VPN include administrators, which should have full access to the network and untrusted users who should ONLY be able to ...
2
votes
1answer
1k views

icmp ping reply not received by ping process, seen by tcpdump/wireshark

I'm having an issue with getting the actual ping process to receive the reply even though I can clearly see the response in the tcpdump output. I'm running on: Mac OS X 10.11.4 El Capitan Bridge ...
2
votes
0answers
408 views

Openvpn tap interface configuration gets self assigned IP

I have a strange misconfiguration on my openvpn tap network. Clients can connect and get there IP address in 192.168.42.x as intended, but after few seconds another address gets assigned to it, self-...
0
votes
1answer
308 views

OpenVPN TAP network

I have a question about the OpenVPN in TAP configuration. I want to access local resources through VPN connection from outside network. I think I need TAP configuration, because I want to send ...
1
vote
1answer
204 views

How to correctly set up a bridge interface in GCE

I'm trying to set up a bridge interface as described in many docs, for instance: https://help.ubuntu.com/community/OpenVPN My setup in identical to that one, except obviously I used my GCE internal ...
0
votes
1answer
30 views

Endpoint to security gateway tunnel

I want to establish a connection between the client and the proxy server through a VPN tunnel in android device. I want to do this at layer 2 or 3 , where a packet can captured and encrypted. Please ...
0
votes
1answer
990 views

Ubuntu + bridge +qemu + tap + virtio dropping packets

I've got what I think is the standard qemu bridge/ubuntu tap interfaces set up running variety of VMs on my Ubuntu host. All the VMs I'm having trouble with are Windows images. I have researched this ...
1
vote
2answers
82 views

Public IP is appearing while tapping network instead of private IPs

In my test environment, I connected a tap switch in front of the wireless router. This tap has 5 ports and port 5 is the mirror port which is connected to a computer. At port 1, modem is connected, ...
1
vote
0answers
47 views

Create 3 virtual interfaces that can ping6 each other

In Linux, how can you create 3 virtual interfaces that are bridged together through a virtual switch so that they can ping6 each other? What I did: tunctl -t tap1i tunctl -t tap2i tunctl -t tap3i ip ...
0
votes
1answer
1k views

Multiple TAP devices on OpenVPN Server

So we have a number of clients that have their own VPS instances which we host via Proxmox. The clients servers are all behind a NAT firewall and we forward ports per client request to our various ...
1
vote
1answer
3k views

What exactly happens to packets written to a TUN/TAP device?

I'm trying to send packets to an application listening on eth0 from machine's user-space as if they were coming from a remote machine. What I can't seem to find good documentation for is the exact ...
1
vote
0answers
29 views

Can a firewall handle packets being sent to it by a network TAP?

We have the intention of examining incoming mails for security purposes. In order to do so we figured out the solution will include: Network TAP - To copy all SMTP traffic to the firewall Firewall - ...
0
votes
0answers
81 views

OpenVPN tunnel not able to support secure connect request

In CentOS 7 host we have installed openvpn package and did create an tunnel using OpenVPN tunneling for eth9 and tap9. Everthing work fine for unsecure connection but when we try to connect to server ...
1
vote
2answers
1k views

TCP - TAP performance

Linux. Is there a performance loss from using a tap device vs a hardware one like eth0 ? The goal is to create a user space tcp/ip stack and avoid the kernel as much as possible. I would like to be ...
0
votes
1answer
270 views

how to connect/bridge two interfaces on different processes

I have two processes A and B (simulating real hardware device), each with their own TAP interfaces. If I want to send an ethernet packet to A, I send it on interfaceA, and similarly if I want to send ...
0
votes
1answer
214 views

Openvpn, two tap network adapters

I have installed openvpn client on my pc (windows 7) and I have two tap network adapters. In this way I can open two openvpn connections at the same time. What I would like to understand is how it's ...
0
votes
1answer
4k views

Softether vpn ufw firewall config - is it correct?

I've correctly installed and configured Softether on my Ubuntu 14 x64 VPS in local bridge mode with a virtual TAP interface. What I have now is a fully functioning L2TP/IPSEC server with two network ...
1
vote
0answers
163 views

OpenVPN TAP binding order issue

I am running a 64bit Windows 7/8 AD environment using OpenVPN on remote computers to access our network/servers in our main office. Typically, once we install OpenVPN on a new machine and configure ...
1
vote
2answers
3k views

OpenVPN Linux Client does not bring up tap0 interface

I have an OpenVPN client on Linux connecting to an OpenVPN server. The server assigns IPs via DHCP, thus I connect using the tap interface rather than the tun interface. OpenVPN connects, ...
0
votes
0answers
590 views

pfSense LAN network unable to communicate with remote network on OpenVPN TAP connection

I set up pfSense to connect to a remote network (192.168.122.0/24) that only accepts tap connections. The connection is being initiated successfully. pfSense (192.168.1.1/24) itself can connect to ...
5
votes
1answer
6k views

Ping not working from tap interface attached to bridge interface with ip on same subnet as that of bridge to outside

My requirement is to create a multiple tap interfaces, each with ip address on same subnet. I tried this by creating a bridge br0 (192.168.1.199) ___________|...
0
votes
0answers
73 views

Setup PERMANENT TAP adapter in VPS without dissapear after reboot

I'm installing Softether in a new VPS and all works fine. System is a CentOS 6.5 32bit. The issue is that after rebooting the VPS the TAP adapter dissapear. I would like to know if I can define ...
4
votes
2answers
8k views

Assign static IPs to tap clients in pfSense's OpenVPN server

I am trying to set up a pfSense server with OpenVPN. The OpenVPN will use the tap interface, tun clients are no option for us. The LAN network is 10.0.0.0/24, the pfSense machine is 10.0.0.10 and ...
1
vote
1answer
1k views

Ping (DUP) with Linux bridges and tap devices

http://imgur.com/qPoy2QJ I have two Linux (Ubuntu 12.04) VM (running on KVM) that networked together using two Linux bridges as shown above. The network interfaces are Linux TAP devices. The problem ...
1
vote
0answers
421 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
1k views

Tap interface within a virtual machine has NO-CARRIER

I am trying to hook up a virtual machine to a host using openvpn. When i create a tap interface within the virtual machine using: /usr/sbin/openvpn --mktun --dev tap1 The state of the tap interface ...
2
votes
1answer
1k views

Openvpn limit bandwidth

I would like to ask you a question concerning openvpn and the possibility to increase the bandwidth in case I want to transfer files. I have an openvpn server via which I connect to my data center. ...
1
vote
2answers
5k views

Tap0 not receiving traffic

I have created a tap device tap0 address 10.2.1.4 and added it to a host bridge br1 with address 10.2.1.1 I have "nc 10.2.1.4 -l 1234" running on the host and from another machine I do a "nc 10.2.1....
0
votes
1answer
588 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
1answer
644 views

What is th tap100i0 device on my debian with KVM?

I want configure a network for virtual machines on KVM. I created a bridge. But I found a new tap100i0 devise was created. Should I take it into account to get the virtual network running?
1
vote
1answer
2k views

Passive ethernet tap [closed]

I'm having an hard time figuring out why can't I capture the packets flowing between two devices, in both directions, using a self made Ethernet tap, with copper cable, which looks just like this one: ...
2
votes
1answer
3k views

OpenVSwitch between namespaces

I'm trying to configure a bridge between two TAP interfaces each created inside their own network namespace, on Linux. I'm using OpenVSwitch as software bridge. These are the steps that I believe ...
0
votes
1answer
1k views

./pox.py log.level --DEBUG forwarding.l2_learning not working as expected

I have installed openvswitch on my PC with runs Ubuntu 12.04.I also have virtual box running on my PC with 3 virtual machines (Ubuntu 12.04) running on them. are named vm-1 vm-2 vm-3 I have ...
0
votes
1answer
614 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 ...