ip-tuntap
Manage TUN/TAP virtual network interfaces. tldr-pages
On Linux
Linux
Show all existing TUN/TAP devices
ip [tuntIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Create a TUN device with a specific name
sudo ip [tunt [a [d tun0 [m [tIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Create a TAP device with a specific name
sudo ip [tunt [a [d tap0 [m [taIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Delete a TUN or TAP device
sudo ip [tunt [d [d tun0 [m tunIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Set the owner (UID) of a TUN/TAP device
sudo ip [tunt [a [d tun0 [m tun [u usernameIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Set both owner (UID) and group (GID) for a TUN/TAP device
sudo ip [tunt [a [d tun0 [m tun [u username [g group_nameIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community