I created an IP tunnel from scratch using Linux TUN device and C!
Автор: eszotec
Загружено: 2025-06-01
Просмотров: 335
Hi everyone,
In this video I will be discussing about network tunnels, what are they, how they work and then to understand it better I will create a IP tunnel from scratch in C using just Linux TUN device.
Linux TUN device allow us to create network interfaces which operate at user space and instead of sending packets to the wire, they write packets to a file descriptor which is pretty cool. I will be explaining how to use TUN device and how they can help us to create a virtual network between two nodes.
Hope you all will enjoy this video and do let me know in the comments what kind of tunnels you have used and how have you created them!
Timestamps:
00:00 Introduction
01:05 What are tunnels and their use
05:06 Some of the tunnel types
16:52 Linux TUN/TAP device
25:22 Using TUN device to create an IP tunnel
40:56 Implementing the tunnel
1:19:56 Testing the tunnel
Resources:
Thumbnail:
Image by https://pixabay.com/users/tama66-1032521 from https://pixabay.com
Code:
https://github.com/djmgit/tunl
References:
https://www.cloudflare.com/learning/n...
https://docs.kernel.org/networking/tu...
https://blog.cloudflare.com/virtual-n...
https://backreference.org/2010/03/26/...
#tunnel #networking #computernetworks #linux #virtualnetworking #coding #cprogramming #lowlevel #linuxoperatingsystem #encapsulation #tcp #udp #networkprotocols #howto #software
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: