VPN vs Proxy Explained Pros and Cons

  Рет қаралды 28,130

Hussein Nasser

Hussein Nasser

Күн бұрын

A VPN (virtual private network) and Proxy are two pieces of tech that each has their applications, differences and pros and cons. Both make requests on behave on the client but they are implemented very differently. In this video I want to go through the following:
- What is a VPN?
- How a VPN works?
- VPN Pros and Cons
- What is a Proxy?
- How a Proxy works?
- Proxy Pros and Cons
Time Codes
0:00 Intro
1:10 What is a VPN
9:56 Pros & Cons
19:55 What is a Proxy?
24:28 Proxy PRos & Cons
Cards
NAT 3:15
OSI 5:10
TCP Tunneling 5:40
TLS 14:45
Do you need a VPN 17:08
TOR 27:54
In a VPN, the client becomes part of a completely different network . So if a client makes a request to a server, the new network makes the request.
A VPN makes a machine part of a nother network at the lowest level of the network (layer 2) you can a brand ip address a brand mac address.
In A Proxy, the client makes the request to the proxy asking it to go to a destination server, and proxy makes the request to the server.
VPN Pros
- Encrypts traffic
- Redirect all traffic at the lowest level (layer 2)
- Access restricted content
- Access Private networks (work)
VPN Cons
- Anonymity (uhmm)
- Slow extra hops
- Double Encryption
- VPN can log your data (DNS)
Proxy Pros
- Caching Layer 7
- Anonymity (double meh)
- Blocking Websites (transparent proxy)
- Control and many applications (load balancing, service mesh, firewall proxy security)
- Work on Layer 7 and Layer 4
Proxy Cons
- Applications can bypass proxy
- Not all traffic is routed. HTTP proxy, HTTPS proxy SOCKS proxy
- No encryption by default
Resources
Resources
Kazakhstan Government
www.zdnet.com/article/kazakhs...
networkengineering.stackexcha...
🏭 Software Architecture Videos
• Software Architecture
💾 Database Engineering Videos
• Database Engineering
🛰 Network Engineering Videos
• Network Engineering
🏰 Load Balancing and Proxies Videos
• Proxies
🐘 Postgres Videos
• PostgresSQL
🧮 Programming Pattern Videos
• Programming Patterns
🛡 Web Security Videos
• Web Security
🦠 HTTP Videos
• HTTP
🐍 Python Videos
• Python by Example
🔆 Javascript Videos
• Javascript by Example
Support me on PayPal
bit.ly/33ENps4
Become a Patreon
/ hnasr
Stay Awesome,
Hussein

