VPNs, Proxies and Secure Tunnels Explained (Deepdive)

Поділитися
Вставка
  • Опубліковано 10 чер 2024
  • 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

КОМЕНТАРІ • 185

  • @janaakhterov
    @janaakhterov Рік тому +59

    I'd really enjoy a Deepdive about TLS.

    • @misterymissile
      @misterymissile Рік тому

      ua-cam.com/video/6G14NrjekLQ/v-deo.html

    • @0x7ddf1
      @0x7ddf1 Рік тому

      Yeah, that would be great

    • @cedriczumsteg2371
      @cedriczumsteg2371 Рік тому +5

      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 Рік тому +29

    I was just wondering about this and then got a notification.

    • @MrDeltaRing
      @MrDeltaRing Рік тому +7

      It's like he knows what we are thinking...like a hacker perhaps

    • @crafterboy27
      @crafterboy27 Рік тому +3

      @@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 Рік тому +137

    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 Рік тому +1

      Hmmm its more like IP within TCP or UDP

    • @codahighland
      @codahighland Рік тому +7

      ​@@creepr524 Yes, but TCP and UDP are themselves inside of IP, so the statement is still correct.

    • @geevee9728
      @geevee9728 Рік тому +3

      @@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.

  • @TechnicalHeavenSM
    @TechnicalHeavenSM Рік тому +17

    This series is actually a gold mine

  • @jayfraxtea
    @jayfraxtea Рік тому +9

    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.

  • @ArthurSchoppenweghauer
    @ArthurSchoppenweghauer Рік тому +72

    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 Рік тому +1

      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 Рік тому +1

      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

  • @anonymousperson2640
    @anonymousperson2640 Рік тому +34

    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!

  • @VegaSlayer
    @VegaSlayer Рік тому

    I feel lucky that you still share the knowledge with us. literally gold channel

  • @alastairtheduke
    @alastairtheduke 5 місяців тому

    This is such a good explanation. You are so good at explaining these topics and such a natural in front of the camera

  • @DarkMonsterGFX
    @DarkMonsterGFX Рік тому +2

    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

  • @randlekonoble1011
    @randlekonoble1011 Рік тому

    Really detailed video, I’ve been experimenting with tunnels recently & I think you explained the underlying concepts extremely well 🥳🥳.

  • @QueRedFire
    @QueRedFire Рік тому +2

    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?"

  • @sanjeevKumar-eg6hp
    @sanjeevKumar-eg6hp 8 місяців тому +1

    Thank you so much for sharing the knowledge in such a simple manner

  • @patpattson
    @patpattson Рік тому

    This was great! Have actually never completely understood how vpns work, great explaination!

  • @danielsterchi3088
    @danielsterchi3088 Рік тому

    I really love your enthusiasm about the topics! 👍

  • @ThePowerRanger
    @ThePowerRanger Рік тому +5

    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.

  • @kevint.900
    @kevint.900 Рік тому +7

    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? ('"'>')

  • @FreestyleTraceur
    @FreestyleTraceur 2 місяці тому

    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!

  • @backinyourcommentsectionag3191

    Absolutely loved this video!

  • @electricimpulsetoprogramming

    your videos teaching things are awesome

  • @iyadahmed3773
    @iyadahmed3773 Рік тому

    Thanks a ton for this I was confused about this today in class!

  • @paknbagn9917
    @paknbagn9917 Рік тому

    really good explaining

  • @akenang1852
    @akenang1852 Рік тому

    I love the mini videos with you encapsulating packets hahah

  • @SupremeGrace-xx4ys
    @SupremeGrace-xx4ys Рік тому

    Really awesome and deep explanation thank you

  • @brianhayes1105
    @brianhayes1105 Рік тому

    Brilliant. Thank you so very much.

  • @alpagutsencer
    @alpagutsencer Рік тому

    Perfect video man! Keep it coming ^^

  • @0x7ddf1
    @0x7ddf1 Рік тому

    Wow, the networking world is amazing, thank you

  • @BenKadel
    @BenKadel Рік тому

    Absolutely excellent video super helpful thank you!

  • @alishabani9136
    @alishabani9136 Рік тому +20

    If you mix these concepts with SSL that would be very interesting at least for me. Thank you for sharing knowledge

    • @RoiEXLab
      @RoiEXLab Рік тому +5

      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 Рік тому +2

      ​@@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 :)

  • @codewizard58
    @codewizard58 Рік тому +2

    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 : )

  • @user-ys2nd2bg6r
    @user-ys2nd2bg6r Рік тому

    Nice animation of the osi layers

  • @mineeeeee
    @mineeeeee Рік тому +2

    Love your videos ^^

  • @prateeksaraswat1
    @prateeksaraswat1 Рік тому

    What a 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

  • @Bluepaccao
    @Bluepaccao Рік тому

    Great video, thank you!

  • @noobishgamer995
    @noobishgamer995 Рік тому

    i deff subscribed for your minecraft content. its great

  • @velho6298
    @velho6298 Рік тому

    Great video!

  • @user-en3np7hu6m
    @user-en3np7hu6m 3 місяці тому

    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  3 місяці тому

      Slightly related, checkout my Linux Driver video. It’s a different style but might answer some questions

  • @0xAAA
    @0xAAA Рік тому

    Amazing vid

  • @mrpi230
    @mrpi230 Рік тому

    Thank You😊

  • @thatcrockpot1530
    @thatcrockpot1530 Рік тому

    Great content :)

  • @psp.youtube
    @psp.youtube Рік тому

    Thanks Fabien

  • @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.

  • @section9999
    @section9999 7 місяців тому

    yay deepdives!

  • @pflasterstrips7254
    @pflasterstrips7254 Рік тому

    I like the LiveOverflow university

  • @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.

  • @andrew5407
    @andrew5407 Рік тому +1

    Nice video! Could you make a video on files, sockets and streams :D

  • @kaihatkeinenaccount
    @kaihatkeinenaccount Рік тому

    tbh I like the ad at the end

  • @joanelietheiligerruiz3144
    @joanelietheiligerruiz3144 Рік тому

    Muy bueno !!!!

  • @WrenchIO
    @WrenchIO Рік тому

    learned a lot

  • @alastairtheduke
    @alastairtheduke 5 місяців тому

    Thanks!

  • @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?

  • @ibrahimalnafisi432
    @ibrahimalnafisi432 Рік тому

    Great Video!
    Something about TLS?

  • @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.

  • @Ramsas154
    @Ramsas154 Рік тому +6

    Talk about certificates, I'm using them, issuing them but don't *really* understand it. CA Authority, TLS, SSL.

  • @Louisrael
    @Louisrael 4 місяці тому

    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?

  • @Wallee580
    @Wallee580 Рік тому

    Can't wait for a video on Union routing. c:

    • @aonoloki
      @aonoloki Рік тому +1

      computerphile did a nice one on the subject, but guess he might do better

  • @zFake
    @zFake Рік тому

    Our favorite hacker is back. Let's go!

  • @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

  • @ShaharBarsheshet
    @ShaharBarsheshet 2 місяці тому

    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?

  • @semitangent
    @semitangent Рік тому +6

    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 Рік тому +3

      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.

  • @mehmetavci8270
    @mehmetavci8270 Рік тому +2

    Hello is it possible to make a video about certificates (deepdive)? Ty

  • @metiu1973
    @metiu1973 Рік тому

    Greater video thank you! Could you maybe make a video about reverse proxy to?

  • @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)

  • @logmeindog
    @logmeindog Рік тому

    thanks

  • @uinisefaustinafoochong7743
    @uinisefaustinafoochong7743 Рік тому

    I felt like you were on the same page as I was for a second

  • @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

  • @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

  • @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.

  • @perschistence2651
    @perschistence2651 Рік тому

    Great video but the image quality was kind of low. Maybe you should consider to upload in 4K in the future.

  • @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?

  • @09sahilchaudhary94
    @09sahilchaudhary94 9 місяців тому

    You should make more of these videos explaining concepts. Why did you stoped?

  • @nosenseofhumor1
    @nosenseofhumor1 Рік тому

    do you think you could teach chatgpt to buffer overflow its own text prediction's return variable?

  • @Syphdias
    @Syphdias Рік тому +2

    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 Рік тому +1

      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):

  • @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 ?

  • @maxdobrei5117
    @maxdobrei5117 Рік тому +1

    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 Рік тому +1

      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!

  • @Kopeksi
    @Kopeksi Рік тому

    I read pixies. Pixy based security would be awesome

  • @tjgdddfcn
    @tjgdddfcn Рік тому +1

    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 Рік тому +1

      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.

  • @plippero7870
    @plippero7870 Рік тому +1

    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 Рік тому +4

      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 :)

  • @bikashdahal7986
    @bikashdahal7986 Рік тому

    Is there any security issue / government tracking problem if we create our won vpn? Need sugesstions thankyou❤️

  • @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 !!

  • @user-ys2nd2bg6r
    @user-ys2nd2bg6r Рік тому

    I think there is also potential for a BIOS/UEFI/bootloader/boot etc. Video but that could be rather short

  • @agustotara
    @agustotara 4 місяці тому

    Unlike VPNs, Zeus Proxy ensures that proxies exclusively change the IP address for the specific browser in which they are installed.

  • @dekrom
    @dekrom Рік тому

    based

  • @AjayKumar-fd9mv
    @AjayKumar-fd9mv Рік тому

    👍

  • @vishesh0512
    @vishesh0512 Рік тому +1

    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 Рік тому +1

      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

  • @ieocin
    @ieocin Рік тому

    thanks for saving us from the scanning work ;)

  • @neon_Nomad
    @neon_Nomad Рік тому +1

    *Secretttttt Tunnelllllll!!!*

  • @tg7943
    @tg7943 Рік тому

    Push!

  • @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.

  • @MadDawg010
    @MadDawg010 Рік тому

    Can we get a video about TCP meltdown?

  • @yazzindev
    @yazzindev Рік тому

    How do programs utilize drivers? Why do anticheats use them?

  • @Z3rgatul
    @Z3rgatul Рік тому +1

    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 Рік тому +1

      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 Рік тому +1

      @@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? :))

  • @jakobha3768
    @jakobha3768 Рік тому

    Do they actually use TCP packets? I thought that they use UDP to avoid a TCP Meltdown?

  • @ayandhara
    @ayandhara Рік тому

    Me watching after I set up my own personal VPN 😄

  • @Bartek2OO219
    @Bartek2OO219 Рік тому

    maybe docker explanation?

  • @yuanjv
    @yuanjv Рік тому +1

    redstarOSX
    good easter egg lol