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
https://www.zdnet.com/article/kazakhstan-government-is-now-intercepting-all-https-traffic/
https://networkengineering.stackexchange.com/questions/50805/how-do-protocols-like-pptp-l2tp-work-below-ip-level/50808#50808
🏭 Software Architecture Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQXNP6mQchJVP3S-3oKGEuw9
💾 Database Engineering Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2
🛰 Network Engineering Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQUBSgBXilKhRMJ1ACqr7pTr
🏰 Load Balancing and Proxies Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC
🐘 Postgres Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQWGrOqslniFlRcwxyY94cjj
🧮 Programming Pattern Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQV1emqxKbcP5esAf4zpqWpe
🛡 Web Security Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQU3YDMRSMvzflh_qXoz9zfv
🦠 HTTP Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQU6zO0drAYHFtkkyfNJw1IO
🐍 Python Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQU_M83ARz8mDdr4LThzkBKX
🔆 Javascript Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQWab0g3W6ZaDM6_Buh20EWM
Support me on PayPal
https://bit.ly/33ENps4
Become a Patreon
https://www.patreon.com/join/hnasr?
Stay Awesome,
Hussein