Пікірлер: 62
@corey.morreale
@corey.morreale 4 жыл бұрын
The Bob Ross of networking :) "Beautiful Router, Beautiful IP Address" Love it.
@sebschrader
@sebschrader 3 жыл бұрын
To answer your question wrt DHCP and VPN: In most VPNs DHCP is not used and the VPN server (also called concentrator) allocates the IP from an internal pool (or obtains it via other means, e.g. RADIUS) and assigns it to the client via the VPN protocol itself together with other related information like routes, DNS resolvers, hostname etc.
@amdtv693
@amdtv693 Жыл бұрын
hey, thank you I was searching for this answer.
@tubbalcain
@tubbalcain 3 жыл бұрын
You deserve soooo much more subs, really underrated channel.
@dexterflodstrom9975
@dexterflodstrom9975 3 жыл бұрын
I agree 100% he explains so well
@firstnamelastname-ok3gf
@firstnamelastname-ok3gf 3 жыл бұрын
i've been researching this topic and this so far has been the only one to give a genuine answer. the rest of the sources i visited were vague in vpns and proxies and didn't explain what the difference was, despite that being the point of the source. there's no propaganda here, just pure facts and i can respect that.
@oguzhantopaloglu9442
@oguzhantopaloglu9442 Жыл бұрын
Your channel is amazing, I learnt so much from you about TCP, UDP, VPN, proxies etc.
@carriereidm.2899
@carriereidm.2899 4 жыл бұрын
Thanks so much! Very helpful. Love your videos, so easy to understand
@hnasr
@hnasr 4 жыл бұрын
Carrie Reid M. Thank you Carrie 😊 appreciate your comment
@GuidoPerdomo
@GuidoPerdomo 3 жыл бұрын
you know you explain concepts so well, in a funny and engaging way, but my favorite thing about you is how you roll the r's, I think it may cure cancer and bring world peace.
@renanaoki714
@renanaoki714 8 ай бұрын
Thanks! Very well explained!!!
@khatritariq
@khatritariq 4 жыл бұрын
Nicely explained.
@hnasr
@hnasr 4 жыл бұрын
Thanks Tariq!
@ImAnonymous433
@ImAnonymous433 3 жыл бұрын
your Explanation is in such a way that a student read a concept and have douts
@pablohernandez4305
@pablohernandez4305 3 жыл бұрын
Thanks for this video it helped me a lot to understand the proxy
@ekejma
@ekejma 3 жыл бұрын
Great content as usual.
@thearchibaldtuttle
@thearchibaldtuttle 4 жыл бұрын
Good day and thank you!
@hnasr
@hnasr 4 жыл бұрын
Archibald Tuttle have a great day and enjoy the video!
@Louisrael
@Louisrael 3 ай бұрын
Proxies are generally known for providing faster connection speeds than VPNs since they only direct specific traffic through their servers, whereas VPNs encrypt all internet traffic, potentially causing speed reductions. Zeus Proxy offers a rotating residential proxy, perfect for various activities like e-commerce multi-account registrations, data crawling, airdrops, and gaming.
@vaporwareproducts
@vaporwareproducts 2 жыл бұрын
Do y’all recommend a vpn over a proxy for SoMe activity? I’ve heard that residential proxies are the best for avoiding banning. Hearing that if sites like FB see a VPN they will ban Acct/profile. Hogwash? I’m wanting to connect to distinct local SoMe profiles for interaction, etc. What do you recommend to remove session fingerprints from browsers or does that matter with VPNs (I’m ignorant) but know this is needed with proxies. Thx!
@devjohncarlo
@devjohncarlo 2 жыл бұрын
your questions are the same to me, I'm also a software developer and I'm curious how to create a VPN from scratch so I made it using the C program but the IP I assign is static client and server I'm also not sure how it works about assigning IP in VPN.
@osmaninci672
@osmaninci672 2 жыл бұрын
It was very Helpful Mr. Joker, I believe whatever doesn't kill u makes u a stranger.
@palaniappanrm6277
@palaniappanrm6277 3 жыл бұрын
Another doubt wrt to Proxy. I understood about the load balancer, side car in service mesh are example of HTTP proxy so that they can see the data and route accordingly with layer 7 information. In HTTPS proxy, let's say we access @t, we encrypt that and again encrypt with TLS of the proxy server. Then how come Proxy server can read our data after first TLS decryption alone? They can't see anything beyond TCP packet network 4 right? They can just see the public IP of the google right?
@apocalypseb7x
@apocalypseb7x 2 жыл бұрын
Does VPN provides save your logs information? What do you think about that? I think is not the best choice for privacy
@poliIndia
@poliIndia 3 жыл бұрын
Hussein explaining why other people using the VPN can access my data... "Just something to think about". Me, using VPN for netflix all the time, laughs in panic.
@shaitansinghmeena63.76
@shaitansinghmeena63.76 Жыл бұрын
Nice
@jivanmainali1742
@jivanmainali1742 3 жыл бұрын
How router serves a static files when we type default gateway in browser ? So is there a server listening for port 80 and serves file
@hnasr
@hnasr 3 жыл бұрын
Jivan Mainali correct, it is an http server module that serves that and help manage config
@jivanmainali1742
@jivanmainali1742 3 жыл бұрын
So where is dns server located?It must be present with client
@laanbarehamza1024
@laanbarehamza1024 2 жыл бұрын
Does Proxychains on Kali Linux provides Anonymity ?
@jasonhiggins.3853
@jasonhiggins.3853 2 жыл бұрын
Hello, my PC IP address is blacklisted and i now when i try to run email campaigns they dont get into the recipients inboxes, this is real pain. My ISP wont give me a new IP either!! I have tried using a VPN as well but it does not work. Does anyone know of any solution to this apart from buying another PC which is not what i really want to do. Thanks.
@NguyenNguyen-hh7lc
@NguyenNguyen-hh7lc 4 жыл бұрын
The content could have been more precise, some parts were just to brag too much about the lack of anonymity of VPN and proxies. Instead, I would love to see how a proxy server terminates HTTPS requests from a client’s machine and forces the client’s machine to use HTTP so that it can view the request content
@hnasr
@hnasr 4 жыл бұрын
Thanks Nguyen for your honest feedback. This video was designed to go through highlevel overview on both Proxy and VPN. Check out my deep dive on Proxies and TLS Terminations here HTTP Proxy deep dive kzbin.info/www/bejne/rmWoZaCYpMd6e8U TLS Termination kzbin.info/www/bejne/fmHFnH-pispmpNE
@NguyenNguyen-hh7lc
@NguyenNguyen-hh7lc 4 жыл бұрын
Hussein Nasser Thanks for referring the links, will check them out soon. One more thing, if you’d like to emphasize the lack of anonymity in both cases, some dedicated slides or diagrams will bring up more impression to audiences than the word “meh” does. Looking forward to seeing improvement in your future videos.
@arrikd8358
@arrikd8358 3 жыл бұрын
I read the comment section for comments like this.
@arrikd8358
@arrikd8358 3 жыл бұрын
@@hnasr Kind of you to listen to critics and make a video about it .
@jivanmainali1742
@jivanmainali1742 3 жыл бұрын
How to get public IP for my home server??
@cybersecurity90
@cybersecurity90 2 жыл бұрын
it can be better and it is very high level overview which is good for new engineers
@koki44443
@koki44443 4 жыл бұрын
Dude u are so fucking funny. Love your stuff and it's well explained. I'm a developer, but still I believe the info to be accessible to most people.
@krupakarreddy8235
@krupakarreddy8235 3 жыл бұрын
Can we use both vpn server and proxy server..if yes in what way??
@hnasr
@hnasr 3 жыл бұрын
Krupakar Reddy if you used VPN to login to your work private netwok and then using fiddler as proxy to debug your app thats an example where both VPN and proxy are used in the same time.
@aatifbangash
@aatifbangash 4 жыл бұрын
Must have youtube channel for the coders!!!.
@hnasr
@hnasr 4 жыл бұрын
Hmmm not I am not sure if thats a good idea. It will spread me too thin.
@FordExplorer-rm6ew
@FordExplorer-rm6ew 4 жыл бұрын
Proxys seem abstract and hard to understand, At least what proxys are now. compared to the early 00s when I was a kid. Using them in school. How is this kind of proxy different from when we set a proxy for react or something like that? I feel like the term proxy, has been very obfuscated since the 00s
@hnasr
@hnasr 4 жыл бұрын
Great question and I talk about those kind of proxies in the end of the videos such as react proxy and fiddler and charlie.. a proxy was designed for caching back in early 00s as you said but engineers discovered it can be used for so many other applications such as intercepting traffic, firewalls, http Accelerators , service mesh, microservices all that jazz.. it is rarely used now as annonymouzing service anymore way jump to 24:30 where i talk about those benefits of proxy..
@FordExplorer-rm6ew
@FordExplorer-rm6ew 4 жыл бұрын
@@hnasr thanks man. this channel rocks : )
@tubbalcain
@tubbalcain 3 жыл бұрын
is becoming a part of the network (meaning giving full access to devices/servers and all the problems this can give) not only valid when your using-for example-IPsec IKEv2 VPNs, since these kind of VPNs work on a different OSI layer than the 'common' commercial TLS VPNs, who work on the applicationlayer (more or less between applicationlayer and transportlayer) and can be easily restricted, when talking about getting full access. Love to hear from you, my Guru 👳
@usamatahseenulhaque9125
@usamatahseenulhaque9125 3 жыл бұрын
It was worth it
@highspparow3893
@highspparow3893 Жыл бұрын
That's what she said 😂 Sorry I can't help it.
@zee-x-eez9441
@zee-x-eez9441 Жыл бұрын
Kazakhstan is trying to catch Borat!!! ;-)
@LivingTheDream77
@LivingTheDream77 3 жыл бұрын
What about https only proxy ?
@ImAnonymous433
@ImAnonymous433 3 жыл бұрын
host router provide ip addresss because pc has not ability work as dhcp server
@qj1eo
@qj1eo 2 жыл бұрын
i love y :(
@dhammi
@dhammi 4 ай бұрын
26:06 🤣🤣
@sebschrader
@sebschrader 3 жыл бұрын
IKE, IPSec, L2TP are _NOT_ Layer 2.
@sebschrader
@sebschrader 3 жыл бұрын
And with most VPNs, the inside tunnel can only carry Layer 3 information and not Layer 2. With some VPNs you can chose, e.g. OpenVPN's tun mode vs tap mode, others like IPSec are Layer 3 by design and need to encapsulate other protocols like L2TP or GRE to carry L2 packets.
@hnasr
@hnasr 3 жыл бұрын
Thanks for clarifying this!
@sumitmodi5925
@sumitmodi5925 Жыл бұрын
Kripya mere mobile per add Dena band Karen
@umitkuluk3563
@umitkuluk3563 3 жыл бұрын
🎍🏢
@biodevm
@biodevm 2 жыл бұрын
The sound of the video is HORRIBLE!!!
Layer 4 vs Layer 7 Proxying In Details Explained with Examples
24:24
Hussein Nasser
Рет қаралды 24 М.
Proxy vs Reverse Proxy Server Explained
14:18
Hussein Nasser
Рет қаралды 128 М.
Uma Ki Super Power To Dekho 😂
00:15
Uma Bai
Рет қаралды 59 МЛН
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 32 МЛН
Indian sharing by Secret Vlog #shorts
00:13
Secret Vlog
Рет қаралды 38 МЛН
The OSI Model - Explained by Example
25:16
Hussein Nasser
Рет қаралды 173 М.
WebSockets Crash Course - Handshake, Use-cases, Pros & Cons and more
47:33
SSH Tunneling - Local & Remote Port Forwarding (by Example)
17:43
Hussein Nasser
Рет қаралды 235 М.
Fail-over and High-Availability (Explained by Example)
19:21
Hussein Nasser
Рет қаралды 55 М.
SSL/TLS Termination, TLS Forward Proxy Pros and Cons
16:56
Hussein Nasser
Рет қаралды 30 М.
The effect of Random UUID on database performance
18:51
Hussein Nasser
Рет қаралды 67 М.
What is a Virtual IP Address? How does it help with High-Availability
7:38
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 6 МЛН
Трагичная История Девушки 😱🔥
0:58
Смотри Под Чаёк
Рет қаралды 354 М.
Samsung Android Mobile Battrey
0:39
Gaming zone
Рет қаралды 341 М.