<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sonia on Medium]]></title>
        <description><![CDATA[Stories by Sonia on Medium]]></description>
        <link>https://medium.com/@sonia_n_y?source=rss-a23b25e9ba2f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TJF_CC4MDusTBCVSCObqgg.jpeg</url>
            <title>Stories by Sonia on Medium</title>
            <link>https://medium.com/@sonia_n_y?source=rss-a23b25e9ba2f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 10:01:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sonia_n_y/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Firewall vs Proxy vs VPN]]></title>
            <link>https://medium.com/@sonia_n_y/firewall-vs-proxy-vs-vpn-9555f5913d03?source=rss-a23b25e9ba2f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9555f5913d03</guid>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[vpn]]></category>
            <category><![CDATA[computer-networking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[proxy]]></category>
            <dc:creator><![CDATA[Sonia]]></dc:creator>
            <pubDate>Wed, 11 Mar 2026 14:25:33 GMT</pubDate>
            <atom:updated>2026-03-11T14:25:33.353Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re getting into networking or cybersecurity, you’ve probably heard these three terms everywhere,<br>They all deal with internet traffic, yet they work at <strong>different levels</strong> and for <strong>different purposes</strong>.<br>Let’s break it down clearly..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*5b1CNtju4i10dmiZ9B909A.png" /></figure><p>🧱 <strong>What is a Firewall?<br></strong>A <strong>firewall</strong> is a network security control that decides which traffic is allowed in or out of a network. It works using rules such as: <br>→ Source IP address<br>→ Destination IP address<br>→ Port number<br>→ Protocol (TCP or UDP)<br>If traffic matches an allowed rule, it is permitted.<br>If it does not match, it is blocked.</p><blockquote>A firewall protects networks, servers, and internal systems from unauthorized access. It does not hide your identity, and it does not encrypt your internet traffic (main role: <strong>traffic control</strong> at the network boundary)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*IahUYFBsNYMuC4_0ilDO3Q.png" /><figcaption>A firewall monitors and filters network traffic based on security rules, allowing safe traffic and blocking malicious requests</figcaption></figure><p><strong>What a firewall does</strong><br>👉 Filters network traffic<br>👉 Blocks unauthorized access<br>👉 Allows legitimate communication<br>👉 Protects internal networks from attacks</p><p><strong>For Example</strong><br>A company firewall may block:<br>✔️ suspicious IP addresses<br>✔️ unauthorized ports<br>✔️ malicious traffic patterns</p><blockquote>Firewalls operate mainly at Network Layer (L3) and Transport Layer (L4) of the OSI model.</blockquote><blockquote>Key idea: <strong>Control and filtering</strong></blockquote><p>📌 Traditional firewalls mainly rely on predefined rules to allow or block traffic.<br>However, some modern firewalls now use artificial intelligence and machine learning to improve threat detection. Instead of only checking rules, these systems can analyze network traffic in real time and look for unusual patterns. This helps detect new or unknown threats and can assist security teams in managing firewall policies more effectively.</p><p>🌐 <strong>What is a Proxy?<br></strong>A <strong>proxy server</strong> is an intermediary between a user and the internet. Instead of connecting directly to a website, the request first goes to the proxy server. The proxy then forwards the request to the website and returns the response back to the user because the request passes through the proxy, the destination website sees the <strong>proxy’s IP address instead of the user’s IP address</strong>. The proxy can log, filter, or modify requests.<strong><br></strong>➡️ Proxies are commonly used for content filtering, hiding client IP addresses, caching web content, or bypassing restrictions<br>➡️ Proxies typically operate at the <strong>Application Layer (L7)<br></strong>➡️ A proxy does not automatically encrypt all traffic. Its main role is forwarding and control.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*59WttONSDjGvjQ042_weYw.png" /><figcaption>Instead of connecting directly to a website, your traffic goes through a proxy server first.</figcaption></figure><p><strong>Proxies are commonly used for:</strong><br>➡️ Hiding the user’s IP address<br>➡️ Accessing region-restricted content<br>➡️ Filtering or monitoring internet traffic in organizations<br>➡️ Caching frequently requested data to improve speed</p><blockquote>📌 Imagine you try to open a website that is blocked in your country.<br>If you use a proxy server located in another country, the request goes through that proxy. The website thinks the request is coming from the proxy server, not from your real location.</blockquote><blockquote>Key idea: <strong>Intermediary / IP masking</strong></blockquote><p>🔐 <strong>What is a VPN? (Encrypted Tunnel)<br></strong>A <strong>VPN (Virtual Private Network)</strong> creates an encrypted tunnel between your device and a VPN server.<br>➡️All your traffic goes through that tunnel.</p><p><strong>What a VPN Provides<br></strong>✔️ IP masking<br>✔️ Full traffic encryption<br>✔️ Secure remote access<br>✔️ Safer public Wi-Fi usage<br>Unlike a proxy, a VPN affects your entire device’s traffic, not just one app.<br>➡️ Think of it as building a private underground tunnel from your house to another city.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SQOqsug0q6BhhWobi0SFRA.png" /><figcaption>User → 🔒 VPN Tunnel → VPN Server → Website</figcaption></figure><p>This is why people use VPNs to:<br>👉 hide their IP<br>👉 access geo-restricted content<br>👉 browse securely on public networks</p><p>Key idea:<br><strong>Encryption + privacy</strong></p><blockquote>📌 Suppose you open <strong>YouTube</strong> while using a VPN.<br>Step 1: Your computer encrypts traffic and sends it to the VPN server (Laptop → 🔒 VPN Tunnel → VPN Server)<br>Step 2: The VPN server decrypts it and forwards the request (VPN Server →🔒 HTTPS → youtube.com)<br>Step 3: YouTube sends the response back (youtube.com → VPN Server → 🔒 VPN Tunnel → Your laptop)</blockquote><blockquote>📌 One line tip :<br><strong>Firewall:</strong> Controls and filters network traffic<br><strong>Proxy:</strong> Acts as an intermediary and hides IP (forwards traffic)<br><strong>VPN:</strong> Encrypts internet traffic and hides IP (secure traffic)</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9555f5913d03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Traditional Firewall vs Next-Gen Firewall (NGFW)]]></title>
            <link>https://medium.com/@sonia_n_y/traditional-firewall-vs-next-gen-firewall-ngfw-9c4ee9b104db?source=rss-a23b25e9ba2f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c4ee9b104db</guid>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[firewall-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[computer-networking]]></category>
            <dc:creator><![CDATA[Sonia]]></dc:creator>
            <pubDate>Wed, 21 Jan 2026 05:59:08 GMT</pubDate>
            <atom:updated>2026-01-21T05:59:08.345Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>🧱</em> What is a firewall?<br>A firewall is a security control that filters network traffic based on rules. Traditionally it worked on IPs and ports, while modern firewalls like NGFW also inspect applications and threats.</blockquote><p>🧠 Think of this like <strong>how deep the firewall can look into traffic</strong>.</p><h3>🔒 Traditional Firewall</h3><p>A traditional firewall works mainly at <strong>Layer 3 and Layer 4</strong>.<br>Looks at:<br>→ Source IP<br>→ Destination IP<br>→ Port number<br>→ Protocol TCP or UDP<br>If the rule says, <strong>Port 80 allowed</strong> <strong>→ Traffic goes through</strong><br>Does <strong>not understand</strong>:<br>→ What application is running<br>→ Who the user is<br>→ Whether traffic is malicious or normal</p><blockquote>🔹 <strong>For Example:</strong> Traffic on port 443<br>Firewall sees HTTPS → Rule allows 443<br>✔️ Traffic passes<br>Even if it’s malware using HTTPS or data exfiltration over HTTPS, the firewall doesn’t know.<br>only checks port + IP ✔</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mYaoW19s3rqA53zxS8Diew.png" /><figcaption>Simple flow of a traditional firewall</figcaption></figure><blockquote>Incoming traffic hits the traditional firewall, which acts like a gatekeeper.<br>But here’s the key point 👇<br>A traditional firewall does NOT look inside the traffic.<br>It only checks basic headers.<br>→ These green boxes explain the rules the firewall uses:<br>Source IP : Example- 10.1.1.2<br>→ Where the traffic is coming from<br>Destination IP: Example- 192.168.1.5<br>→ Which internal server is being accessed<br>Port &amp; Protocol: Example- TCP 80<br>→ What service is being requested (HTTP on port 80)<br>This is classic L3/L4 filtering.<br>✔ If the packet matches an allowed rule → it passes &amp; reaches the internal network (servers, apps, LANs)<br>✖ If it doesn’t → it’s blocked (not shown, but implied)</blockquote><h3>🛡️ Next-Generation Firewall (NGFW)</h3><p>Next-Generation Firewall goes <strong>deeper</strong>.<br>Works at:<br>→ Layer 3 and 4<br>→ Layer 7 (Application layer)<br>🔍 Checks- <br>→ IPs and ports<br>→ Application type<br>→ User identity<br>→ Traffic behavior<br>→ Threat signatures<br>→ Sometimes decrypted traffic <br>👀can see -<br>→ This is YouTube, not just port 443<br>→ This is Facebook Chat, not just HTTPS<br>→ This is malware C2 traffic hiding in HTTPS</p><blockquote>🔹<strong>For Example:</strong><br>Traffic on port 443 → NGFW inspects it → sees it’s → <br>A malware callback or an unknown app → blocks it<br>Even though the port is allowed.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O5iLf50DetnNfUHftXdwAg.png" /><figcaption>How a Next-Generation Firewall works</figcaption></figure><blockquote>Just like before, traffic starts from the Internet (untrusted zone), Nothing is trusted by default. When traffic reaches the Next-Generation Firewall, it doesn’t just check IP and port, It performs Layer 3–7 inspection,<br>Layer 3–4 → IP address, port, protocol<br>Layer 7 → Application, user, content<br>This is the core upgrade over a traditional firewall.</blockquote><p>🎯 <strong>Key features NGFW adds,</strong><br>→ Application awareness<br>→ Deep packet inspection<br>→ User-based policies<br>→ Intrusion prevention<br>→ Malware detection<br>→ SSL inspection<br>→ Better logging and visibility<br>→ Traditional firewall does none of this deeply</p><blockquote>Traditional firewall filters traffic based on IP and ports<br>Next-gen firewall understands applications, users, and threats inside the traffic</blockquote><h4>🔐 Security view</h4><p><strong>1. Traditional Firewall</strong><br>→ Prevents basic unauthorized access<br>→ Stops traffic on disallowed ports<br>→ Works well against simple threats<br>🔹Simple and fast<br>🔹Low latency<br>🔹Easy to configure<br>🔹Rule-based routing and filtering</p><p><strong>Limitations:</strong><br>→ Cannot detect malware inside allowed ports<br>→ HTTPS traffic looks “safe” even if it’s not<br>→ No visibility into application-level attacks</p><p><strong>Best for:</strong><br>→ Small networks<br>→ Basic perimeter defense<br>→ Environments where performance &gt; visibility</p><p><strong>2. NGFW</strong><br>→ Detects malware hidden inside allowed traffic<br>→ Blocks known attack patterns<br>→ Stops command-and-control traffic<br>→ Can enforce user-based security rules<br>→ Integrates IPS, antivirus, threat intelligence<br>🔹More processing per packet<br>🔹Slightly higher latency due to inspection<br>🔹Complex policies<br>🔹Application-aware routing and segmentation</p><p><strong>NGFWs are preferred in:</strong><br>→ Enterprises<br>→ Cloud environments<br>→ Zero Trust architectures</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eMd0hokN_B4-kydHXW6GJA.png" /><figcaption>Basic difference between traditional firewall &amp; next-gen firewall</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c4ee9b104db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Candidates Struggle to Explain Forward vs. Reverse Proxy in Interviews?]]></title>
            <link>https://medium.com/@sonia_n_y/why-candidates-struggle-to-explain-forward-vs-reverse-proxy-in-interviews-542eb31e2bbb?source=rss-a23b25e9ba2f------2</link>
            <guid isPermaLink="false">https://medium.com/p/542eb31e2bbb</guid>
            <category><![CDATA[forward-proxy]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[reverse-proxy]]></category>
            <dc:creator><![CDATA[Sonia]]></dc:creator>
            <pubDate>Sun, 11 Jan 2026 17:12:11 GMT</pubDate>
            <atom:updated>2026-01-12T07:10:32.003Z</atom:updated>
            <content:encoded><![CDATA[<h4>Forward vs Reverse Proxy Explained with Real-World Examples</h4><blockquote>🧠 <strong>Let’s Break It Down:<br></strong>Most people have interacted with proxies through VPNs, Cloudflare-protected websites, but when asked in an interview, many can’t clearly explain what a proxy actually does. <br>That’s why answers often sound like this, A proxy is something that sits between client and server and forwards requests, this answer is not wrong, but it is incomplete and it does not show understanding. <br>The confusion usually comes from mixing two different ideas together. Forward proxy and reverse proxy both sit in the middle, both forward requests, and both use the word proxy. Once you realize that forward &amp; reverse proxies solve two completely different problems, the confusion disappears.</blockquote><p>🧭 <strong>Let’s start with the basics:<br></strong>Proxy = a middleman<br><strong>1. Forward proxy<br>2. Reverse proxy</strong></p><p>🧩 The key question is,<br>Who is hidden? → The <strong>CLIENT?</strong> or the <strong>SERVER</strong>?</p><h3><strong>1. Forward Proxy</strong>:</h3><p>in simple language, <strong>Bodyguard for You / (client IP hidden)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eik_k5wtsZIW7cZopQv0BQ.png" /><figcaption>Forward proxy → protects clients</figcaption></figure><p>🛡️<strong>What’s happening here?</strong><br>→ Your <strong>request</strong> goes to the <strong>proxy first</strong>,<br>→ Proxy <strong>sends</strong> the request on your behalf,<br>→ Website sees <strong>proxy’s IP</strong>, not yours.<br>👉 Server doesn’t know who YOU are</p><p>🧑‍💻<strong>Why use it?</strong><br>→ Hide your IP<br>→ Bypass geo-blocks<br>→ Access blocked websites<br>→ Privacy &amp; anonymity</p><p>🧱 <strong>Real-life examples:<br></strong>→ VPN<br>→ Tor<br>→ Corporate proxy<br>→ College Wi-Fi proxy</p><p>🎯 Forward proxy = anonymity</p><h4>✅ <strong>Forward proxy example (VPN) :</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*02uth2PUHt_wKgV50cKRsw.png" /><figcaption>Forward Proxy hides the user’s location and IP address</figcaption></figure><blockquote>🧑‍💻You visit Netflix and search for a movie.<br>→ The platform responds with: This movie is not available in your region.<br>→ You then enable a VPN and connect to a server in another country.<br>→ Now, when you refresh the page, the movie becomes available.<br>Why?<br>Because your traffic is routed through a forward proxy (VPN), and the website now sees the proxy’s IP address, not your real one,</blockquote><h3><strong>2. Reverse Proxy: (</strong>Servers are hidden)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kQ6P13oQHf1E8CnPKqUkJA.png" /><figcaption>Reverse proxy → protects servers</figcaption></figure><p>🛡️<strong>What’s happening here?</strong><br>→ You think you’re talking to one server<br>→ Actually, a proxy sits in front<br>→ Proxy decides which backend server handles your request<br>→ You never see real servers<br>👉 Client/user doesn’t know the real infrastructure. <br>A reverse proxy acts like a security buffer, all traffic hits the proxy first.<br> <br> 🧑‍💻<strong>Why use it?</strong><br>→ Hides backend servers and architecture<br>→ Load balancing<br>→ DDoS protection<br>→ SSL termination<br>→ Security filtering (block bots)</p><p>🧱 <strong>Real-life examples:</strong><br>→ Nginx<br>→ AWS ELB<br>→ Cloudflare</p><p>🎯 Reverse proxy = scalability + protection</p><h4>✅ <strong>Reverse Proxy example (Cloudflare) :</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K4UPlb9vcO1qQwaboL8Kiw.png" /><figcaption>Reverse Proxy hides the server infrastructure from users</figcaption></figure><blockquote>🧑‍💻When you visit a website that is properly configured behind Cloudflare, your browser does not connect directly to the origin server. Instead, the request first reaches Cloudflare, which acts as a reverse proxy. <br>🔁 Cloudflare then forwards the request to one of the backend servers and returns the response to you. As a user, you only see Cloudflare’s IP address, not the origin server’s.</blockquote><p>🧠<strong>TLDR<br></strong>Forward proxy is used by users to access the internet anonymously, while reverse proxy is used by companies to protect and manage their servers.</p><blockquote>💡One line memory trick:<br>Hide users → Forward proxy<br>Protect backend servers → Reverse proxy</blockquote><p>🧩 <strong>Cybersecurity perspective:<br></strong>🔴Attackers use forward proxies to hide identity.<br>🔵Defenders use reverse proxies to:<br> →block attacks<br> → rate-limit<br> → stop DDoS<br> → mask infrastructure</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XUpM-jS9Wt7EmGTlTClcXQ.png" /></figure><p>😎 If you made it this far, thanks for reading.<br>More topics coming soon. 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=542eb31e2bbb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>