Skip to main content

All Questions

Tagged with
1 vote
0 answers
113 views

Change tap device gateway

I have vps server, install softether on it , softether use tap device name tap_se with subnet 192.168.24.0/21 netmask 255.255.248.0 broadcast 192.168.31.259, clients connect with openvpn or l2tp to ...
Arman Kabir's user avatar
2 votes
1 answer
594 views

How do I get the interface name created with `ip tuntap add mode tap`

I want to create a tap with sudo, and then attach the user space program (ssh) to it. I don't want to hard code the interface name, as multiple users will be using it, so I want the interface name to ...
Gary van der Merwe's user avatar
0 votes
3 answers
106 views

How to determine next available network interface name and ip range?

I am working on an application which can create TUN/TAP interface on host machine. I can create such interfaces using: sudo ip tuntap add tap0 mode tap Now the thing is, tap0 is hardcoded here. It ...
Santosh Kumar's user avatar
3 votes
0 answers
2k views

Multiqueue tun/tap interface

I am trying to understand how Multiqueue tuntap interface works. Following the instructions provided at: https://www.kernel.org/doc/Documentation/networking/tuntap.txt I was able to create multiple ...
Deys Nima's user avatar
1 vote
1 answer
3k views

Bridged TAP interface to virtualbox

I need bridged TAP interface on client side of my VPN to virtual machine. I use VirtualBox 4.3.12. But in Adapter Network options in Attached to: Bridged adapter I do not see my TUN adapter. I have ...
Mato's user avatar
  • 595
7 votes
2 answers
16k views

Why are incoming packets on a TAP interface seen with tcpdump but not with iptables?

A program injects packets on a Linux TAP interface (these packets are coming from a virtual machine). Specifically, these are DHCP requests (so they're UDP). I can see the packets with tcpdump but not ...
Gilles 'SO- stop being evil''s user avatar