Questions tagged [tap]

93 questions
1
vote
1 answer

two tap device connect each other in same pc

What I want to implentent is something like below. 192.168.1.1 192.168.1.2 +--------+ +----------+ +-----------+ +---------+ +---------+ | APP0 +<---->+ tap0 …
randomeval
  • 111
  • 2
0
votes
0 answers

Understand linux bridge tunneling configuration

I have a VPN software that creates a tap device connected to a bridge: $ brctl show vpnbr bridge name bridge id STP enabled interfaces vpnbr 8000.6630fabc3f2b yes tnl-2c5a50e $ brctl showmacs vpnbr port no mac addr …
alnet
  • 128
  • 4
0
votes
1 answer

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. eth1 is the internal network, we'll call it…
Keeely
  • 123
  • 6
0
votes
1 answer

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 packets to tap7 and I am able to capture them with…
0
votes
1 answer

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 openvpn servers on the same machine, one…
Leon Vismer
  • 101
  • 3
0
votes
1 answer

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 Tunnel=ethernet -w 0:0 me@remotehost $ sudo dhclient…
Tom
  • 327
  • 2
  • 11
0
votes
1 answer

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 subnetmask is obviously a multi client mask setup which…
bomben
  • 115
  • 9
0
votes
2 answers

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 interface on it for openvpn to work. Anyway I get…
Robert Johnson
0
votes
1 answer

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. My client connects to the server without issue,…
DBrowne
  • 101
  • 2
0
votes
2 answers

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) kernel 3.10.0-229.7.2.el7.x86_64
mrieker
  • 9
  • 2
0
votes
1 answer

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 access a couple of IP addresses. I used…
0
votes
1 answer

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 broadcast messages (like wake-up certain devices). I…
Peef
  • 1
0
votes
1 answer

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 suggest any way to establish the connection. As…
0
votes
1 answer

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 for weeks, and tried everything I've found, from…
user334685
  • 1
  • 1
  • 1
0
votes
1 answer

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 public IP addresses. I know this isn't quite like…
TriadicTech
  • 448
  • 2
  • 5
  • 14