Support Me
Try out ScraperAPI and program your own proxy!
(Affiliate Link)
Get a 5% off Ekster Products
or discount code “DEV“ at checkout!
(Paid Link)
Follow me on a Twitter and Facebook!
Welcome back to Dev Odyssey Home Networking! In this episode I visually explain how HTTP and Socket Secure (SOCKS5) proxies work.
In this video, I show you how to set up an HTTP and SOCKS5 proxies using Squid and Ubuntu LTS with OpenSSH. Then we test out these proxies using Postman and FoxyProxy plugin for Firefox. Proxies have many benefits, some of which are increased anonymity browsing online, enabling access to different online content, a means to analyze web traffic, parental blocks on website, and much more. Once you know how to create and connect to proxies, your benefits are limited to your imagination.
Video Outline
00:00 Intro
00:26 What are Proxies
00:53 HTTP Proxy Explained
02:35 SOCKS Proxy Explained
03:56 Proxy Benefits Recap
04:20 Preliminary Test
05:07 Download / Configure Squid Proxy
06:33 Configure / Test Proxy In Postman
07:31 Squid
07:51 Adding Basic Auth to Squid Proxy
10:44 Configure / Test Proxy Auth in Postman
11:35 Configure SOCKS Proxy
12:02 Showing Open Ports
12:28 Configure SOCKS Proxy in FoxyProxy
13:21 Testing SOCKS Proxy
13:36 Outro
A Proxy server is simply an intermediary, or middle man, that processes requests for you on their way out to their destination, acting as a client itself on your behalf. There are many different proxy services and protocols, but in this case, we will be discussing the most popular, HTTP(s) and SOCKS (Socket Secure) proxies.
HTTP Proxy Diagram
SOCKS Proxy Diagram
Benefits - Similar to intro items
Increased Anonymity Browsing Online
Enable access to different content
Analyze web traffic
Parental Blocks on Websites
Demonstration
Squid Proxy
1. Install squid (sudo apt install squid)
2. Make copy of (sudo cp /etc/squid/ /etc/squid/)
3. Edit (sudo vim /etc/squid/), uncomment http_access allow localnet, save file
4. Restart Squid (sudo systemctl restart squid)
5. Check if its running (sudo systemctl status squid) Should see “running“ and “active“
6. Configure Proxy in Postman and test (Settings, then Proxy tab). Add IP of Proxy Server, then default port (3128)
7. Check Access log for entries (sudo vim /var/log/squid/)
8. Add basic user / password for authentication
1. Add the following
1. auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/htpasswd
2. auth_param basic realm Squid Proxy Caching Web Server
3. acl authenticated proxy_auth REQUIRED
4. acl authenticated_ips src {{CLIENT_IP_ADDRESS}}/32
5. http_access allow authenticated authenticated_ips
1. Run the following replacing “username” and “password” accordingly: sudo printf “USERNAME:$(openssl passwd -crypt PASSWORD) “ | sudo tee -a /etc/squid/htpasswd
2. Restart Squid
3. Configure Postman to use Proxy Auth (Settings then Proxy). Fill in Username and Password
SOCKS Proxy
1. Login to Ubuntu Server using SSH, with -D flag for dynamic port forwarding
* Dynamic Port Forwarding. - Creates a SOCKS proxy server that allows communication across a range of ports.
2. Configure Foxy Proxy By Adding a new Proxy, then changing the type to “SOCKS5“, IP Address as your localhost (127[.]0[.]0[.]1), and port you used (40932)
3. Save Configuration with name Test SOCKS. Open new tab in Firefox, set FoxyProxy to use Test SOCKS
Other Dev Odyssey Network Videos:
How to Create a VLAN - A Beginner’s Guide // OpenWrt -
What is Port Forwarding? -
How to Connect 2 Routers on the Same WiFi Network -
What is a WAN Port On A Router? -
Home Networking Playlist
Network Security Playlist
Icon Attribution
Icons made by Freepik from Flaticon
Icons made by Vectors Market from Flaticon
Icons made by Smashicons from Flaticon
Ubuntu is a trademark of Canonical
Squid Artwork
Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-NC-SA 3.0
Music Attribution
Sunrise by SKIRK
Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0
Free Download / Stream:
Music promoted by Audio Library
1 view
178
58
1 month ago 00:00:41 1
Coke and Mentos Slicing Prank Gone WRONG!
1 month ago 00:04:12 1
In Hearts Wake - Farewell (video 2024)
1 month ago 00:46:46 1
FOUND MURDER WEAPON after being CONFRONTED by ANGRY NEIGHBOR
1 month ago 00:10:33 1
Принимайте в мае! Средство для здоровья и молодости! Укрепить здоровье и омолодить кожу!
1 month ago 00:05:13 1
Lighthouse Family - High (Official Music Video)
1 month ago 00:03:50 1
AD INFINITUM - Upside Down (Official Video) | Napalm Records
1 month ago 00:00:59 1
Шикарный Весенний Стиль 50+
1 month ago 00:09:44 1
Easy Silk Screening for Pottery - BEST WAY TO SILK SCREEN POTTERY!
1 month ago 01:16:00 1
AI Manifest: The Most Beautiful Space Visualization on the Internet | 4K UHD | 24 FPS
1 month ago 00:03:39 1
Genshin Impact Animation – ONE MORE PULL (Music Video) ■ feat. Black Gryph0n & Rustage
1 month ago 01:51:55 1
1945-1953 From World War to Cold War
1 month ago 00:10:56 1
Cartoon Character Design USING ONLY YOUR MOUSE : Adobe illustrator Tutorial Speed Art 2021.
1 month ago 00:05:31 1
Урок 9. Writing a formal letter. Английский язык 11 класс
1 month ago 00:11:43 1
Secret Chemtrail Pilot Speaks, on Dec 8, 2014
1 month ago 00:00:16 1
Assassins creed mask Steel Soul music tiktok trend
1 month ago 00:04:48 1
How to FIX Desyncs in 5 Minutes
1 month ago 00:01:06 1
Changing ISO Files to use B Raw in resolve 18
1 month ago 00:00:16 1
I and trend mask Triple Death music tiktok
1 month ago 00:06:18 1
OMNIMAR - Forever (Official Video) | darkTunes Music Group
1 month ago 00:04:02 1
How to use can and can’t | English for kids with Novakid
1 month ago 00:06:15 1
After effects “SMOOTH TEXT ANIMATION“
1 month ago 00:04:46 1
Slipknot - Unsainted [OFFICIAL VIDEO]
1 month ago 00:57:00 1
Simon Keye | All The Way Visual March 2024 at Sea Casino | Burgas (Bulgaria)
1 month ago 00:00:00 1
4/4 PORTAL • APRIL 2024 • MANIFEST YOUR DREAMS • MIRACLE FREQUENCY • 528Hz