VPNs, Proxies and Secure Tunnels Explained (Deepdive)

  Рет қаралды 74,408

LiveOverflow

LiveOverflow

Күн бұрын

What is a secure "tunnel"? When I started to learn about computers the name confused me. I couldn't imagine how it works on a technical level. In this video we build upon knowledge from the previous videos, to develop an intuition for what a tunnel, VPN or proxy is.
LiveOverfont (advertisement): shop.liveoverflow.com
1. Server Explained: • What is a Server? (Dee...
2. Protocol Explained: • What is a Protocol? (D...
3. Computer Networking: • Computer Networking (D...
Grab the forwarder.py code: gist.github.com/LiveOverflow/...
Chapters:
00:00 - Intro and Background
00:53 - Networking as a Blackbox
01:24 - forwarder.py: Forward Data via Networking
02:43 - Using forwarder.py as a Proxy
04:31 - xor_forwarder.py: Forward "XOR Encrypted" Data via Networking
06:58 - The VPN Blackbox
08:10 - VPNs Forward Entire Packets
10:01 - Virtual Network Cards with TUN/TAP
12:34 - Outro
=[ ❤️ Support ]=
→ per Video: / liveoverflow
→ per Month: / @liveoverflow
2nd Channel: / liveunderflow
=[ 🐕 Social ]=
→ Twitter: / liveoverflow
→ Streaming: twitch.tvLiveOverflow/
→ TikTok: / liveoverflow_
→ Instagram: / liveoverflow
→ Blog: liveoverflow.com/
→ Subreddit: / liveoverflow
→ Facebook: / liveoverflow

Пікірлер: 186
@janaakhterov
@janaakhterov Жыл бұрын
I'd really enjoy a Deepdive about TLS.
@misterymissile
@misterymissile Жыл бұрын
kzbin.info/www/bejne/bHiUZYGon8qegrM
@0x7ddf1
@0x7ddf1 Жыл бұрын
Yeah, that would be great
@cedriczumsteg2371
@cedriczumsteg2371 Жыл бұрын
Check out Practical Networking he has a entries series on this topic and it's as deep as it can be I would say
@crafterboy27
@crafterboy27 Жыл бұрын
I was just wondering about this and then got a notification.
@MrDeltaRing
@MrDeltaRing Жыл бұрын
It's like he knows what we are thinking...like a hacker perhaps
@crafterboy27
@crafterboy27 Жыл бұрын
@@MrDeltaRing yeah, maybe he is a social hacker/engineer too...
@zeusdabest
@zeusdabest Жыл бұрын
​​@@crafterboy27 wasnt wondering and got a notifaciton
@psp.youtube
@psp.youtube Жыл бұрын
😮
@ttrss
@ttrss Жыл бұрын
Literally same wtff
@ajko000
@ajko000 Жыл бұрын
As a network engineer, tunnels are by far the most deceptive concepts. At their simplest, you're just shoving IP within IP, at their most complex, you get complaints ;).
@creepr524
@creepr524 Жыл бұрын
Hmmm its more like IP within TCP or UDP
@codahighland
@codahighland Жыл бұрын
​@@creepr524 Yes, but TCP and UDP are themselves inside of IP, so the statement is still correct.
@geevee9728
@geevee9728 Жыл бұрын
@@creepr524 IPSEC has entered the chat
@SnoiperTV
@SnoiperTV Жыл бұрын
Yeah, i Always hated vpn
@whannabi
@whannabi Жыл бұрын
​@@creepr524 huuuum actually 🤓 whoops, we're all nerds here, that was inappropriate.
@ArthurSchoppenweghauer
@ArthurSchoppenweghauer Жыл бұрын
I would appreciate a video about OAuth & JWT, generally these authentication methods and how these tokens are created, sent and stored via HTTP and how they relate to user roles and permissions I find difficult to understand.
@vaisakhkm783
@vaisakhkm783 Жыл бұрын
yes different types of authentication are really confusing .... and i really struggled to make authentication when i was making my first java server... in python and node, it's much simpler...
@xxjblexx
@xxjblexx Жыл бұрын
Definitely... As well as Stateful vs. Stateless Authentication/Architecture, Cookies vs. Tokens and So On... The Whole Thing around
@coding3438
@coding3438 Жыл бұрын
You should watch okta devs video on ouath
@TechnicalHeavenSM
@TechnicalHeavenSM Жыл бұрын
This series is actually a gold mine
@VegaSlayer
@VegaSlayer Жыл бұрын
I feel lucky that you still share the knowledge with us. literally gold channel
@jayfraxtea
@jayfraxtea Жыл бұрын
Great video! The most important part is your smiling face at 6:57 when you talk about the "beautiful way". The next time I'm struggling with incompatible IPSec-tunnels, I'll remember your face and all frustration will be gone. You oversimplified a bit: not all tunnels have their own interface. We all love good old SSH tunnelling, as we do with recent websocket tunnels.
@danielsterchi3088
@danielsterchi3088 Жыл бұрын
I really love your enthusiasm about the topics! 👍
@DarkMonsterGFX
@DarkMonsterGFX Жыл бұрын
Amazing video! It would be awesome to do a second version, but diving deeper and complex! Again, thanks for your videos, they are very informative and easy to follow
@patpattson
@patpattson Жыл бұрын
This was great! Have actually never completely understood how vpns work, great explaination!
@alastairtheduke
@alastairtheduke 4 ай бұрын
This is such a good explanation. You are so good at explaining these topics and such a natural in front of the camera
@randlekonoble1011
@randlekonoble1011 11 ай бұрын
Really detailed video, I’ve been experimenting with tunnels recently & I think you explained the underlying concepts extremely well 🥳🥳.
@sanjeevKumar-eg6hp
@sanjeevKumar-eg6hp 7 ай бұрын
Thank you so much for sharing the knowledge in such a simple manner
@anonymousperson2640
@anonymousperson2640 Жыл бұрын
Great video content for those, who start learning networking. Even basic understanding how routing works will surely make VPNs much easier to grasp. Especially those, which use virtual interfaces. On the other hand, policy-based ipsec tunnels, which do not have nor their own routes, nor endpoint IPs, yet can somehow connect private networks just as fine as those tun/tap devices always amazed me. While I certainly can configure & use that, I never could understand how it works on a packet level, would be a nice if you could do some explanation video, thanks!
@QueRedFire
@QueRedFire Жыл бұрын
Great video! From a perspective of a graduated cyberdefence student and actual penetration tester, these questions "from the past" are 100% in point! Other thing that bothered me in the past is for example "How the email systems actually works?"
@backinyourcommentsectionag3191
@backinyourcommentsectionag3191 Жыл бұрын
Absolutely loved this video!
@ThePowerRanger
@ThePowerRanger Жыл бұрын
Wow, this was complex but you explained it really well. Also thnx for including the python code.
@matte.309
@matte.309 Жыл бұрын
I'm really enjoying these explainer videos. I had this ah ha! moment half way and I finally get tunnels. That was way simpler than I could have imagined.
@iyadahmed3773
@iyadahmed3773 Жыл бұрын
Thanks a ton for this I was confused about this today in class!
@codewizard58
@codewizard58 Жыл бұрын
Using swIPE protocol I was part of a small team that implemented one of the first VPN tunnels over the internet with the tunnel running between two proxy based firewalls. I also implemented a DOS/Windows vpn client. This was around 1996. Later ipsec and TLS became available. Things have really changed now that encrypted comms is the norm : )
@electricimpulsetoprogramming
@electricimpulsetoprogramming Жыл бұрын
your videos teaching things are awesome
@paknbagn9917
@paknbagn9917 11 ай бұрын
really good explaining
@akenang1852
@akenang1852 Жыл бұрын
I love the mini videos with you encapsulating packets hahah
@brianhayes1105
@brianhayes1105 Жыл бұрын
Brilliant. Thank you so very much.
@alpagutsencer
@alpagutsencer Жыл бұрын
Perfect video man! Keep it coming ^^
@BenKadel
@BenKadel Жыл бұрын
Absolutely excellent video super helpful thank you!
@SupremeGrace-xx4ys
@SupremeGrace-xx4ys Жыл бұрын
Really awesome and deep explanation thank you
@0x7ddf1
@0x7ddf1 Жыл бұрын
Wow, the networking world is amazing, thank you
@Bluepaccao
@Bluepaccao Жыл бұрын
Great video, thank you!
@mineeeeee
@mineeeeee Жыл бұрын
Love your videos ^^
@prateeksaraswat1
@prateeksaraswat1 Жыл бұрын
What a great video! ❤
@alishabani9136
@alishabani9136 Жыл бұрын
If you mix these concepts with SSL that would be very interesting at least for me. Thank you for sharing knowledge
@RoiEXLab
@RoiEXLab Жыл бұрын
If you imagine that SSL/TLS is just another layer on top of TCP (but below HTTP for example, even though this only applies to HTTP/1.X), it stays exactly the same, but instead of redirecting the HTTP traffic, it redirects the SSL/TLS/HTTPS traffic. For the VPN provider the only thing that changes is that without SSL/TLS it could read your traffic, whereas with encryption it can't
@alishabani9136
@alishabani9136 Жыл бұрын
​@@RoiEXLab Thank you.
@gregorykhvatsky7668
@gregorykhvatsky7668 Жыл бұрын
There is also stunnel, a tool that allows you to essentially wrap any traffic in TLS. With it you can, for example, do SSH-over-TLS (for whatever reason)
@user-fh7ki5bv5x
@user-fh7ki5bv5x Жыл бұрын
@@gregorykhvatsky7668 A more commonly used example is FTP over SSL, because it was never made with proper encryption in mind :)
@velho6298
@velho6298 Жыл бұрын
Great video!
@louise87
@louise87 Жыл бұрын
I love your content. Please, please, please, create a video comparing and exploring the differences between the source code of Linux and FreeBSD
@psp.youtube
@psp.youtube Жыл бұрын
Thanks Fabien
@FreestyleTraceur
@FreestyleTraceur Ай бұрын
I'd love a deepdive on WireGuard protocol and how things like Tailscale work under the hood to get around CGNAT. Thanks for the awesome videos!
@mrpi230
@mrpi230 Жыл бұрын
Thank You😊
@0xAAA
@0xAAA Жыл бұрын
Amazing vid
@user-ys2nd2bg6r
@user-ys2nd2bg6r Жыл бұрын
Nice animation of the osi layers
@noobishgamer995
@noobishgamer995 Жыл бұрын
i deff subscribed for your minecraft content. its great
@kevint.900
@kevint.900 Жыл бұрын
Can it be a coincidence that a server on the IP you used in your video now hosts an nginx instance with some weird XSS-like payload in its TLS-certificate common name? ('"'>')
@thatcrockpot1530
@thatcrockpot1530 Жыл бұрын
Great content :)
@joanelietheiligerruiz3144
@joanelietheiligerruiz3144 Жыл бұрын
Muy bueno !!!!
@tylerb6981
@tylerb6981 Жыл бұрын
I would absolutely KILL for a video discussing how Kerberos works. Or, if possible, every step that happens from plugging a smart card into a windows machine during Interactive Sign On to Kerb to successfully getting into you computer.
@truepakistani9604
@truepakistani9604 Жыл бұрын
Can you make a video on relay its types and when/why we need it and how they work and are they different from routing and just everything about relays. Especially out of the context of TOR so we can understand relay and ultimately the TOR.
@WrenchIO
@WrenchIO Жыл бұрын
learned a lot
@section9999
@section9999 7 ай бұрын
yay deepdives!
@alastairtheduke
@alastairtheduke 4 ай бұрын
Thanks!
@user-en3np7hu6m
@user-en3np7hu6m 2 ай бұрын
Hey you did a great job with this deep dive series I must say. I was wondering if you could do another about "storage" in detail; i.e. differences between block storage, file storage and their usages with examples ? Thanks!
@LiveOverflow
@LiveOverflow 2 ай бұрын
Slightly related, checkout my Linux Driver video. It’s a different style but might answer some questions
@Wallee580
@Wallee580 Жыл бұрын
Can't wait for a video on Union routing. c:
@aonoloki
@aonoloki Жыл бұрын
computerphile did a nice one on the subject, but guess he might do better
@andrew5407
@andrew5407 Жыл бұрын
Nice video! Could you make a video on files, sockets and streams :D
@kaihatkeinenaccount
@kaihatkeinenaccount Жыл бұрын
tbh I like the ad at the end
@pflasterstrips7254
@pflasterstrips7254 Жыл бұрын
I like the LiveOverflow university
@flyviawall4053
@flyviawall4053 Жыл бұрын
Please do a IPSec version of this. It's not TUN/TAP(despite VTI) but something rather old fashion. I think many people get confused when dealing with both kinds. Also I think it's worth to talk about the routing table magic when using TUN/TAP tunnel, like why I route everything into it but it doesn't loop?
@ninjajoe9
@ninjajoe9 Жыл бұрын
How about a deep dive on building/making software? There are a number of tools that expedite build processes, but how all the dependencies and sub-modules work together would be useful.
@Louisrael
@Louisrael 3 ай бұрын
Generally, proxies offer quicker connection speeds compared to VPNs. This is because proxies selectively route specific traffic, while VPNs encrypt all internet activity, potentially slowing down speeds. Zeus Proxy offers a rotating residential proxy ideal for tasks like e-commerce multi-account registrations, data crawling, airdrops, and gaming.
@emvdl
@emvdl Жыл бұрын
Thanks, well explained 👍 Just wonder, how do you make these animated images?
@oneofpro
@oneofpro Жыл бұрын
thanks
@marcelocabral389
@marcelocabral389 Жыл бұрын
you could do a video about containerization, i don't exactly know the name, but you know, explain concepts used in docker or in virtualbox
@semitangent
@semitangent Жыл бұрын
One detail what I would have liked to see here is some detail on what the IPs "within" the tunnel really are. Are they just artifacts of packing a whole TCP/IP packet as data into another TCP/IP packet or do they have more meaning, e.g. in terms of routing?
@ajko000
@ajko000 Жыл бұрын
If it's a GRE tunnel, it's just IP within IP. The IP packet is encapsulated as data (the payload) in another IP packet. That IP packet is routed across the tunnel (often the public internet) and once it reaches its remote tunnel endpoint, that endpoint decapsulates it, revealing the "real" IP packet, which then gets routed/forwarded to it's destination "normally".
@semitangent
@semitangent Жыл бұрын
@@ajko000 I think that's exactly the point where I'm wondering why the tunnel IPs are needed. The two VPN endpoints exchanging encrypted payloads (the encapsulated 'local' IP packets) know each other's WAN/public IP, so why is there a need for a "tunnel" in the sense of a static route between virtual private IPs? If the two endpoints, each in their own respective part of the virtual private network, just acted as two proxies communicating using their counterpart's public IP the whole thing would still work in my mind and there would be no need for the virtual tunnel IPs.
@Shocker99
@Shocker99 Жыл бұрын
I'd like to see a deepdive into a file structure. A file is made up of a header data and the content data. How can we inspect the header data and where is the meta data stored - in the header? Are there common flags that indicate where the content data starts and ends? etc.
@metiu1973
@metiu1973 Жыл бұрын
Greater video thank you! Could you maybe make a video about reverse proxy to?
@ShaharBarsheshet
@ShaharBarsheshet Ай бұрын
Very nice explanation! Thank you. One question, you said "you can tell the operating system please route ALMOST all traffic..." Why almost? What data isn't routed?
@zFake
@zFake Жыл бұрын
Our favorite hacker is back. Let's go!
@09sahilchaudhary94
@09sahilchaudhary94 8 ай бұрын
You should make more of these videos explaining concepts. Why did you stoped?
@KFLawless1412
@KFLawless1412 Жыл бұрын
Can you do a video about hardware based root of trust in embedded systems? Using secure storage for keys etc. And public key cryptography
@uinisefaustinafoochong7743
@uinisefaustinafoochong7743 Жыл бұрын
I felt like you were on the same page as I was for a second
@ibrahimalnafisi432
@ibrahimalnafisi432 Жыл бұрын
Great Video! Something about TLS?
@randomuseryt5143
@randomuseryt5143 Жыл бұрын
are you still doing the Minecraft series? i think you should go over most of the third party "schematic" file formats (as most of them are just NBT, though some are text based and/or custom binary encodings)
@Syphdias
@Syphdias Жыл бұрын
I always take issue when "transparent" is used when describing technology. I think most of the time people actually mean "opaque". Let's say you have a loadbalancer to some API and it forwards incoming traffic to multiple backend servers (e.g. round robin). You could describe this as transparent since the request goes _through_ the loadbalancer, like through a glass window and still reaches the server. But I would argue this loadbalancer is opaque to the API client. The client has no idea that different servers are targeted, only the API endpoint is relevant for it to function (ignore header shenanigans, etc.). The loadbalancer takes care if a backend server is unreachable. On the other hand, if you use multiple DNS Records ("DNS Loadbalancing" or "poor man's load balancing") and show that there are multiple servers answering requests, you need to take care to retry if one of those servers looses connection. (You should always build in retries though!) In the case of a VPN (or tunnel) the client (curl, nc, browser, etc.) is not aware that it is using a VPN (you can of course detect it, if you want, but this is not the point). The client just does its thing, it does not care if there is something extra. If you want to be more technical you could say you hand this problem down to your network stack then then chooses the right interface (which would be a tap, tun, or wg interface etc.). I think "transparent" is so widely used for opaque technology, because it sounds more positive and because the request/operation reaches its target "through" something. In practice, I find it confusing to talk about actual transparent technologies, for example that implement transparent caching or failover; here the client has to do actual work. Sorry for the rant! I actually quite enjoyed the video!
@passerby184
@passerby184 Жыл бұрын
I'd say it uses word transparent as invisible by clients
@Syphdias
@Syphdias Жыл бұрын
@@passerby184 What would you call transparent caching then? Or something like etags?
@passerby184
@passerby184 Жыл бұрын
@@Syphdias transparent cache is still transparent: (actually it needs cache to be a transparent proxy):
@jaeheekanghan
@jaeheekanghan Жыл бұрын
Please please please can you make a video about application layer or more specifically DNS and its hierarchy and types? Or routing explanation in a nonconfusing way? Sorry if I asked maybe something unrelated to what you wanted to do
@mehmetavci8270
@mehmetavci8270 Жыл бұрын
Hello is it possible to make a video about certificates (deepdive)? Ty
@Ramsas154
@Ramsas154 Жыл бұрын
Talk about certificates, I'm using them, issuing them but don't *really* understand it. CA Authority, TLS, SSL.
@akenang1852
@akenang1852 Жыл бұрын
UP!
@nosenseofhumor1
@nosenseofhumor1 Жыл бұрын
do you think you could teach chatgpt to buffer overflow its own text prediction's return variable?
@plippero7870
@plippero7870 Жыл бұрын
Can you do "What is a registry" next? I have heard about the windows registry or docker registry etc... But i have no clue what it actually is (not completely i know you can store something, but looking at it in a more technical way) 🤔
@codahighland
@codahighland Жыл бұрын
A registry is just a database with a well known location. That's literally all it is. The DNS registry is a database of domain names and IP addresses that you can find at a location given to you by your ISP. The Windows registry is a database of configuration settings that any program can access using a standard API. A Docker registry is a database of Docker images and you share the address with the hosts that you want to have access to it.
@plippero7870
@plippero7870 Жыл бұрын
ty :)
@nicholascurran1734
@nicholascurran1734 Жыл бұрын
So the tun/tap, which is not a network card, is treated like one, in a similar way that usb drives can be treated as keyboards, even if they're not?
@user-ys2nd2bg6r
@user-ys2nd2bg6r Жыл бұрын
I think there is also potential for a BIOS/UEFI/bootloader/boot etc. Video but that could be rather short
@AjayKumar-fd9mv
@AjayKumar-fd9mv Жыл бұрын
👍
@perschistence2651
@perschistence2651 Жыл бұрын
Great video but the image quality was kind of low. Maybe you should consider to upload in 4K in the future.
@sohil20000
@sohil20000 Жыл бұрын
Hi ,pls talk about how to keep our phones secure and anonymous, im talking about ads loclisation ,...Or that there is no escaping from this in return for obtaining Google services !!
@maxdobrei5117
@maxdobrei5117 Жыл бұрын
So from my understanding, in the example with your version of "OpenVPN", you can route your packets to the virtual network interface card, and that's really a program like a VPN client. After the program does what it needs to do (ie putting on new headers, encrypting the data), does the program then hand off this new encapsulated packet back to the real network interface card so that it can reach the VPN server? I guess I'm a little confused as to what the next steps would be after the packet goes to the vNIC
@codahighland
@codahighland Жыл бұрын
The vNIC sends the packet to another server over the physical network. That server then unpacks the packet on a vNIC on its end, and then it handles the packet the same way as a router handles packets that come in on one NIC and need to be sent along through another NIC.
@maxdobrei5117
@maxdobrei5117 Жыл бұрын
@@codahighland Thank you for the clarification
@codahighland
@codahighland Жыл бұрын
@@maxdobrei5117 Any time!
@agustotara
@agustotara 4 ай бұрын
Unlike VPNs, Zeus Proxy ensures that proxies exclusively change the IP address for the specific browser in which they are installed.
@Kopeksi
@Kopeksi Жыл бұрын
I read pixies. Pixy based security would be awesome
@tg7943
@tg7943 Жыл бұрын
Push!
@ieocin
@ieocin Жыл бұрын
thanks for saving us from the scanning work ;)
@dekrom
@dekrom Жыл бұрын
based
@neon_Nomad
@neon_Nomad Жыл бұрын
*Secretttttt Tunnelllllll!!!*
@bikashdahal7986
@bikashdahal7986 Жыл бұрын
Is there any security issue / government tracking problem if we create our won vpn? Need sugesstions thankyou❤️
@Verrisin
@Verrisin Жыл бұрын
if the IP and TCP packets are left unchanged and just released on the private network ... how does the other side know how to send data back through the VPN Server program ?
@vishesh0512
@vishesh0512 Жыл бұрын
I didn't understand why you'd want to use the VPN protocol which has these added steps to preserve your IP header? Wasn't the proxy setup simpler, and possibly more performant?
@zekicay
@zekicay Жыл бұрын
VPN works with all protocols - if it is a Layer2 VPN, it can even work with non-ip packets (for example IPX/SPX, NetBIOS etc). Proxy works only with some application protocols (HTTP(S) proxy) or only with TCP and UDP (Socks proxy). TCP Proxy is also always a server that only clients can use. A VPN can be ad-hoc (see wireguard point-to-point) or even mesh (see tailscale). Also, why would it be more performant? You have two TCP stacks in a proxy (complex), versus two UDP or even raw IP stacks (simpler) in a VPN endpoint.
@niter43
@niter43 Жыл бұрын
7:00 note the emphasis on "private network", VPNs allow to bridge remote networks into one without revealing any of them to the public internet (e.g. your home network may have 10s of devices, but they all sit behind one public-facing IP of your router -- so for example you wouldn't be able to connect to your phone from outside; VPN allows to connect to your home network remotely and speak to devices within network as if you were connected to it locally). Also his proxy setup is overly simplistic for demo purposes: 1) Always proxied traffic to same remote machine (ipinfo io) -- there's no way to specify to which remote IP/port data should be forwarded; To do so you'd have to wrap payload data in your own layer/data protocol, where you can put this info in some headers. 2) After you made your own proxy protocol you have issue of any third-party software not being aware of how your protocol works and thus not sending data correctly. So you can only use it with software you build/modified yourself -- VPS are transparent to software.
@ItsGlucose
@ItsGlucose Жыл бұрын
I was exactly looking for tunneling and spliting stuff and i was thinking where are you, why this dude didn't post anything for about 2 weeks
@tjgdddfcn
@tjgdddfcn Жыл бұрын
If traffic from a computer goes into a VPN and then to a server on the internet, how does the server know to respond to the VPN, not the computer (since the ip source header would contain the computer’s ip address if the same exact packet that the computer sent would be released into the VPN) and if yes how does the vpn know how to send the server’s response back to the computer since the server had no idea that it was talking to a vpn
@niter43
@niter43 Жыл бұрын
If by "server" you mean machine other that on which VPN server is run (e.g. accesing third-party site through VPN), then it should be like your wifi router (acting as NAT) -- your local device initiates TCP connection, router opens outbound port for it and remembers with which local device that port is associated with, forwards following incoming traffic for that port accordingly.
@yazzindev
@yazzindev Жыл бұрын
How do programs utilize drivers? Why do anticheats use them?
@MadDawg010
@MadDawg010 Жыл бұрын
Can we get a video about TCP meltdown?
@Z3rgatul
@Z3rgatul Жыл бұрын
You mentioned it in passing, but through VPN you can work with any protocol on top of IP. UDP works on top of IP, for example DNS. ICMP works on top of IP, for example ping.
@pitust
@pitust Жыл бұрын
ICMP works over IP not UDP. Well, in the normal scenario anyway; i'm sure one can cobble together some unholy monstrosity that routes ICMP over UDP.
@anonymousperson2640
@anonymousperson2640 Жыл бұрын
A bunch of corrections to your message. 1. Whether you can actually run a protocol over VPN depends heavily on implementation - for example if you use OpenVPN tun device, you are limited to using protocols from OSI layer 3+. You can't use VLANs, CDP, LLDP and many other useful protocols over a tun device. Actually most of VPN types won't allow you to use Layer 2 protocols, with a notable exception of OpenVPN tap device in bridging mode. 2. modern DNS should prefer running over TCP as best practice (see rfc9210). 3. ICMP works on top of IPv4, it is a separate protocol, just as TCP or UDP, so it does not need anything besides IPv4. Most important it does not need the devices to know about each other to function properly
@Z3rgatul
@Z3rgatul Жыл бұрын
@@pitust heh, right, I knew that just made mistake xD
@Z3rgatul
@Z3rgatul Жыл бұрын
@@anonymousperson2640 1. I didn't know you can run OSI layer 2 over openvpn. Should it be better called something like virtual router, and not virtual private network? 2. that's true, but there are other protocols over UDP, and we will have QUIC. DNS was just for an example. And using old DNS over UDP inside local networks is still fine (am i right?) 3. this was my mistake, i knew that
@anonymousperson2640
@anonymousperson2640 Жыл бұрын
@@Z3rgatul yes, openvpn tap device allows raw ethernet frames, so you can even use something like IPX instead of IP inside. Downside would be pretty high traffic usage, since every frame from each connected client will be distributed to all other clients (aka star network). DNS should answer on both UDP & TCP, since UDP-only version has some problems with DNSSEC not fitting into 512 byte limit (you wouldn't want to run a modern dns-server without enforced dnssec verification, would you? :))
@varungupta2045
@varungupta2045 Жыл бұрын
What about the server response? The terminal server is gonna send the response packet destined for your actual computer and the not the vpn server. Can't your isp just look these incoming packets and use the source to figure out what websites you're actually talking to? I'd reckon at the very least the vpn server would modify the ip header of the actual packet and make itself the source so that it can receive the response from the terminal server.
@MatthewJamesKalasky
@MatthewJamesKalasky 9 ай бұрын
I missread the thumbnail as "secret tunnel".
@ayandhara
@ayandhara Жыл бұрын
Me watching after I set up my own personal VPN 😄
@jakobha3768
@jakobha3768 Жыл бұрын
Do they actually use TCP packets? I thought that they use UDP to avoid a TCP Meltdown?
@yuanjv
@yuanjv Жыл бұрын
redstarOSX good easter egg lol
What is a Server? (Deepdive)
17:51
LiveOverflow
Рет қаралды 160 М.
Computer Networking (Deepdive)
14:52
LiveOverflow
Рет қаралды 102 М.
НЕОБЫЧНЫЙ ЛЕДЕНЕЦ
00:49
Sveta Sollar
Рет қаралды 8 МЛН
Why VPNs are a WASTE of Your Money (usually…)
14:40
Cyberspatial
Рет қаралды 1,4 МЛН
Android App Bug Bounty Secrets
20:14
LiveOverflow
Рет қаралды 92 М.
How Hackers Hack WiFi using OSINT
7:27
CyberSudo
Рет қаралды 4,3 М.
The Same Origin Policy - Hacker History
12:19
LiveOverflow
Рет қаралды 104 М.
Authentication Bypass Using Root Array
13:24
LiveOverflow
Рет қаралды 125 М.
What is a Protocol? (Deepdive)
18:14
LiveOverflow
Рет қаралды 153 М.
The Discovery of Zenbleed ft. Tavis Ormandy
19:43
LiveOverflow
Рет қаралды 60 М.
How SSH Works
8:54
Mental Outlaw
Рет қаралды 457 М.
My YouTube Financials - The Future of LiveOverflow
35:00
LiveOverflow
Рет қаралды 104 М.