<?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 Aryan Vij on Medium]]></title>
        <description><![CDATA[Stories by Aryan Vij on Medium]]></description>
        <link>https://medium.com/@aryan.vij?source=rss-aa1c3de4777c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6SRwq9e1tlqmu3wvTxy_Kw.png</url>
            <title>Stories by Aryan Vij on Medium</title>
            <link>https://medium.com/@aryan.vij?source=rss-aa1c3de4777c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 16:43:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aryan.vij/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[TryHackMe — Compiled CTF Writeup]]></title>
            <link>https://meetcyber.net/tryhackme-compiled-ctf-writeup-beb6b923f218?source=rss-aa1c3de4777c------2</link>
            <guid isPermaLink="false">https://medium.com/p/beb6b923f218</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Aryan Vij]]></dc:creator>
            <pubDate>Tue, 25 Aug 2026 20:07:50 GMT</pubDate>
            <atom:updated>2026-08-25T20:25:05.448Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi everyone, Aryan here.</p><p>Welcome back to another TryHackMe Walkthrough. Today we will be covering the <strong>Compiled</strong> room.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*LN0DFz-NJOgebTgMNEOxsg.png" /></figure><p>This room is great introduction to <em>object files</em> and <em>disassemblers</em>.</p><p>I’ll be walking you through the fundamentals of both, and then I’ll show you how I used a tool called <strong>Ghidra</strong> to help me solve this room.</p><p>So, let’s get started. :)</p><h3>Object Files Explained</h3><p>If you’ve ever programmed in C or C++ before you’re probably familiar with these but for now I’m going to give a high level explanation of object files.</p><p>When you write a program, you use <strong>human readable languages</strong>.</p><p>The computer on the other hand executes instructions at the binary level of 1s and 0s.</p><p>Object files are the intermediate step between the <strong>human readable source code</strong> in your IDE and the <strong>machine-code executable</strong> that your computer then reads the program’s instructions from.</p><blockquote>What does this mean?</blockquote><p>Let’s say you create a C program called <em>hello.c</em> that simply prints the word hello.</p><p>Your code may look like this:</p><pre>#include &lt;stdio.h&gt;<br>int main() {<br>  printf(&quot;Hello, World!\n&quot;);<br>  return 0;<br>}</pre><p>That’s pretty straightforward.</p><p>Now, when you <strong>compile </strong>the code, you may run:</p><ul><li><em>gcc -c hello.c -o hello.o</em>.</li></ul><p>In this command, the <strong>-c</strong> flag tells the GCC compiler to convert the source code into an <strong>object file</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*0aaAgfJT3-PtO2SoeJdMvA.png" /></figure><p>hello.o is a file that the <strong>CPU can understand</strong>, but cannot be executed by itself because it hasn’t been <em>linked to standard libraries</em>.</p><p>Standard libraries include the <strong>stdio</strong> (standard input/output) library we use to <strong>print output</strong>.</p><p>Once you want to <em>link</em> your object file to an executable, you run:</p><ul><li><em>gcc hello.o -o hello</em></li></ul><p>Now, we can run ./<em>hello</em> to run the program.</p><p>Object files are extremely useful because you can compile large programs into separate pieces. You can <em>link multiple </em>object files to the same executable. In this case, I only used one.</p><p><strong>But, why is this relevant?</strong></p><p>Because, in this room, the <strong>Compiled.Compiled</strong> file we are given is an object file.</p><p>Understanding how these work is how we can then ask ourselves the most important question of this room: <strong>How do we turn it back into human readable code?</strong></p><p>That’s where disassemblers come in.</p><h3>Assemblers + Disassemblers</h3><p>As mentioned earlier, we use these tools to translate <em>low-level machine code</em> back into <em>human-readable</em> assembly language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*_te-yljFLnI74mS91S1CGA.png" /></figure><p>The reason I didn’t mention assemblers earlier was to make it easier to focus solely on object files, so I’m going to explain them here.</p><h4>Assemblers Explained</h4><p><strong>Assemblers come after compiling and before linking.</strong></p><p>What do I mean by this?<br>So earlier I mentioned that we compile something into an object file, and then we link before we execute.</p><p>That is true.</p><p>However, there are 2 parts to get from the <strong>hello.c</strong> to the <strong>hello.o</strong>.</p><p>First, the compiler converts the human-readable code into <strong>assembly language</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*SIUlod_Yr2l1guiaPUPf9Q.png" /></figure><p>The assembler then converts the assembly language code into the <strong>object file</strong>.</p><p>Remember when I mentioned GCC above? <em>Yeah GCC does both.</em></p><p>So remember, these are the steps:</p><ul><li><strong>Human-readable code (you)</strong></li><li><strong>→ Compiler</strong></li><li><strong>-&gt; Assembler</strong></li><li><strong>-&gt; .o file</strong></li><li><strong>-&gt; linker</strong></li><li><strong>-&gt; executable</strong></li><li><strong>-&gt; Run the program with ./&lt;executable&gt;</strong></li></ul><h4>Disassemblers Explained</h4><p>Now that you understand assemblers, disassemblers make a lot more sense. They’re just tools that go backwards.</p><p>The whole point is to be able to get a object file or more and not have to sift through a bunch of machine code.</p><p>They help with debugging, analysing malware, and more.</p><p>Disassemblers are heavily used by both security personnel and malicious actors all across the digital landscape.</p><p>You can use <strong>objdump within Linux’s CLI </strong>to get the assembly instructions from the machine code, or you can use <strong>Ghidra</strong> to get a much more advanced visual.</p><h3>Ghidra Introduction</h3><p>This was a tool developed by the United States NSA and is now open source.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/0*EzDOioqNTumBiofB" /></figure><p>It is a software reverse engineering framework that translates <strong>binary compiled files</strong> into readable C pseudo-code.</p><p>There are many use cases for Ghidra but today we will be using it to reverse engineer our <strong>Compiled.Compiled</strong> file to get this room’s password.</p><p>So, let’s get started on the room.</p><h3>Full Room Walkthrough</h3><p>First things first, we start the attack box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*7RVJXPdZ6kPHnOEv_Bg3Vg.png" /></figure><p>We won’t need to target one machine from another in this lab. This will all be done through this machine alone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*VfBjq2Ut5Ucb1OQHZwbQ-g.png" /></figure><p>The first thing we will do is <strong>cd into root/Rooms/Compiled</strong>.</p><p>Next, when you run:</p><pre>file Compiled.Compiled<br># Output: ELF 64-bit LSB relocatable</pre><p>The ELF shows that this is a standard binary blueprint in Linux.</p><blockquote>The real smoking gun is the word <strong>relocatable</strong>.</blockquote><p>Why?</p><p>Because this means it is an <strong>unlinked object file</strong>. And as we know from earlier, <em>unlinked files cannot be executed</em>.</p><p>We need this for later because you never want to reverse engineer an unverified file in <strong>Ghidra</strong>.</p><p>Once you’re there, you’ll see the binary file for the machine-executable code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zM4LSVnQJtUEN0_vw3tu4w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-sD3h8l93zRSWERA_QHmCA.png" /></figure><p>As you can see, it’s very hard to read.</p><blockquote><strong>Disclaimer: The binary code cannot be executed on the AttackBox.</strong></blockquote><p>This is a quirk in this room that trips up most on this platform.</p><p>This is where Ghidra comes in: to do the static analysis.</p><h4>Reverse Engineering Compiled.Compiled</h4><p>First, open up Ghidra under <strong>Applications &gt; Other</strong>.</p><p>Then, select new project and enter the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*3VIZmF8f_a7zx40GB7xqGw.png" /></figure><p>Once you’ve created the project, you then navigate to <strong>Tools &gt; CodeBrowser &gt; File &gt; Import.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*_EImUTbWXkGLkTJB2oybBg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*8ExLbwuuL7snSdOt3mjbsA.png" /></figure><p>This allows us to import our Compiled.Compiled file.</p><p>You then click the <strong>Analyze</strong> option and keep the default settings like the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*tdDKN406YPRE1rJt7mxjPA.png" /></figure><p>Analysis in Ghidra runs dozens of automated scripts to make sense of the binary code from your object file.</p><p>This then puts together the assembly code into a C-code representation, because otherwise you’d need to read assembly.</p><p>And….no.</p><p>You’ll then go to the <strong>Symbol Tree</strong> on the left and look for <strong>main</strong>.</p><p>Once you’re there, click on main and you should see this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*YMNwxlkWMBCNrNVwUZNcew.png" /></figure><p>Bingo.</p><p>This is the C pseudo-code we were looking for.</p><h4>Understanding the main() Code</h4><p>So, let’s take a look at the <strong>reassembled C code.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*0YyYo7UZ0o4cEBitiN8hjg.png" /></figure><p>Now if you look here, you have a <strong>local_28</strong> character array that is 32 characters long.</p><p>This is the variable that accepts our password input through <strong>scanf().</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*dmxFO5iOo45QfFnIac1MbQ.png" /></figure><p>So the first portion of the string is <strong>DoYouEven</strong>, this is the first portion of our password.</p><p>That isn’t the whole password though. There is still that remaining <strong>%sCTF </strong>portion.</p><blockquote>What is <strong>%s</strong> you ask?</blockquote><p>Well in C, %s is a placeholder among many that allows us to accept user input.</p><ul><li>%s is to accept strings/character arrays.</li><li>%d is to accept integers.</li><li>%f is for floats.</li></ul><p>And there are more.</p><p>That is why in order to type in this password, you must have the first portion be DoYouEven directly. Otherwise it’ll just not be accepted.</p><p>The %s can accept anything, however that anything must match the <strong>next set of conditions</strong>.</p><p>Those conditions are in this block of code. The code uses strcmp to compare 2 strings and if the result of the comparison is 0, the strings are equal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*2oasBQwX188JJJarWoh35w.png" /></figure><p>If <em>local_28</em> equals <strong>_init</strong>, then the function returns <strong>“Correct!”</strong>.</p><p>What that means is, the missing portion of the string is <strong>_init</strong> and so the password is <strong>DoYouEven_init</strong>.</p><p>Now, let’s put this into our answer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c3G2ZU4khBq4q9eJJu1wSw.png" /></figure><p>There we go!</p><p>We solved the room.</p><h4>Wrapping Things Up</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*0j3N81m0ykxq9gIm" /></figure><p>This was the face I made once I solved the room.</p><p>And that’s what I love the most about solving these and then writing about them.</p><p>I didn’t know what Ghidra was prior to this, and through this process, I was able to iteratively learn more about:</p><ul><li>object files</li><li>assemblers</li><li>disassemblers</li><li>how to use Ghidra</li><li>and do a refresher on scanf() since my CS240 days at Purdue</li></ul><p>To me, that’s the best part about both TryHackMe and my field as a whole.</p><p>I get to look at something I know nothing about, treat it like a blank canvas, and try things until something works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/0*G3qWS1PeEdB2SuSR.jpg" /></figure><p>And then I get to compile it for all of you. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=beb6b923f218" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/tryhackme-compiled-ctf-writeup-beb6b923f218">TryHackMe — Compiled CTF Writeup</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Simple Guide to API + Integrations]]></title>
            <link>https://meetcyber.net/a-simple-guide-to-api-integrations-4a3d0e13919e?source=rss-aa1c3de4777c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a3d0e13919e</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[databricks]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Aryan Vij]]></dc:creator>
            <pubDate>Sat, 22 Aug 2026 22:51:20 GMT</pubDate>
            <atom:updated>2026-08-22T22:52:04.690Z</atom:updated>
            <content:encoded><![CDATA[<p>APIs.</p><p>Yes, we hear about them everywhere. Especially in the age of AI and modern software development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IaRoRXtY1JENyiER.png" /></figure><p><em>Why don’t we make them make more sense?</em></p><p>There is a lot to cover about APIs and integrations because they are often very inter-linked as topics.</p><p><em>I plan to consolidate all that information here to make this the easiest guide to refer to.</em> To do so, I&#39;m going to go over this in<strong> 3 key sections</strong>:</p><ul><li><strong>APIs</strong>: What they are and why we use them.</li><li><strong>Integrations</strong>: The difference between software and system connections.</li><li><strong>API Integrations</strong>: How we bridge these systems together.</li></ul><blockquote><em>Let&#39;s dive in.</em>🔌</blockquote><h3>APIs: What + Why?</h3><p>An API simply put is a gateway that allows you to use the functionality of <strong>another application or service</strong>.</p><p>Why is this useful? Because developers do not like rebuilding tools that <strong>already exist</strong>.</p><p>For example, if I want to design a <em>mobile food delivery service, </em>I can use Google Maps’ API to calculate the fastest delivery routes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/0*ysTpKmMAHvu2pcax.png" /></figure><p>Google already has maps made, and can calculate routes based on traffic, crashes, and suggest better paths in case something happens on the road.</p><p><strong>Why would I then make my own map, and only if it works, then build my delivery platform?</strong></p><p>It’s all about outsourcing functionality and allowing data to be delivered in a reliable manner.</p><p>Also for context, you access an API using an <strong>API key</strong>.</p><h4>API Keys</h4><p>When you register to use a platform’s API, you’re given a key and usually some <em>credits</em> to spend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*3hY9N5MnUnkF6jG5tsjt5Q.png" /></figure><p><em>Depending on the service, you may also have usage limits, quotas, or a pay-as-you-go pricing model.</em></p><p>It may be something like $2.00 per 1000 requests.</p><p>The whole point is that you can <strong>securely authenticate </strong>via this key to access these services for an operating cost based on <strong>your needs</strong> rather than spending a lot more money developing those same services from the ground up.</p><h4>Restaurant Example</h4><blockquote><em>But how does it work? Let’s use this restaurant example to explain the process.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sc4lLDUu-fkqOT3R.png" /></figure><p>In this example, we will make you the <strong>food delivery platform</strong>, and the restaurant is <strong>Google Maps</strong>:</p><ul><li>you: DoorDash (for example)</li><li>menu: Google Maps API rules / documentation / services</li><li><strong>waiter: Google Maps API</strong></li><li>kitchen: server/database</li></ul><p>If you ever use a food delivery platform and you change your zip code, you ever notice the map gets shifted to your new spot and restaurants <strong>local to that place</strong> pop up?<br>That’s where the platform makes a request to Google Maps’ API and says <em>‘I want a 5–10 mile radius of all restaurants near this address’</em>.</p><p>Google Maps’ API then goes to the <strong>servers</strong> and says ‘please retrieve this information’, and sends it back to the mobile platform.</p><p>That’s when that food delivery’s app developers can then add additional features such as:</p><ul><li>categorising based on food</li><li>displaying top spots + reviews</li><li>and if you place an order for a spot that’s far away it can flag it saying: <strong>you seem far away from this address</strong></li></ul><p>There are many different types of APIs such as SOAP and REST, but I don’t plan to cover that all today.</p><p>That’ll be a future blog where I also go over HTTP requests and give you a much more fine-grain understanding of the <strong>underlying </strong>technology.</p><h3>Integrations: What + Why?</h3><p>Imagine if you had 5 boxes and each one represented a department in your organisation.</p><p>You have Sales, HR, Engineering, Product, and Marketing. Each one of these boxes has data, people, tools, and information relevant solely to them.</p><p>Sales uses <strong>Salesforce</strong>, Marketing uses <strong>Marketo</strong>, Product uses its own set of tools, and <em>none of them interact with each other.</em></p><p>Each box in this case is known as a <strong>data silo</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*Z2t4CLOpX3BVMjYMoK07mg.png" /></figure><p>These are very bad. Why?</p><p>Because silos create <strong>isolation</strong> and isolation breeds inconsistency.</p><p>If someone in Sales cannot get the data from Marketing in real time, then the numbers they both share will be inconsistent, slow, and often <em>duplicates</em>.</p><p><strong>But what if instead I can connect the various departments in a way that allows data to flow in real time, and everyone can seamlessly talk to each other?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/0*X93-_96AJd7RgXHc" /></figure><p>That’s where <strong>integrations</strong> come in, of which there are<em> 2 types</em>.</p><p>First, <strong>software integrations</strong>:</p><ul><li>These typically use APIs to combine separate programs or elements into one cohesive system.</li><li>These are usually <strong>smaller</strong>, narrow in scope, and the goal is to streamline a specific process.</li></ul><p>Typically a software integration will be something like connecting your <em>online clothes store</em> to <em>Stripe</em> to process credit cards safely.</p><p>The other type is known as <strong>system integrations:</strong></p><ul><li>These are usually much larger in scale and are focused on an organisation’s <em>enterprise infrastructure</em>.</li><li>If you’ve ever heard of migrating on-premise databases to the cloud, that falls in this category.</li></ul><p>The goal behind these is to transform the hardware and software components of your infrastructure and enable all the <strong>modern workflows and services</strong> something may provide.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/0*maaD3wQh3tSIyeoz" /></figure><p>For example, if a company moves all of its data processing to Databricks, it can then use<em> everything Databricks has to offer</em> depending on how much they want to pay.</p><p>This may include streamlining LLM generation, batch processing data at larger scales to improve context-based ad targeting, etc.</p><blockquote><em>So now you might think to yourself: </em><strong><em>So I get APIs and I get integrations, but how do the two come together?</em></strong></blockquote><p>That’s what I will cover next. 😁</p><h3>API Integrations: Putting it Together</h3><p>If <em>software</em> integrations are the <strong>what</strong> and <em>system</em> integrations are the <strong>whole</strong>, then <em>API</em> integrations are the <strong>how</strong>.</p><p>Essentially, you <strong>use</strong> the APIs to make the integrations happen.</p><p>Remember how I mentioned earlier that you have a <strong>key</strong> and that key lets you use as little or as much of a service without having to develop it on your own?</p><p>So, you use your API key to talk to the other service’s API and that other service does the same <strong>in return</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*B1Y-Pt8uBtYTfp1u7GL-0w.png" /></figure><p><strong>It’s a handshake.</strong></p><p>When you shake someone’s hand, you don’t know their cholesterol levels or their bone structure.</p><p>You can’t see an X-Ray into their internal architecture. You just interact with their hand the same way they interact with yours to <strong>establish real-time familiarity</strong>.</p><p>That’s the same way APIs work in integrations.</p><p>They say <em>“I don’t need to know everything about how you function to utilise your functionality to improve my performance”.</em></p><p>If one department runs on <strong>Software A</strong> and the other on <strong>Software B </strong>and both need information from the other, they use API keys (or other forms of authentication) to <strong>request + respond</strong> to/from each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XzkvwL_dJv2siUoQ" /></figure><p>In the image above, <strong>Software B </strong>functions as the <em>server</em> which <em>generates and owns the API key</em>.<br>Software A <em>(the client)</em> then uses it to do what it needs to do.</p><blockquote>If Software B needs data from Software A, then B gets a key from A.</blockquote><p><strong>Whoever provides the information is typically the server.</strong></p><p>This creates an encrypted connection to seamlessly pass relevant information and allow both departments to run <strong>in sync without manual data entry</strong>.</p><h3>Wrapping it Up</h3><p>And that is a wrap.</p><p>I know that was dense but understanding APIs and integrations is another one of those things that is relatively simple at its core.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/0*4wrI_BOO5MoMaDvJ" /></figure><p>The whole point is to be able to have systems talk to each other efficiently.</p><p>I plan to dive into different types of APIs, JSON formatting, XML, and others in the future.</p><p>However, for now, I hope this made it easier to integrate these concepts into your mind in real time. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a3d0e13919e" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/a-simple-guide-to-api-integrations-4a3d0e13919e">A Simple Guide to API + Integrations</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying Routing Tables — CCNA Objective 3.1]]></title>
            <link>https://meetcyber.net/demystifying-routing-tables-766e3c981051?source=rss-aa1c3de4777c------2</link>
            <guid isPermaLink="false">https://medium.com/p/766e3c981051</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[ccna]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[comptia]]></category>
            <dc:creator><![CDATA[Aryan Vij]]></dc:creator>
            <pubDate>Wed, 12 Aug 2026 04:54:19 GMT</pubDate>
            <atom:updated>2026-08-12T04:59:05.740Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi everyone! Welcome back, Aryan here. :)<br>Today is another installment in my CCNA journey where I will be explaining the components of a routing table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*dlpenF7vUxT6NF9e8To4UQ.png" /></figure><p>This blog is going to go over <strong>objective 3.1</strong> from the CCNA exam guide.</p><p>I’ll be covering the following concepts to make it much easier for you to understand the next time you look at a routing table, or type <strong>show ip route</strong> in your packet tracer CLI <em>(or on a physical device)</em>.</p><ul><li><em>Routing protocol code</em></li><li><em>Prefix</em></li><li><em>Network mask</em></li><li><em>Next hop</em></li><li><em>Administrative distance</em></li><li><em>Metric</em></li><li><em>Gateway of last resort</em></li></ul><p>So, let’s get started. 😊</p><h4><strong>Routing Protocol Code</strong></h4><p>This is surprisingly straightforward.</p><p>It’s how your router learned a specific path. Remember how I went over OSPF last month? Well that is labelled as <strong>O</strong> in Cisco when you type <em>show ip route</em> into your CLI.</p><p>Most routing protocol codes are identified with a <strong>single letter</strong> and fall into multiple types of routing: <em>static, dynamic, and default</em>.</p><p>L and C aren’t for routing protocol codes. These are automatically injected by the router’s own interface status to denote when something is <strong>local or directly connected</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i9SfmgQLJi_KHqUjzvqn1g.png" /></figure><p>A couple common codes include:</p><ul><li><strong>L : </strong>local routes tell a router how to reach its own active IPs, covering a <em>single specific host IP</em>. That’s also why you see a /32 appended to the end of the IP address entry.</li><li><strong>C : </strong>identifies a directly connected network</li><li><strong>S : </strong>applies to <strong>static routes. </strong>Remember, these are manually <em>configured</em></li><li><strong>R : RIP</strong></li><li><strong>B : BGP</strong></li><li><strong>D : EIGRP</strong></li><li><strong>O : OSPF</strong></li></ul><p>The last 4 are the most commonly dynamically routed protocols. There are many other codes but I’ll be surprised if you need to memorise them all ever.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*OvJqEuf2QnKYTPHKgms39Q.png" /></figure><p>At that point, just run <strong>show ip route</strong> at that point and use Google.</p><h4>Prefix</h4><p>A prefix is simply used to help you denote the <strong>network bits</strong>, <strong>subnet bits</strong>, and <strong>host bits </strong>in an IP address<strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fe4vw5qiRiSVAiQe.png" /></figure><p>For example, if you see <strong>192.168.100.10/24</strong>, this means you have <strong>24 network bits</strong>.</p><p>Given that you have 4 octets in any IP address, /24 means the <strong>first 3</strong> octets belong to the network.</p><p>The last octet <strong>(8 bits)</strong> belongs to the hosts. Hosts can be your end user devices, servers, and anything else your organisation requires.</p><p>This amounts to 2⁸ — 2 IP<em> usable host</em> addresses. You subtract the <strong>network address</strong> and <strong>broadcast address</strong>.</p><blockquote><em>Don’t worry about that for now, I’ll make a more thorough blog on subnetting. 😁</em></blockquote><p>In the diagram above, this host is specifically the <strong>.10</strong> host.</p><p>Every single IP address that has the same <strong>network</strong> portion <strong>belongs on the same network</strong>.</p><h4>Network Masks</h4><p>This one is even more simple.</p><p>Above, remember how I had /24 prefix from the previous section? Well that is known as CIDR notation.</p><p>We use that to denote network masks more conveniently.</p><p>Network masks as a whole determine<em> the portion of the 32- bit IP address dedicated to the network portion of the address</em>.</p><p>For example, /24 means the first 3 octets are filled with 1s.</p><p>This looks like: 11111111.11111111.11111111.00000000</p><p>When you translate those 1s from binary to decimal, they all become 255.</p><p><em>So /24 = 255.255.255.0</em></p><p>If you have /28 on the other hand, it looks like:</p><ul><li>11111111.11111111.11111111.<strong><em>1111</em></strong>0000 = 255.255.255.240</li></ul><p>In the context of routing tables, this tells the router <strong>which bits to look at</strong> when forwarding traffic.</p><p>If the router sees the first /28 bits are dedicated to the network, it knows to send a packet to that specific subnet instead of playing a guessing game.</p><h4>Next Hop</h4><p>It’s the immediate neighbour.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*lWRx51SjALlpEA5krdb7rg.png" /></figure><p>Think of the packet like this bunny. If I need to send something from myself to you, it’ll probably take multiple hops.</p><p>Why?<br>Because we are not connected to the same router.</p><p>If you’re somewhere else, there’s a good chance my packets are transferring through many hops to get to you.</p><p><strong>This is also why BGP is very important.</strong></p><p><strong>It allows networks to exchange reachability information and determine which available paths should be used to reach destinations across the Internet.</strong></p><p>But in order to do that, you have to know what the <em>next direct hop </em>is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xdPVrlgVcLbZMAlnux40ig.png" /></figure><p>In a Cisco routing table, the <strong>Next Hop</strong> is <em>explicitly defined</em> as the IP address of the <strong>next router</strong> along the path. You’ll usually spot it in the routing table after the word <strong>via </strong>(ex: via 10.0.0.9).</p><h4>Administrative Distance</h4><p>You do unfortunately need to memorise this table for the CCNA, so I’m putting it here for reference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*mSAK4-fZzvivgZCQ4kGdbQ.png" /></figure><p>All this is is the score a router uses to determine the best path when there are 2+ ways to <strong>reach the same place</strong>.</p><p>Lower numbers means higher trusts and vice versa.</p><p>Values run from 0 to 255 and 255 means the router will <em>never</em> use that route.</p><p>For example, the reason connected interfaces have a value of 0 is because they’re <strong>physically attached </strong>to the router.</p><p>OSPF is 110 because it sits in the middle of the trust hierarchy.</p><p><em>Ok, so what does it do?</em></p><p>Good question.</p><p>Administrative distance is used when multiple paths are learned from <strong>different routing protocols</strong> (e.g., one from OSPF and another from EIGRP).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/0*dpg02LRfDMSFmf6D.png" /></figure><p>For the CCNA you need to know the AD for:</p><ul><li>Connected Interface (C): 0</li><li>Static Route (S): 1</li><li>EIGRP (Internal): 90</li><li>OSPF: 110</li><li>RIP: 120</li></ul><p>If a router learns two paths from the <strong>same protocol</strong>, it uses the Metric instead.</p><h4>Metric</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*2ReIZwKM7TyBBnQfWCfWfQ.png" /></figure><p>A routing table metric is a <strong>value/cost</strong> assigned to a route.</p><p>This cost is used to determine the best path to send a packet from a source to a destination.</p><p>Lower numbers means a <strong>better/faster</strong> path, and if two routes have the same destination, the lowest metric is chosen.</p><p>There are multiple ways to count metric based on the routing protocol.</p><p>RIP uses <strong>hop count.</strong></p><p>OSPF and EIGRP measure metric based on <strong>bandwidth and latency</strong>.</p><p><em>I plan to make a blog in the future covering RIP, EIGRP, and OSPF in the future.</em></p><p>In that, I’ll give a much more detailed understanding of how the various protocols route packets and why the industry prefers some over others.</p><blockquote><em>Now you may ask: What is the difference between AD and Metric? 🤔💭</em></blockquote><p>AD measures <strong>how trustworthy</strong> the routing source is. The lower the score, the <strong>more reliable the protocol itself</strong>.</p><p>A static route is more trustworthy than OSPF because it is directly configured by a <strong>human administrator</strong>. OSPF on the other hand does rely on some math to calculate efficiency.</p><p>Routers trust an unmoving static route more than they trust OSPF’s dynamic calculations.</p><p>Metrics on the other hand are used when the <strong>same routing protocol</strong> is being implemented, <em>focused on path quality</em>.</p><p>Now that we covered those, the last thing on today’s list is the <em>gateway of last resort</em>.</p><p>We are almost there. 😅</p><h4>Gateway of Last Resort</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*lOHW5Un5AlR40lBOFwF5OA.png" /></figure><p>This is used when you don’t have a specific path. If you see 0.0.0.0/0, it’s your default route.</p><p>This is also known as the <strong>least specific route</strong>.</p><p>In the CLI, look for the line at the top that explicitly states: <em>‘Gateway of last resort is… to network 0.0.0.0’!”</em></p><p><strong>It simply says: if you got nowhere to send it, send it out there.</strong></p><p>That’s about it.</p><p>Just like this blog, now that we’ve wrapped everything up, time to send you out of here. :)</p><p>Take care, and I’ll see you in the next blog where I break down more CCNA concepts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=766e3c981051" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/demystifying-routing-tables-766e3c981051">Demystifying Routing Tables — CCNA Objective 3.1</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deciphering Cryptography — Asymmetric Encryption]]></title>
            <link>https://meetcyber.net/deciphering-cryptography-asymmetric-encryption-2cbc6998e4b4?source=rss-aa1c3de4777c------2</link>
            <guid isPermaLink="false">https://medium.com/p/2cbc6998e4b4</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Aryan Vij]]></dc:creator>
            <pubDate>Mon, 20 Jul 2026 02:09:49 GMT</pubDate>
            <atom:updated>2026-07-20T02:09:49.123Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone, Aryan here!</p><p>Welcome back to my Deciphering Cryptography series!</p><p>If you remember, last time we were here, we covered symmetric encryption.</p><p><a href="https://meetcyber.net/deciphering-cryptography-part-2-symmetric-encryption-678038ebbbee">Deciphering Cryptography — Symmetric Encryption</a></p><p>This is encryption based on <strong>one key</strong> to both encrypt and decrypt data.</p><p>Symmetric encryption is fast, and is used typically after a secure connection is established between 2 nodes.</p><p>In today’s blog, we will be covering <strong>asymmetric</strong> encryption.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/0*6znmnXLLxPwVDn20.png" /></figure><p>Asymmetric encryption on the other hand is slow, and is commonly used to set up that secure connection.</p><p>Simply put, whenever you’re interacting with another device on the internet, you want to answer 2 questions:</p><ul><li><strong>Can anyone observe and parse the data in our conversation?</strong></li><li><strong>How do I know who I am talking to?</strong></li></ul><p>Today we will discuss how asymmetric encryption answers both questions.</p><h4>Asymmetric Encryption Overview</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Kgh6-JqCE0cY-BOh.jpg" /></figure><p>When you meet someone and shake their hands, you often do so assuming they are who they are.</p><p>What do I mean by that?<br>When you see someone’s face, you assume they’re a human being and if they tell you <strong>“Hee Hee, I’m Michael”</strong>, you assume they’re telling the truth.</p><p>In everyday interactions (ones that require no further authentication), you typically shake someone’s hand and greet them to start a conversation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TQUVjhMxrxeyCOar" /></figure><p>Sure, when you’re in a place that requires a layer of access, such as a bar which restricts entry based on age, you’ll ask someone for their ID and check whether their information lines up with the person themselves.</p><p>That’s how things work in the real world. It’s all visual and it’s often easy. Also, when you talk to people and you want the communication to be more secure, you can simply walk away from a larger crowd, set your phones elsewhere, and talk quieter.</p><p><em>With computers and digital identities however, it’s not as straightforward.</em></p><p>How do you know the other end is a person?</p><p>How do you know it’s not a bot?</p><p>How do you know if they say it’s from mom, it’s actually from mom even if the profile picture and birthday say so?</p><p>How do you know the page that says Google.com is actually Google?</p><p>How do you know anything for that matter? Do you trust what the other person is saying?</p><p>No. Zero Trust. Those 2 words are a massive part of how we approach cybersecurity.</p><p>So how do we authenticate both parties and make sure the information sent back and forth is left <strong>untampered</strong>?</p><p>That’s where asymmetric encryption comes in.</p><p>It’s all about setting up a secure connection between 2 parties using <strong>key pairs</strong>, and making sure data is left untampered through <strong>digital signatures</strong>.</p><p>First, let’s get into how keys work.</p><p>I’ll then go over digital signatures.</p><p>Once you get a good feel of both, I’ll go over how both are used in tandem to complete the process of establishing secure connection, and then we’ll go over how all of this is applied in the real world.</p><h4>Key Pairs — Privacy</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/0*jt0M9-6yV89k_WxF.jpg" /></figure><p>Let’s start with the keys, and use them to first answer <strong>question 1 </strong>from above: <em>Can anyone observe and parse the data in our conversation?</em></p><p>Unlike symmetric encryption which only has one, asymmetric encryption has two.</p><p>You have a <strong>public key</strong> and a <strong>private key</strong>.</p><p>The public key is shared openly. You can send it out to the internet and there’s no need to heavily safeguard it.</p><p>The <strong>private</strong> key however stays with you. You don’t want this to be shared.</p><p>The two keys work together. One key encrypts the data, while its matching counterpart decrypts it.</p><blockquote><em>They’re mathematically linked, but there’s no practical way to work backward from a public key to find its private counterpart.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gtc8uxsKMdrFL4do" /></figure><p><em>How does this work in the context of encryption and decryption?</em></p><p>If someone wants to send something to you, they can encrypt that data with <strong>your public key</strong>.</p><p>Why? Because <em>only you</em> have the matching private key to decrypt it.</p><p>This means anyone else on the internet will only see <strong>ciphertext</strong>. You’re the only person who can convert the ciphertext back to <strong>plaintext</strong>.</p><p>This was built on a fundamental concept. Don’t secure the secret, secure the key.</p><p>Why?</p><p>Because secrets travel places. Information moves. Private keys don’t.</p><p>So it is a lot easier to secure <strong>one</strong> private key than it is to keep making sure every bit of a payload is obscure.</p><p><strong>This answers question number 1 from above.</strong></p><p>Great.</p><p>We now know how to keep a conversation private.</p><p>But we still don’t know whether we’re actually talking to the right person.</p><h4><strong>Key Pairs — Identity</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/282/1*gHLzFPKtKQ_XuJ9JiTXAMw.png" /></figure><p>Question 2 however, goes the other way.</p><blockquote><em>Instead of using the public key to provide privacy, the </em><strong><em>private</em></strong><em> key is used to prove </em><strong><em>identity</em></strong><em>.</em></blockquote><p>Wait, but how does flipping the keys help us identify who we are talking to?</p><p>Great question.</p><p>Just like earlier, the public key is openly available. Anyone on the internet can have your public key.</p><p>If you lock a file with your private key, then <em>only your public key can open it</em>.</p><p>This means it has to be <strong>from you</strong>. Because, no one else has your private key.</p><h4>Privacy + Identity Together</h4><p>If the <em>public</em> key is being used to encrypt a payload, you are <em>solely</em> focusing on <strong>privacy.</strong></p><p>If the <em>private </em>key is being used to encrypt a payload, you are <em>solely</em> focusing on <strong>identity</strong>.</p><p>You may ask then, if these two methods solve one security function, how do we <strong>ensure privacy and identity in tandem?</strong></p><p>Layers. 2 specifically.</p><p>Here’s the way it works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*sP4n4796a6DAayu-.jpg" /></figure><p>Let’s say Michael wants to send Janet a message regarding the studio in Minneapolis to record <em>Scream</em><strong><em>,</em></strong></p><ul><li>Michael will first <strong>verify his identity</strong> by encrypting his message with his private key, forming the <em>inner layer</em></li><li>He will then ensure <strong>privacy</strong> by using <em>Janet’s</em> <strong>public key</strong> to create an envelope around the encrypted inner payload, forming the outer layer.</li></ul><p>Why? Because the inner layer verifies that Michael is the one who sent the message, and the outer layer makes it known that the message is for Janet specifically.</p><p>Once Janet receives the message she will</p><ul><li>Decrypt the <strong>outer envelope layer first</strong> by using her private key.</li><li>Decrypt the inner layer using Michael’s public key to reveal the underlying plaintext.</li></ul><p>In theory this is exactly how it would go.</p><p>However, it is slow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/0*G1IS6UYLML2T2pGF.jpg" /></figure><p>Very, very slow.</p><p>Imagine trying to do this for every single interaction across the internet.</p><p>It would not work and you will probably fry your hardware before achieving anything remotely productive.</p><p>So, we solve this issue of speed using digital signatures.</p><h4>Digital Signatures Explained</h4><p>Digital signatures are simply a stamp on a digital message to verify authenticity and integrity.</p><p>Instead of encrypting every bit of data in a document like the example above, digital signatures use <strong>hashing</strong> which is much faster.</p><p>Why?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/0*7ujIzYUED610IrOL.png" /></figure><p>Because hashing provides <strong>instant condensation</strong>.</p><p>Also, it is very useful to <strong>verify integrity</strong>. Why? Because if two documents generate identical hashes, they’re most likely the same document.</p><p><em>This is unless there is a collision but don’t worry about that for now.</em></p><p>But the key principle is this: if I hash something and send it to you, and you generate the <strong>same hash</strong> on what I sent you, then it <strong>hasn’t been tampered in transit.</strong></p><p>That’s the exact problem we want to solve in a more efficient manner.</p><p>Here is a great example.</p><p><em>Let’s say you have a 500MB file you want to send to someone.</em></p><p>You have to encrypt the entire file with the private key if you use the original method above. That requires heavy math and is taxing on your CPU.</p><p>It is very slow and inefficient.</p><p>However, when you use hashing instead (like SHA-256 in this example), you can compress the massive file into a <strong>64-character string</strong>.</p><p>It takes less than a millisecond to generate this string.</p><p>This allows you to then <strong>encrypt the hash</strong> with your private key to form your digital signature.</p><p>So simply put, a digital signature is formed by:</p><ul><li>Taking an <strong>original document</strong></li><li>Generating a hash of the document</li><li>Using <strong>your private key</strong> to encrypt the hash</li><li>The result is a digital signature</li></ul><p>This allows for speed, integrity, authentication, and makes it much easier to integrate with key pairs.</p><h4>Putting It All Together</h4><p>Now that we covered digital signatures, let’s look at how a file is sent from one person to another using key pairs and digital signatures.</p><p>If I want to send a message to my friend Varun, this is how it would go:</p><ul><li>I’d take my original message and hash it using SHA-256.</li><li>I would then encrypt the hash with my private key to form the digital signature.</li><li>Once I have this digital signature, <strong>I create the outer envelope layer</strong> using Varun’s public key. <em>This ensures privacy</em><strong><em>.</em></strong></li><li>I’d then send the envelope containing original document + digital signature to Varun.</li><li>Varun then uses his <strong>private</strong> key to decrypt the outer layer envelope first. <em>The right recipient has the message</em>.</li><li>Varun would then use <strong>my public key</strong> to decrypt the digital signature. <em>My identity is confirmed.</em></li><li>Now Varun possesses the original document and the decrypted hash</li><li>He then generates <strong>a new hash</strong> on the original document</li><li>If his hash matches mine, he knows the document was sent by me, and nothing was tampered in transit. <em>The payload’s integrity is maintained.</em></li></ul><p>Now that you have an understanding of how this interaction takes place, let’s look at where asymmetric encryption is used in the real world.</p><h4>Real-World Use Cases</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GVy_HpBPvd4vfMrtlktLfQ.png" /></figure><p>Because asymmetric encryption is used to establish secure handshakes, it’s also used in situations where said handshakes are necessary.</p><p>For example when you’re reading this blog right now, you’re accessing it through a browser.</p><p>Maybe you’re using Google or Safari.</p><p>But how do you know that when you’re connecting to the web server, you’re actually connecting to Google’s server?</p><p>You typically are using HTTPS and the whole point of that is to establish a secure channel between you (the client) and Google (the server).</p><p><em>You will also use certificates and certificate authorities but I’ll cover that in another blog. That deserves a more dedicated discussion.</em></p><p>You’re not typically going to use asymmetric encryption once the handshake is established.</p><p>That’s where symmetric encryption comes in play. That’s where we want something fast.</p><p>So remember this:</p><ul><li>Asymmetric encryption <strong>establishes the tunnel</strong>.</li><li>Symmetric encryption encrypts the packets <strong>within the established tunnel</strong>.</li></ul><p>We use these in tandem to have the most secure and resource-friendly connection possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*_omdDKjq6Jx4T_TB" /></figure><p>With that being said, I know that was a lot of material.</p><p>But don’t worry, you don’t have to absorb it all in one take.</p><p>And even better, you can always revisit it over a secure connection. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2cbc6998e4b4" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/deciphering-cryptography-asymmetric-encryption-2cbc6998e4b4">Deciphering Cryptography — Asymmetric Encryption</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Simplest OSPF Configuration Walkthrough]]></title>
            <link>https://meetcyber.net/the-simplest-ospf-configuration-walkthrough-21c15652e1ed?source=rss-aa1c3de4777c------2</link>
            <guid isPermaLink="false">https://medium.com/p/21c15652e1ed</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ospf]]></category>
            <category><![CDATA[ccna]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Aryan Vij]]></dc:creator>
            <pubDate>Wed, 15 Jul 2026 21:35:45 GMT</pubDate>
            <atom:updated>2026-07-15T21:35:45.711Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi everyone, Aryan here!</p><p>Welcome back to another networking tutorial.</p><p>On June 25th (my birthday), I successfully passed the CompTIA Network+ marking a large milestone in my professional journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*fsivfK_85w24_goL.png" /></figure><p>Now, I’m pursuing the CCNA and part of doing that is configuring, documenting, and then showing you guys how to set up essential network architectures.</p><p>Today’s tutorial will be on <strong>configuring</strong> <strong>OSPF (Open Short Path First) protocol</strong>.</p><p>OSPF is a very popular dynamic routing protocol that utilises<strong> Dijkstra’s</strong> shortest path algorithm to calculate <strong>the most efficient path</strong> between networks in a <strong>single Autonomous System</strong>.</p><p>Dynamic routing fundamentally is useful because when networks scale up and become larger, you don’t want to manually enter the new routes and update every router accordingly.</p><p><em>That would make network engineers go bald significantly faster than they currently do.</em></p><p>If you want to learn more about OSPF in pure theory, I plan to make a blog in the future breaking down <em>RIP vs OSPF vs BGP vs EIGRP</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*z_etXIzh9NVtB7c3qwKGgw.png" /></figure><p>However, today will be focused specifically on a <strong>practical</strong> walkthrough within packet tracer.</p><p>The blueprint for this architecture follows Greg South’s OSPF series.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3S34DlHLf1w%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3S34DlHLf1w&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3S34DlHLf1w%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d201039869f12fc57c3400ec1b29650b/href">https://medium.com/media/d201039869f12fc57c3400ec1b29650b/href</a></iframe><p>He did an incredible job explaining OSPF fundamentals, and I plan to do the same setup in this blog.</p><p><strong>Thank you Greg for making my preparation easier. :)</strong></p><p>So, let’s get into it.</p><h3><strong>Part 1</strong> — Setting up the Diagram</h3><p>First, you will need the following devices and cables to setup the architecture itself.</p><p>This happens <strong>before</strong> you enter any Command Line.</p><p>I will also cover which cables attach to which interfaces as well so it is straight forward when you go to do it on your own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cZOm1q8b32mvDQftdVwyBQ.png" /></figure><p>I will also include the visual diagram at each stage so it’s easy to map the steps to the actual configuration in Packet Tracer.</p><h4><strong>Physical Hardware</strong></h4><ul><li>3 2950–24 switches</li><li>3 1841 routers</li><li>3 PCs</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6SxPKmQHy_798CxKfOKfjw.png" /></figure><h4><strong>Labelling + Subnets</strong></h4><ul><li>The bottom left portion will be called <strong>Dublin </strong>with the subnet <strong>172.16.1.16/28</strong></li><li>The top portion will be called <strong>Galway</strong> with the subnet <strong>10.10.10.0/24</strong></li><li>The bottom right portion is called <strong>Cork </strong>with the subnet <strong>172.16.1.32/29</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*K2SauHF34RagDeuQjIIN6Q.png" /></figure><h4><strong>Router P2P Subnets</strong></h4><ul><li>Router0 ← → Router2 uses 192.168.10.0/30</li><li>Router 0 ← → Router1 uses 192.168.10.4/30</li><li>Router1 ← → Router2 uses 192.168.10.8/30</li></ul><p>This part covers the subnets that exist between the routers themselves. We use /30 because it allows 2 addresses to be used for the <em>network</em> and <em>broadcast</em> address, while reserving 2 addresses <strong>for hosts.</strong> Those hosts being the 2 routers.</p><p>Once you’ve labelled the individual broadcast domains and subnets, it’s time to setup the <strong>cabling</strong> and the <strong>interfaces</strong> connecting them.</p><h4><strong>Serial Interface Physical Configuration</strong></h4><p>In order to be able to connect the serial cables between our routers, we need to add the <strong>WIC-2T serial extension module</strong> within the physical settings.</p><p>Why? Because Cisco 1841 routers do not come with serial interfaces by default.</p><p>So within the physical settings, select <strong>WIC-2T </strong>and drag it into one of the <strong>extension slots.</strong></p><p>Initially, it will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HQxIbpxft8RlkfQrt2689A.png" /></figure><p>Before you add the modules, you must turn the router itself off.</p><p>Afterwards, it will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yy61pxFWUeVTAmRzAXRIKw.png" /></figure><p>You should then see the Serial interfaces appear on the device once you attempt to attach a Serial DCE cable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*mNICM2k9CYfWYfqKShvdcQ.png" /></figure><h4><strong>Cables + Interfaces</strong></h4><p>The format for the following list will be</p><p><strong>[from][device][interface] → [to][device][interface]</strong></p><p>This will involve all the cabling as well. The black cables will be <strong>straight-through</strong> cables and the red cables will be <strong>Serial DCE cables</strong>.</p><ul><li>PC0 <em>Fa0/0</em> → Switch0 <em>Fa0/8</em></li><li>Switch0 <em>Fa0/7</em> → Router0 <em>Fa0/0</em></li><li>PC1 <em>Fa0/0 </em>→ Switch1 <em>Fa0/2</em></li><li>Switch1 <em>Fa0/1</em> → Router2 <em>Fa0/0</em></li><li>PC2 <em>Fa0/0</em> → Switch2 <em>Fa0/1</em></li><li>Switch2 <em>Fa0/2 </em>→ Router1 <em>Fa0/0</em></li><li>Router0<em> Serial0/0/0 </em>→ Router2 <em>Serial0/0/0</em></li><li>Router0 <em>Serial0/0/1</em> → Router1 <em>Serial0/0/0</em></li><li>Router2 <em>Serial0/0/1</em> → Router1 <em>Serial0/0/1</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ghh76h2cC5a2HwMibrgZCw.png" /></figure><p>It should now look like this. If you’re wondering why the arrows are red, it’s because <strong>we haven’t turned the interfaces on</strong>.</p><p>Now that we got the hardware in place, the cables to connect, and the subnets setup, let’s open up the CLI and start configuring the devices themselves, and then OSPF.</p><h3>Part 2 — Device + Router IP Configuration</h3><p>Before we can even do the OSPF portion, we need to turn on our interfaces and assign IP addresses to our router interfaces and PCs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*GcyvC0vsgzyx3uk8" /></figure><p>Think of OSPF as a GPS system. In order for it to work, you need to have roads that can actually move cars.</p><p>If the roads don’t exist, you can’t…..drive traffic. :)</p><p>The first thing we will do is assign IP addresses to all the Routers</p><p>What I’m going to do on Router0 will be the same steps for the other routers as well, and I’ll list the exact IP addresses I used below.</p><h4>Setting up Router IP Addresses — Why?</h4><p>Because it is a lot easier to assign IPs to the PCs once you have all the routers interfaces up and able to ping each other.</p><p>By this, I mean the routers should be able to ping one another across the point-to-point links, and the <strong>private gateway addresses</strong> should be setup as well.</p><p>Once you have the private gateway addresses setup, it is much easier to go into each individual PC and assign a host IP.</p><p>In the case of Router0, we need to have gateway addresses for:</p><ul><li>172.16.1.16/28 — private network</li><li>192.168.10.0/30 — <em>connects to Router2</em></li><li>192.168.10.4/30 — <em>connects to Router1</em></li></ul><p>Each interface is a different portion of the same router, so when the IP addresses are setup, Router0 should be able to ping the other device associated with its interface.</p><p>This applies to all the routers by the way.</p><h4>Setting up Router IP Addresses — How?</h4><p>So let’s turn on the interfaces and get this going.</p><p>I’ll be doing this on <strong>Router0</strong>, but this applies to all the other routers too, but to their ip addresses.</p><p>First, click Router0 and navigate to CLI.</p><p>Once you’re there you run <strong>show ip interface brief</strong> to see the interface status. Notice how they are all down. That’s why we saw red earlier.</p><pre>Router#show ip interface brief<br>Interface              IP-Address      OK? Method Status                Protocol <br>FastEthernet0/0        unassigned      YES unset  administratively down down <br>FastEthernet0/1        unassigned      YES unset  administratively down down <br>Serial0/0/0            unassigned      YES unset  administratively down down <br>Serial0/0/1            unassigned      YES unset  administratively down down <br>Vlan1                  unassigned      YES unset  administratively down down</pre><p>Then, turn Fast Ethernet 0/0 on and set that gateway to <strong>172.16.1.17 </strong>and the subnet mask to <strong>255.255.255.240</strong> to match the /28 we labelled in the diagram.</p><pre>Router#conf t<br>Enter configuration commands, one per line.  End with CNTL/Z.<br>Router(config)#interface FastEthernet 0/0<br>Router(config-if)#no shutdown<br><br>Router(config-if)#<br>%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up<br><br>%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up<br><br>Router(config-if)# do copy run start<br>Router(config)#interface FastEthernet 0/0<br>Router(config-if)<br>Router(config-if)#ip address 172.16.1.17 255.255.255.240<br>Router(config-if)# do copy run start<br>Router(config-if)#do ping 172.16.1.17<br><br>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 172.16.1.17, timeout is 2 seconds:<br>!!!!!<br>Success rate is 100 percent (5/5), round-trip min/avg/max = 1/7/12 ms<br>Router(config-if)#exit<br>Router(config)#</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wE6UMtxpr7HdZTEs8mXG4w.png" /></figure><p>Now, that specific link is green.</p><p>By the way, <strong>do copy run start</strong> saves the configuration. Make sure you do this after you do anything relevant.</p><p>We then do the same for <strong>Se 0/0/0 </strong>and <strong>Se 0/0/1</strong>.</p><p>These are the links between Router0 → Router1 and Router0 → Router2.</p><pre>Router(config)#<br>Router(config)#inter<br>Router(config)#interface Ser<br>Router(config)#interface Serial 0/0/0<br>Router(config-if)#<br>Router(config-if)#ip address 192.168.10.1 255.255.255.252<br>Router(config-if)#no shutdown<br><br>%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down<br>Router(config-if)#<br>Router(config-if)#do copy run start<br>Destination filename [startup-config]? <br>Building configuration...<br>[OK]<br>Router(config-if)#do ping 192.168.10.1<br><br>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:<br>.....<br>Success rate is 0 percent (0/5)<br><br>Router(config-if)#</pre><p>You may wonder why the ping failed. This is because in the case of serial interfaces, both sides must be configured for it to work.</p><p>This means the Router2 that it is attempting to reach must be setup in this case.</p><p>Let’s do that so you can see it work if you run into this on your end.</p><p>I entered the CLI on Router2 and did the following:</p><pre>Router(config)#interface Serial 0/0/0<br>Router(config-if)#ip address 192.168.10.2 255.255.255.252<br>Router(config-if)#no shutdown<br><br>Router(config-if)#<br>%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up<br><br>Router(config-if)#do copy run start<br>Destination filename [startup-config]? <br>Building configuration...<br>[OK]<br>Router(config-if)#<br>%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up<br><br>Router(config-if)#do ping 192.168.10.1<br><br>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:<br>!!!!!<br>Success rate is 100 percent (5/5), round-trip min/avg/max = 27/33/43 ms<br><br>Router(config-if)#</pre><p>Now, you can see the ping work successfully from Router2 → Router0.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CJmSbINYRcXhh_JuhDGF5Q.png" /></figure><p>Within the diagram itself, you can see this specific link go from red to green as well.</p><pre>Router(config-if)#do ping 192.168.10.1<br><br>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:<br>.....<br>Success rate is 0 percent (0/5)<br><br>Router(config-if)#<br>%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up<br><br>%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up<br><br>Router(config-if)#do ping 192.168.10.1<br><br>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:<br>!!!!!<br>Success rate is 100 percent (5/5), round-trip min/avg/max = 60/67/75 ms<br><br>Router(config-if)#</pre><p>Now, within Router0 the failed ping is also successful.</p><p>Remember, the command structure to setup an interface is:</p><pre>enable<br>conf t<br>interface (interface of choice)<br>ip address (ip address)(subnet mask)<br>no shutdown<br>do copy run start<br>do ping (destination address)<br>exit</pre><p><strong>Finally, we setup the link from Router0 → Router1.</strong></p><pre>Router(config-if)#ip address 192.168.10.5 255.255.255.252<br>Router(config-if)#no shutdown<br><br>%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down<br>Router(config-if)#do copy run start<br>Destination filename [startup-config]? <br>Building configuration...<br>[OK]<br>Router(config-if)#</pre><p>Just like earlier, you have to set configure this interface on Router1’s side for this link to be green.</p><p>Everything I listed above applies to all the routers and the relevant interfaces.</p><p>On Router1 for example, the ping is now successful towards Router2:</p><pre>Router(config-if)#do ping 192.168.10.10<br><br>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.10.10, timeout is 2 seconds:<br>!!!!!<br>Success rate is 100 percent (5/5), round-trip min/avg/max = 26/31/34 ms<br><br>Router(config-if)#</pre><p>And vice versa:</p><pre>Router(config-if)#do ping 192.168.10.9<br><br>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.10.9, timeout is 2 seconds:<br>!!!!!<br>Success rate is 100 percent (5/5), round-trip min/avg/max = 21/33/41 ms<br><br>Router(config-if)#</pre><p>Once you’ve done this successfully, your diagram should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HWRvrrTMReArRX_f3hu5UQ.png" /></figure><p>And if you hover over Router0, the interface table looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*QMc3O8oYdMsaEN4lbC6TvQ.png" /></figure><p>Now that the individual routes are setup, the next step is much easier.</p><p>We are going to set the PCs’ host IP addresses.</p><p>Finally, we will test connectivity from the PCs to the routers by pinging them, and pinging the PCs from their respective routers.</p><p>Once that is done, the OSPF configuration begins.</p><p>For now though, let’s connect our PCs to the network.</p><h4>Setting up PC IP Addresses</h4><p>First, navigate to PC0 and enter the <strong>IP Configurations </strong>screen.</p><p>Second, given the subnet is 172.16.1.16/28, let’s set the IP address to 172.16.1.18.</p><p>Pretty simple? Yup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/0*99NkGGqhP8awYLDZ" /></figure><p>Networking in general, especially on a fundamental level becomes a lot simpler once you realise IP addresses, MAC addresses, etc. are technology designed to start digital conversations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*5LD4uM_fZF_nVqW1kJfkww.png" /></figure><p>So your screen should then look like this. You set Router0 as your default gateway and then navigate to the <strong>CLI </strong>to test ping the router to see if you’re successful.</p><pre>Cisco Packet Tracer PC Command Line 1.0<br>C:\&gt;<br>C:\&gt;ping 172.16.1.17<br><br>Pinging 172.16.1.17 with 32 bytes of data:<br><br>Reply from 172.16.1.17: bytes=32 time=1ms TTL=255<br><br>Ping statistics for 172.16.1.17:<br>    Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),<br>Approximate round trip times in milli-seconds:<br>    Minimum = 1ms, Maximum = 1ms, Average = 1ms<br><br>Control-C<br>^C<br>C:\&gt;</pre><p>And it works!</p><p>Now, try to ping PC0 from Router0.</p><pre>Router&gt;ping 172.16.1.17<br><br>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 172.16.1.17, timeout is 2 seconds:<br>!!!!!<br>Success rate is 100 percent (5/5), round-trip min/avg/max = 10/13/20 ms<br><br>Router&gt;</pre><p>That’s exactly what we want to see.</p><p>Now do the same for PC1 and PC2.</p><p>Once you’ve done so, the PCs will be able to send traffic to and receive traffic from their routers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1yNhcVlQ26M_JrkszGrKFw.png" /></figure><p>The diagram looks the same as earlier, but now the PCs are connected to their respective broadcast domains.</p><p>The question now is, can we send a packet from PC0 to PC2?</p><p>Let’s test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*eZeLUxU90hiCVaK_ssCKxA.png" /></figure><p>As you can see, we failed.</p><p>This is the part where routing comes in.</p><p>This is because while we setup the ability to connect devices on the same subnet, we haven’t setup the ability to <strong>route traffic between different subnets</strong>.</p><p>Sure, we can configure the routes statically, but the whole goal is to be able to dynamically route traffic. Why? Scalability and efficiency.</p><p>This is the part where OSPF comes in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/0*-RGbEItpGuKvWwwU.jpg" /></figure><p>We are finally here.</p><h3>Part 3— OSPF Configuration</h3><p>I’m going to first explain some overarching concepts like process IDs and wildcard masks.</p><p>Then I’m going to list out an example of what the wildcard masks will be in the case of Router0.</p><p>After every explanation, I’ll show you how I did that exact step in the CLI.</p><p>So let’s start with process IDs and router IDs.</p><h4>Process IDs + Router IDs — Explained</h4><p>The <strong>process ID</strong> is simply an internal software process <em>identifier</em>. It can be any number between 1 and 65,535.</p><p>By default, we use process ID 1 but we can have any number of them.</p><p>This means you can have OSPF run independently on process ID 1 and process ID 2 without them overlapping.</p><p>Why? Because each process maintains a <strong>separate routing database</strong>.</p><p>Within the command line, we simply enter the global configuration mode and identify it like this:</p><pre>R1(config)#router ospf 1</pre><p>The router ID however is the specific global, <strong>unique</strong> identifier for the router within the specific OSPF process.</p><p>Simply put, it’s the router’s legal name. It is a unique 32-bit number that follows the same IPv4 formatting.</p><p>Unique router IDs are essential for allowing OSPF to do <em>Link-State Advertising (LSA)</em> properly.</p><p>Don’t worry about that for now, I plan to make a blog about the various dynamic routing protocols, where they are used, and how they work in the future.</p><h4>Process IDs + Router IDs — Configuration</h4><p>Now that I told you what they are, let’s set them up for Router0, Router1, and Router2. That’ll be the first step of setting up OSPF.</p><p>The following configurations are for Router0, 1, and 2 respectively.</p><pre>Router&gt;enable<br>Router#conf t<br>Enter configuration commands, one per line.  End with CNTL/Z.<br>Router(config)#router ospf 1<br>Router(config-router)#router-id 1.1.1.1<br>Router(config-router)#do copy run start<br>Destination filename [startup-config]? <br>Building configuration...<br>[OK]<br>Router(config-router)#exit<br>Router(config)#exit<br>Router#<br>%SYS-5-CONFIG_I: Configured from console by console<br><br>Router#</pre><pre><br>Router&gt;<br>Router&gt;enable<br>Router#conf t<br>Enter configuration commands, one per line.  End with CNTL/Z.<br>Router(config)#router ospf 1<br>Router(config-router)#router-id 2.2.2.2<br>Router(config-router)#do copy run start<br>Destination filename [startup-config]? <br>Building configuration...<br>[OK]<br>Router(config-router)#<br>Router(config-router)#exit<br>Router(config)#exit<br>Router#<br>%SYS-5-CONFIG_I: Configured from console by console<br><br>Router#</pre><pre>Router&gt;<br>Router&gt;enable<br>Router#conf t<br>Enter configuration commands, one per line.  End with CNTL/Z.<br>Router(config)#<br>Router(config)#router ospf 1<br>Router(config-router)#router-id 3.3.3.3<br>Router(config-router)#do copy run start<br>Destination filename [startup-config]? <br>Building configuration...<br>[OK]<br>Router(config-router)#<br>Router(config-router)#exit<br>Router(config)#exit<br>Router#<br>%SYS-5-CONFIG_I: Configured from console by console<br><br>Router#</pre><p>Now that we have the Process IDs and Router IDs established within our lab, the next step is to establish our <strong>Network Adjacencies</strong>.</p><p>To understand this, I’ll briefly explain what wildcards are, and then I’ll show you how to set this up in the CLI.</p><h4>Wildcards Explained</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/402/1*iEgS8Iwx0XK7W6xFalnrIA.png" /></figure><p>In networking, wildcard masks are used to tell network devices which parts of an IP address to <strong>scan</strong> <strong>for</strong> and what to <strong>ignore</strong> when applying rules.</p><p>For example, if I say <em>10.10.10.0 0.0.0.255</em>, that means <strong>scan for anything that matches 10.10.10.</strong> and ignore the last octet.</p><p>So anything between 10.10.10.0 to 10.10.10.255 matches this specific rule.</p><p>Otherwise, it doesn’t match <em>(ex: 10.10.11.254)</em>.</p><p>In the context of OSPF, we use wildcard masks to establish <strong>network adjacencies</strong> to tell the routers: <strong>if something matches this rule, it will join the OSPF <em>area</em></strong>.</p><p>Let me also explain <strong>areas</strong> briefly.</p><h4>Areas Explained</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vgmBAJ5WEIYuR0F8" /></figure><p>No, not that one.</p><p>In OSPF, areas are used to establish <strong>routing zones</strong> to divide larger autonomous networks.</p><p>OSPF in the industry is used to route traffic with many routers. I’m talking in the hundreds.</p><p>Now, if you put them all in the same area, every single router is going to have a <strong>massive routing table</strong> because there is 0 segmentation, and that will fry your router’s hardware every quickly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*UPRXwEgzXSFLeEaWGGWspw.png" /></figure><p>By using areas, routers only need to calculate the shortest path (SPF algorithm) for their own area, saving massive hardware resources.</p><p>Also, if you want to add 100 new routers to your network, you can assign them to a new area, configure OSPF for that one, and simply send a summary to area 0.</p><p><strong>Area 0</strong> is the <strong>backbone area</strong>. This is your central transit hub. Every single OSPF network must have an area 0.</p><p>Area 0 is what we will be using today.</p><p>Now that we know what wildcards and areas are, let’s use both to setup our network adjacencies.</p><p>The syntax for the individual adjacency will look something like this:</p><pre>network 10.10.10.0 0.0.0.255 area 0</pre><p>This means, scan all ports and find anything that starts with 10.10.10, and activate those ports so they <strong>join Area 0 on OSPF</strong>.</p><h4>Network Adjacency Configuration</h4><p>For Router0, the configuration looks like this:</p><pre>Router&gt;<br>Router&gt;enable<br>Router#<br>Router#<br>Router#conf t<br>Enter configuration commands, one per line.  End with CNTL/Z.<br>Router(config)#router ospf 1<br>Router(config-router)#router-id 1.1.1.1<br>Router(config-router)#network 172.16.1.16 0.0.0.15 area 0<br>Router(config-router)#network 192.168.10.0 0.0.0.3 area 0<br>Router(config-router)#network 192.168.10.4 0.0.0.3 area 0<br>Router(config-router)#do copy run start<br>Destination filename [startup-config]? <br>Building configuration...<br>[OK]<br>Router(config-router)#end<br>Router#<br>%SYS-5-CONFIG_I: Configured from console by console<br><br>Router#</pre><p>This is what it looks like in Router1. By the way, <em>LOADING to FULL </em>is exactly what you want to see because now that we setup Router0 and Router1, their 2 tables have <strong>dynamically synced</strong>.</p><pre><br>Router&gt;enable<br>Router#conf t<br>Enter configuration commands, one per line.  End with CNTL/Z.<br>Router(config)#router ospf 1<br>Router(config-router)#router-id 2.2.2.2<br>Router(config-router)#network 172.16.1.32 0.0.0.7 area 0<br>Router(config-router)#network 192.168.10.4 0.0.0.3 area 0<br>Router(config-router)#network <br>07:38:41: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0/0 from LOADING to FULL, Loading Done<br>% Incomplete command.<br>Router(config-router)#network 192.168.10.8 0.0.0.3 area 0<br>Router(config-router)#do copy run start<br>Destination filename [startup-config]? <br>Building configuration...<br>[OK]<br>Router(config-router)#end<br>Router#<br>%SYS-5-CONFIG_I: Configured from console by console<br><br>Router#</pre><p>Already if you go into PC2’s CLI, you will see that you can now ping PC0.</p><pre>Cisco Packet Tracer PC Command Line 1.0<br>C:\&gt;ping 172.16.1.17<br><br>Pinging 172.16.1.17 with 32 bytes of data:<br><br>Reply from 172.16.1.17: bytes=32 time=13ms TTL=254<br><br>Ping statistics for 172.16.1.17:<br>    Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),<br>Approximate round trip times in milli-seconds:<br>    Minimum = 13ms, Maximum = 13ms, Average = 13ms<br><br>Control-C<br>^C<br>C:\&gt;ping 172.16.1.18<br><br>Pinging 172.16.1.18 with 32 bytes of data:<br><br>Reply from 172.16.1.18: bytes=32 time=36ms TTL=126<br>Reply from 172.16.1.18: bytes=32 time=32ms TTL=126<br>Reply from 172.16.1.18: bytes=32 time=2ms TTL=126<br><br>Ping statistics for 172.16.1.18:<br>    Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),<br>Approximate round trip times in milli-seconds:<br>    Minimum = 2ms, Maximum = 36ms, Average = 23ms<br><br>Control-C</pre><p>Now, we setup Router2 and we will soon be done. :)<br>We are almost there guys.</p><pre>Router&gt;<br>Router&gt;enable<br>Router#<br>Router#conf t<br>Enter configuration commands, one per line.  End with CNTL/Z.<br>Router(config)#<br>Router(config)#router ospf 1<br>Router(config-router)#<br>Router(config-router)#router-id 3.3.3.3<br>Router(config-router)#network 10.10.10.0 0.0.0.255 area 0<br>Router(config-router)#network 192.168.10.0 0.0.0.3 area 0<br>Router(config-router)#network 19<br>07:44:44: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0/0 from LOADING to FULL, Loading Done<br><br>                              ^<br>% Invalid input detected at &#39;^&#39; marker.<br> <br>Router(config-router)#network 192.168.10.8 0.0.0.3 area 0<br>Router(config-router)#<br>07:44:58: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial0/0/1 from LOADING to FULL, Loading Done<br><br>Router(config-router)#do copy run start<br>Destination filename [startup-config]? <br>Building configuration...<br>[OK]<br>Router(config-router)#<br>Router(config-router)#end<br>Router#<br>%SYS-5-CONFIG_I: Configured from console by console<br><br>Router#</pre><p>As you can see, the LOADING to FULL statement appears twice because we’re configuring the 3rd node of our triangle.</p><p>Now that we’ve configured OSPF, <strong>we need to test that it works</strong>.</p><h3>Part 4— Testing the Network</h3><p>This part is pretty straightforward.</p><p>You click the closed envelope symbol within packet tracer and click on one PC as the sender and the other as the recipient.</p><p>If PC0 → PC1, PC1 → PC0, and every other PC can send and receive from the others, it worked.</p><p>I’ll display the statuses below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*2mIThLnDsG-easeBlKM5BQ.png" /></figure><p>PC0 and PC1 can successfully communicate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*QQU-d5wcE9WDV0DDGpo71g.png" /></figure><p>PC0 and PC2 are in business.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*uTzSMqf86Yhyke7FG4Qzmw.png" /></figure><p>And there we go! Everything can reach everything.</p><p>If you got this to work, incredible job. OSPF is successfully up and running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vaNzMMo_FtiSZDBqL6FUDA.png" /></figure><p>Here is our final network diagram. If everything is green and reachable, you did it.</p><p>If you made it this far into the blog, I give a lot of credit to you.</p><p>OSPF and dynamic routing aren’t simple the first time around, but once you do it once thoroughly and you understand <strong>why everything works</strong>, you will be a much larger step closer towards the CCNA.</p><p>For me personally, this was a massive step in the right direction, and going forward I plan to show you guys a lot more setups as part of my own CCNA journey.</p><p>Until then, have a great rest of your week, and I will see you next time. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21c15652e1ed" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/the-simplest-ospf-configuration-walkthrough-21c15652e1ed">The Simplest OSPF Configuration Walkthrough</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Part of Cybersecurity No One Talks About]]></title>
            <link>https://meetcyber.net/the-part-of-cybersecurity-no-one-talks-about-6907502cac48?source=rss-aa1c3de4777c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6907502cac48</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Aryan Vij]]></dc:creator>
            <pubDate>Wed, 08 Jul 2026 01:56:39 GMT</pubDate>
            <atom:updated>2026-07-08T01:58:51.337Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qZzH8Zwd037uwbs3.jpg" /></figure><p>It’s the part where you look at a CLI and wonder if you have the ability to use it.</p><p>It’s the part where you see someone complete a challenging CTF and wonder if they understand something you don’t.</p><p>It’s the part where you see the CISSP, OSCP, CEH, GCIH, etc. and wonder how someone completes a 4 hour long exam.</p><p>It’s the part where you see someone with a mini-rack of hardware including switches and routers underneath their desktop while having CCNP listed on their LinkedIn.</p><p>It’s the part where you see the massive RSAC conventions and wonder if you can attend one.</p><p>If you’ve felt any of this before, let me tell you something.</p><p>You’re not alone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iVESVXEOB7R5uzA_.jpg" /></figure><p>We all share this feeling of wondering if we can become like Elliot from Mr. Robot.</p><p>Or whether we can become a CISO holding the CISSP.</p><p>If you can relate to this feeling, let me walk you through how I overcame it and made cybersecurity a lot more fun for myself.</p><p>Along with making it more fun, my practical skills and overall abilities have skyrocketed more in the past 3 months than in the years prior.</p><p><strong>So, here is my guide to defeating imposter syndrome and making pursuing cybersecurity enjoyable.</strong></p><h3>Part 1: The CLI is Scary for Everyone</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CrnQGVvqqpwWUV4G.png" /></figure><p>Yes, everyone.</p><p>Everyone comes across the feeling where they open a Linux terminal and freeze.</p><p>It’s the type of feeling that makes someone feel like they can’t complete a project without following a YouTube tutorial.</p><p>And yes, it is normal to have the <strong>CompTIA Security+</strong> and still feel completely lost.</p><p>That doesn’t mean you don’t know anything, it just means <strong>you’re getting started</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/0*t4FT3VNYrpkYFsfL" /></figure><p>My kickboxing sensei has this listed on the wall at our dojo and it is often refreshing to look at.</p><p>Understand this, the people that can design their own exploits and can conduct attacks like the one on Canvas started out exactly like you.</p><p>They also had to look up ls.</p><p>They had to look up netcat.</p><p>They had to look up ps aux.</p><p>They had to look up netstat -tulnp.</p><p>They also had to learn what a port was.</p><p>They also had to figure out how to rename a file from the terminal.</p><p>I want you to tell yourself this the next time you open a command line, or an AWS account, or packet tracer to do day 3 of Jeremy’s IT Labs.</p><p><strong>I’m not supposed to know all of this today, and no one is expecting me to either.</strong></p><p>Even more importantly: <strong>No one is going to judge me for not knowing something and trying to learn.</strong></p><p>That brings me to the most important thing to do in both cybersecurity and life: try.</p><h3>Part 2: Try</h3><p>It is very easy to get caught up in the end goals.</p><p>This could be:</p><ul><li>Setting up a full automated SOC lab using AI agents to respond to incidents generated in The Hive</li><li>Configuring BGP for 5 autonomous systems without having looping issues and ensuring inter-VLAN routing is setup correctly</li><li>Trying to study for the CySA+ after earning the Security+</li><li>Or even preparing for the 3rd round technical interview that is an hour long with a panel including the hiring manager and their director</li></ul><p>These are incredibly important. They hold weight for each one of us, and it applies to every goal you choose to pursue.</p><p>More importantly, it feels incredible to say: <strong>I did this.</strong></p><p>Understand this, everything you do is proof that you can do something.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pG7XReENRrkZB1Ql" /></figure><p>If you want to get better at Linux for example, and feel like you don’t know your way around it, do exactly this:</p><ul><li>Search up ls and enter it into your terminal.</li></ul><blockquote><em>If you did that, you successfully practiced Linux today.</em></blockquote><p>It may seem trivial and you may think: <strong>Aryan, anyone can type </strong>ls .</p><p>But do you know all the flags that can be appended to ls?</p><blockquote>If you’ve made it to this point, write down 5 of them and exactly what they do.</blockquote><p>I’ll wait.</p><p>See?</p><p>You’ll realise something it took me a while to register.</p><p><strong>Cybersecurity is not about memorising a bunch of commands.</strong></p><p>It is about asking yourself:</p><ul><li><strong>“what is this?”</strong></li><li><strong>“where do I find it?”</strong></li><li><strong>“did I write it down so I can do it again if I broke something along the way?”</strong></li></ul><p>Now, do me a favor and search up <strong>ls flags</strong> on Google and do the following exercise.</p><p>As you’re doing these,<em> write each step down</em> with the commands you entered and what it does.</p><p>If you don’t know the command behind something, find out. 😊</p><ul><li>Open up your terminal and create a <strong>directory</strong> called <em>university</em></li><li>Within that create 3 <strong>subdirectories</strong>: <em>staff</em>, <em>students</em>, and <em>alumni</em></li><li><strong>Without</strong> entering the <em>students</em> directory, create 3 more subdirectories: <em>housing</em>, <em>tuition</em>, and <em>coursework</em></li><li>Then <strong>rename</strong> the directory called <em>tuition</em> to <em>payment_processing</em></li><li>Once you’ve done this, then within <em>coursework</em>, create a file called <strong>fall_2026.txt</strong> and add 3 courses with names and numbers:</li><li>Ex: <em>CS 101- Intro to Java Programming</em></li><li>After you’re done, go back to the <strong>university</strong> directory</li><li>I want you to then output the <strong>fall_2026.txt</strong> file’s contents.</li><li>Finally, I want you to list the following from the <em>university</em> directory in the <strong>same command</strong>: All subdirectories <em>recursively</em>, sorted by <em>size</em>, including the <em>file permissions</em>.</li></ul><p><strong>By the way, you don’t have to do it all at once.</strong></p><p>If something confused you along the way, don’t worry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1gKFE8ouR96XNQZL.jpg" /></figure><p>It is the confusion that creates the opportunity to learn, which enables you to grow.</p><p>It’s the part where you ask yourself <strong>“how do I do this?”</strong>, look something up, enter it into the CLI and see if you returned the intended result.</p><p>If it does fail, you try again.</p><p><em>And again.</em></p><p><em>And then you take a break because your head hurts.</em></p><p><em>And then you come back and try again.</em></p><p>You may feel demoralised at times.</p><p>You may also tell yourself: <strong>I should already know how to do this.</strong></p><p>However, the attempt is what matters the most. It’s not the part where you submit a README.md on GitHub to prepare for the next interview.</p><p><strong>It’s the part where you open the CLI up in the first place.</strong></p><p>It’s the part where you tell yourself: I want to grow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Roi37THEXPxErcHv.jpg" /></figure><p>Remember, you can’t climb a mountain by teleporting to the peak. You get there by placing one foot in front of the other.</p><p>If you are able to teleport, please show me how.</p><p>And more importantly, if you were able to complete the exercise above, smile.</p><p>You earned it, and that’s the final part I’m going to cover today.</p><p>Acknowledging the wins.</p><h3>Part 3: Celebrate the Wins</h3><p>More importantly, acknowledging yourself.</p><p>This is the most important part of cybersecurity and the part that people overlook the most as well.</p><p>The part where you successfully rename <em>tuition</em> to <em>payment_processing</em> after you looked up the command you’re supposed to use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*7xVoTe9m4qzyNsBkG6SuIg.png" /></figure><p>Say it with me: <strong>I did it.</strong></p><p>Because you did.</p><p>Sure you might say: yeah it’s just entry level Linux.</p><p>It’s not like I enumerated over a million hosts and their services, found an outdated SMB version, searched up the relevant CVE vulnerability, ran the exploit through Metasploit, established a reverse-shell to maintain persistent access, and then escalate to admin privileges by moving laterally through other machines within the same subnet.</p><p><strong>So?</strong></p><p>The real question is: <strong>did you learn something?</strong></p><p>More importantly, did you make a conscious choice to grow, take initiative, try something new, and complete it successfully?</p><p>If the answer is yes, then that is all you need to know.</p><p>You officially know more now than you did earlier.</p><p>You’re officially a more skilled cybersecurity professional than you were earlier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*ha3xQod0EpjXIwsR_-oPbg.png" /></figure><p>So smile, you deserve to.</p><p>Both as a professional and as a human being.</p><p>Most importantly, you deserve to smile <strong>because you’re you</strong>.</p><p>There is a lot to love about you, even if you don’t realise it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6907502cac48" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/the-part-of-cybersecurity-no-one-talks-about-6907502cac48">The Part of Cybersecurity No One Talks About</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe — Corridor CTF Writeup]]></title>
            <link>https://meetcyber.net/tryhackme-corridor-ctf-writeup-4b5563f47706?source=rss-aa1c3de4777c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b5563f47706</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[Aryan Vij]]></dc:creator>
            <pubDate>Sat, 04 Jul 2026 23:50:24 GMT</pubDate>
            <atom:updated>2026-07-04T23:56:57.554Z</atom:updated>
            <content:encoded><![CDATA[<p>hi guys, aryan here!</p><p>Welcome to another TryHackMe walkthrough!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eiwIa-t0ifhugZe7B25buw.png" /></figure><p>Today I will be walking you guys through a room called Corridor.</p><p>First, we will cover two fundamental concepts required to understand this room: Nmap and IDOR vulnerabilities.</p><p>Once we establish a baseline, I will go through the steps to <strong>solve</strong> the room.</p><p>So, let’s get started. :)</p><h3>Nmap- the Network Mapper</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/0*Qaulj-2aA-Xt-Shr.png" /></figure><p>Nmap is one of the most common open-source tools used in cybersecurity and it focuses on one word: <strong>discovery</strong>.</p><p>This discovery is conducted through the command line interface. There is a GUI version as well and it’s called <strong>Zenmap</strong>.</p><p>Nmap is particularly strong and versatile as it allows cybersecurity professionals to examine many things including:</p><ul><li>networks</li><li>ports</li><li>hosts</li><li>services</li><li>versions</li><li>and operating systems</li></ul><p>In order to conduct a penetration test machine or network, you need to understand the attack surface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/1*9HOl9T1NVpyweyQW9_yz4w.png" /></figure><p>This includes mapping the network to see:</p><ul><li>what ports are open for me?</li><li>what potential hosts have outdated services with known exploits?</li><li>what networks do these hosts reside on and are there other devices within this particular network?</li></ul><p>and most importantly: <strong>who and what am i getting into?</strong></p><p><strong>That is where Nmap comes in</strong>.</p><p>Now that we know how to find what you <strong>can</strong> access, let’s learn how to use IDOR vulnerabilities to look for things we shouldn’t be able to reach.</p><h3>IDOR Vulnerabilities- Checking Your Neighbour’s Mail</h3><p>If I can access my house door, I can move not too far over and access yours as well.</p><p>Why? Because we are in the same neighbourhood.</p><p><em>Let’s cover the technical details.</em></p><p>IDOR stands for Insecure Direct Object Reference.</p><p>This is an <strong>access control</strong> vulnerability that exposes <strong>internal information</strong> without checking whether someone can access it?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ax0XlZTAauZEaaNP.png" /></figure><p>How? By assuming that if you can access <strong>file A</strong> on a website, then there is no need to check again when you try to access <strong>file B</strong>.</p><p>Remember this. Please.</p><blockquote>Just because you can access <a href="http://10.51.24.3/?id=1000,">http://10.51.24.3/?id=1000,</a> doesn’t mean you should be able to access <a href="http://10.51.24.3/?id=1000,">http://10.51.24.3/?id=1002</a>.</blockquote><p>But, on many insecure sites you can.</p><p>But I’m sure you wouldn’t want to live in a neighbourhood that enables people to check your mail locker because they live in the house next to you.</p><p>We will be leveraging IDOR vulnerabilities in this room by <strong>manipulating the URL</strong> itself to allow access to rooms we shouldn’t be able to enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*cbrZrkNJUw4JqfQH.jpg" /></figure><p>So, let’s get into the hack itself.</p><h3>Corridor Walkthrough Process</h3><p>First, we are going to use Nmap to scan the target IP address of the machine.</p><p>This will tell us what is running on the host.</p><p>Then, we are going to leverage IDOR vulnerabilities to manipulate the URL in the hidden webpage to retrieve the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*UvpePshtbyBL21-zhFENlQ.png" /></figure><p>Our target IP is <strong>10.64.189.153</strong>.</p><p>You’ll get a different one for yours but same steps regardless.</p><p>First, open up the <strong>terminal</strong> in the Lab Machine and enter <strong>nmap -sS 10.64.189.153</strong>.</p><ul><li><strong>-sS</strong> is the stealth scan flag. It is called stealthy because you don’t complete the full TCP 3-way handshake.</li><li>Keep in mind though that modern enterprise SIEMs will still detect this traffic immediately</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*S4Ynn46ghv3praioyzT4Ag.png" /></figure><p>As you can see, port 80 is open. Let’s access the target IP’s web server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*MxhGHmyhDmKic0ZnrbZm3Q.png" /></figure><p>When you do, you’ll find that it looks like this.</p><p>When you click the door in the middle, it opens a webpage with this URL: <a href="http://10.64.189.153/8f14e45fceea167a5a36dedd4bea2543">http://10.64.189.153/8f14e45fceea167a5a36dedd4bea2543</a></p><p>Notice how the string following the IP address is an <strong>MD5 hash?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IBsF-XQn142KeL6YMbx7yw.png" /></figure><p>When I clicked each one of the rooms, the corresponding URL was the hashed numerical room value.</p><p>So, the door in the middle is <strong>door number 7</strong>. The one closest to the left is 1, and the one closest to the right is 13.</p><p>Why is this relevant? Because if we can directly map each URL to a room based on a hashed numbers 1–13, <em>what other numbers grant access</em>?</p><p>This is why IDORs are so dangerous. Now all I have to do is add the number 14 in the form of an MD5 hash to the end of the target IP’s URL and see if it unlocks a door.</p><p><strong>It didn’t.</strong></p><p>However, if 14 and 15 don’t work, maybe 0 will.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1019/1*Os-wLIa_mq-CeJWUB5i_7Q.png" /></figure><p>Let’s enter <em>http://10.64.189.153/cfcd208495d565ef66e7dff9f98764da</em> into our browser and see what happens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*yPoDjh7wW_XP8Y4G4h2upA.png" /></figure><p>There you go. :)</p><p>That’s the flag. 🚩</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b5563f47706" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/tryhackme-corridor-ctf-writeup-4b5563f47706">TryHackMe — Corridor CTF Writeup</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The First 3 Cybersecurity Certifications You Should Earn]]></title>
            <link>https://meetcyber.net/the-first-3-cybersecurity-certifications-you-should-earn-51726cf12a8f?source=rss-aa1c3de4777c------2</link>
            <guid isPermaLink="false">https://medium.com/p/51726cf12a8f</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Aryan Vij]]></dc:creator>
            <pubDate>Mon, 29 Jun 2026 01:24:25 GMT</pubDate>
            <atom:updated>2026-06-29T01:24:25.847Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi everyone, aryan here.</p><p>If you’re looking to break into cybersecurity, one of the biggest questions you’ll probably have is:</p><p><strong>“Which certification should I earn first?”</strong></p><p>There are hundreds of certifications out there, and it’s easy to spend time and money studying for the wrong one.</p><p>If I were starting over today, these are the <strong>first three certifications I’d earn</strong>, as well as the order I’d earn them in.</p><h3>First: The AWS Certified Cloud Practitioner</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1m1KDig5rzKI0_po.png" /></figure><p>This was the second certification I’d earned, however, I suggest you make it your first.</p><p>This is a <strong>foundational</strong>, <strong>entry-level certification</strong> that validates your understanding of essential cloud concepts.</p><p>When studying for this, you’ll learn the basics of cloud computing, different cloud models, security, AWS’ core services, and how companies leverage the cloud.</p><p>The exam is 90 minutes long, you’ll have 65 questions, and you need a passing score of <strong>700 out of 1000</strong>.</p><p>It costs $100 USD for a voucher.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/0*KgKsIpbQzQhTg4E6" /></figure><p>The reason why I suggest earning this one first is because it gives you a great first win.</p><blockquote><em>It’s definitely challenging as a first certification, but it’s also very achievable with consistent study.</em></blockquote><p>It also isn’t as expensive as some of the other certifications in the market.</p><p>It is however, highly respected. AWS has a variety of certification paths you can take once you’ve earned this, and it does a great job setting you up well for each one.</p><p>Also.</p><p><strong>Every single company out there utilises the cloud in some way or another</strong>.</p><p>Cloud is extremely relevant in cybersecurity, and understanding the foundations will help you understand enterprise security much more clearly.</p><p>So, this certification is the perfect first mountain to climb.</p><p>But wait.</p><p><strong>How do I study for it?</strong></p><ul><li><a href="https://www.udemy.com/course/aws-certified-cloud-practitioner-new/?couponCode=KEEPLEARNING">[NEW] Ultimate AWS Certified Cloud Practitioner CLF-C02 2026</a></li><li><a href="https://www.udemy.com/course/practice-exams-aws-certified-cloud-practitioner/?couponCode=KEEPLEARNING">6 Practice Exams | AWS Certified Cloud Practitioner CLF-C02</a></li></ul><p>Use these. This was everything I used to pass.</p><p>Also on Udemy, <strong>do not pay full price</strong>.</p><p><strong>Never.</strong></p><p>The courses go on sale and often these sales are 90% off. The same course that says <em>174.99</em> right now will say <em>14.99 </em>when on sale.</p><p><a href="https://meetcyber.net/cloud-networking-101-how-to-make-a-vpc-within-aws-6a3ff4607f03">Cloud Networking 101: How to make a VPC within AWS</a></p><p>Also, my Cloud Networking 101 series does provide great material for this certification.</p><p>I primarily use AWS as my Cloud Service Provider and I’ll supplement your learning with both concepts and <strong>practical hands-on </strong>projects.</p><p>Projects are extremely necessary when learning about the cloud, and you’ll feel much better about knowing what you’re doing.</p><p>If you don’t have this certification yet and are interested:</p><ul><li>Go to Udemy</li><li>Buy Stephane Maarek’s course + 6 practice exams</li><li>Aim for an 80% average on his practice exams</li><li>Once you’re there, schedule an exam with AWS through <strong>PearsonVue</strong></li><li>Go get it, and accept your badge on <strong>Credly</strong></li></ul><p><a href="https://www.credly.com/badges/2342ed4d-f88a-4818-9f28-88940619b126">AWS Certified Cloud Practitioner was issued by Amazon Web Services Training and Certification to Aryan Vij.</a></p><p>Once you’ve earned your Certified Cloud Practitioner, your next certification will be the <strong>CompTIA Network+</strong>.</p><h3>Second: The CompTIA Network+</h3><p>I’m very happy to announce that as of June 25th 2026, I passed the CompTIA Network+.</p><p>I did it on my 23rd birthday. :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*5dk7s6U9dJUpsLCez0NWgw.png" /></figure><p>This was the third certification on this list that I earned, however, I suggest you make it your second.</p><p>Why?</p><blockquote><strong><em>You must learn Networking to understand Cybersecurity.</em></strong></blockquote><p>You must.</p><p>You absolutely must.</p><p>This certification is a jump up from the AWS Certified Cloud Practitioner in both difficulty and cost.</p><p>It is 90 minutes long, you have a maximum of <strong>90 questions</strong>, and you must score a <strong>720 out of 900 in order to pass</strong>.</p><p>It also does cost $400 for an exam voucher, but if you use Jason Dion’s Udemy course to prepare, you can buy a voucher for 10% off.</p><p>I will explain Dion Training a bit later.</p><p><strong>What does this certification cover?</strong></p><p>All things networking. This includes the OSI model, IP addressing, ports, protocols, and everything involved in <strong>deploying, configuring, and securing</strong> both <em>home</em> and <em>enterprise</em> networks.</p><p>Some people will recommend passing the CompTIA A+ first, I wouldn’t.</p><p>You can if you want to, but I wouldn’t.</p><p>This is because I think the A+ is extremely memory focused and unless you really need a hardware and motherboard overview, <em>I’d skip it.</em></p><p><strong>So, how did I pass?</strong></p><p>I used Jason Dion’s training course on Udemy + set of 6 practice exams. I also used <strong>Cisco Packet Tracer</strong>, and wrote blogs on Medium to assist my learning. :)</p><ul><li><a href="https://www.udemy.com/course/comptia-network-009/?srsltid=AfmBOorB7SjasP2CQA0QZyy7I5sSleVDGr3IJ1QzjZgtl2IR-ig_2A1i">CompTIA Network+ (N10-009) Full Course &amp; Practice Exam</a></li><li><a href="https://www.udemy.com/course/comptia-network-n10-009-6-practice-exams-and-pbqs-set-1/?utm_campaign=Search_Keyword_Beta_Prof_la.EN_cc.US&amp;utm_source=google&amp;utm_medium=paid-search&amp;portfolio=USA&amp;utm_audience=mx&amp;utm_tactic=nb&amp;utm_term=_._ag_162987777034_._ad_693813029433_._kw_&amp;utm_content=g&amp;funnel=&amp;test=&amp;gad_source=1&amp;gad_campaignid=21099451329&amp;gbraid=0AAAAADROdO2l62ZRKqsTOyy4AZFimn6F6&amp;gclid=Cj0KCQjwxvjRBhC2ARIsAI7KJa0Yosnep02o8Tbk9S4KdB-7venmspvrDNIbK5fHqlLiVHnbgst9iI8aApxpEALw_wcB">CompTIA Network+ (N10-009) 6 Practice Exams Set 1</a></li></ul><p>Yes, the blogs you see on my page were part of my Network+ preparation.</p><p><a href="https://www.credly.com/badges/1ab7ae37-8ca0-432d-b025-436ec9f92d98/public_url">CompTIA Network+ ce Certification was issued by CompTIA to Aryan Vij.</a></p><p>How full circle :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*9L0CQAPMBKJz0ClB.png" /></figure><p>I also recommend doing practice labs in Cisco Packet Tracer.</p><p><a href="https://www.netacad.com/cisco-packet-tracer">Cisco Packet Tracer</a></p><p>Definitely go to this page and download the Packet tracer app to your computer.</p><p>Once you’re done, head over this blog below.</p><p><a href="https://medium.com/the-ink-home/the-day-networking-stopped-being-intimidating-a0e384bd18fa">The Day Networking Stopped Being Intimidating</a></p><p>This is an incredible foundational lab to follow along with to setup your first working network in Packet Tracer. It covers <strong>routers, switches, VLANs, trunking, cables, and more</strong>.</p><p>A lot of networking is learned by <strong>doing,</strong> just like cloud.</p><p>Finally, I used <strong>Knowt</strong> for flashcards. No Quizlet, I’m not participating in your intentionally greedy paywall.</p><p><a href="https://knowt.com/flashcards/38fa3304-73a8-43db-8a2a-233a38b568a3">Network+ N10-009 Flashcards | Knowt</a></p><p>These were the ones I used. They’re extremely useful to drill the concepts and acronyms in your brains.</p><p>The Network+ will cover things that do need to be memorized like Ethernet cabling standards, connector types, 802.11 standards, etc.</p><p>Flashcards are always a plus for exam preparation and this set did wonders for me.</p><p>Once you pass the Network+, the final certification on this list is the <strong>CompTIA Security+</strong>.</p><h3>Third: The CompTIA Security+</h3><p>In cybersecurity, this is a must.</p><p>It is a major checkbox for HR and has global visibility, but more than that, you gain a very well-rounded and holistic understanding of cybersecurity fundamentals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JwCOmkl4rPYN8L9f.png" /></figure><p>This certification covers a wide range of topics from incident response to different types of encryption.</p><p>You also learn a lot about different types of malware, layers of security, social engineering attempts, and dive into cloud security as well.</p><blockquote><em>If you want to pursue a career in Cybersecurity, please earn this. Both for the knowledge and the credential itself.</em></blockquote><p>This was the first certification I earned in my career back in March 2024.</p><p>Even so, I put this one last because I do believe doing the Security+ after learning the core <strong>networking</strong> principles from the Network+ is better.</p><p><strong>I 100% believe that in order to be great at cybersecurity, you must have a strong understanding of Networking.</strong></p><p>A lot of what you read in a tool like Wireshark will only truly make sense if you understand packet flows and the various layers of the OSI model.</p><ul><li><a href="https://medium.com/@aryan.vij/the-osi-model-except-it-actually-makes-sense-part-1-97d511947214">The OSI Model (Except It Actually Makes Sense) — Part 1</a></li><li><a href="https://medium.com/@aryan.vij/the-osi-model-except-it-actually-makes-sense-part-2-aeb899970a64">The OSI Model (Except It Actually Makes Sense) — Part 2</a></li></ul><p>If you want to learn more about that, here is my OSI model series where I cover all 7 layers thoroughly.</p><p><strong>So, how did I pass?</strong></p><p>I again used Udemy for both the lecture material and the practice exam set.</p><ul><li><a href="https://www.udemy.com/course/securityplus/">CompTIA Security+ (SY0-701) Complete Course &amp; Practice Exam</a></li><li><a href="https://www.udemy.com/course/comptia-security-sy0-701-practice-exams-simulated-pbqs/">CompTIA Security+ (SY0-701) Full Practice Exams &amp; PBQs</a></li></ul><p>I also setup a foundational SOC lab which involved an attacking Kali Linux machine and a Windows Active Directory domain to function as the <strong>enterprise</strong>.</p><p>There are many tutorials on YouTube on how to set one up. I’m thinking of making a blog about it myself down the line.</p><p>A short series to cover setting up your AD infrastructure and performing demo exploits on your environment through a Kali Linux machine.</p><p>That gave me a really good idea. Stay tuned for that. :)</p><h4><strong>Security+ Exam Details</strong></h4><p>Before I wrap this up, here are some details about the Security+ exam itself.</p><ul><li>Maximum of 90 questions</li><li>Passing score is 750 out of 900</li><li>The voucher is $399 but just like the Net+, if you purchase through <strong>Dion’s Udemy course</strong>, you can get 10% off.</li></ul><p>Thats everything regarding the Security+. ‘</p><p>Another thing about it is, certain government positions have this certification marked as <strong>mandatory</strong>, so earning this also opens specific doors that wouldn’t be open otherwise.</p><h3>Key Takeaways</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wZGCglMqV-WoLZOB.jpg" /></figure><p>I know I covered quite a lot today.</p><p>These 3 certifications aren’t going to be earned overnight and you’ll definitely encounter challenges along the way.</p><p>Notice how each certification builds on the previous one.</p><ul><li>The AWS Certified Cloud Practitioner teaches cloud fundamentals.</li><li>The Network+ teaches how data actually moves across networks.</li><li>The Security+ then builds on both by showing how to defend those systems.</li></ul><p>Rather than treating these as isolated exams, think of them as three steps in the same journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*a35Y7GIdyP8dna7k.jpeg" /></figure><p>I learned a lot about network topologies, cloud services, data center architectures, incident response plans, and much more.</p><p>I also felt my confidence grow as well. For example, earning the AWS Certified Cloud Practitioner became the motivator to eventually help me earn the <strong>AWS Solutions Architect Associate</strong> certification.</p><p>The Network+ has put me on course to do my CCNA. My CCNA journey started on June 27th, 2026.</p><p>The best part about cybersecurity is that it is a journey, not a 2-day event. You will experiment, break things, want to quit over a CLI screen, and experience relief like no other <strong>when it finally works</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*nQFWyBkOhavofj-K.jpg" /></figure><p>It won’t be easy, but just as my kickboxing sensei said, <strong>chase progress not perfection</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51726cf12a8f" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/the-first-3-cybersecurity-certifications-you-should-earn-51726cf12a8f">The First 3 Cybersecurity Certifications You Should Earn</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deciphering Cryptography — Symmetric Encryption]]></title>
            <link>https://meetcyber.net/deciphering-cryptography-part-2-symmetric-encryption-678038ebbbee?source=rss-aa1c3de4777c------2</link>
            <guid isPermaLink="false">https://medium.com/p/678038ebbbee</guid>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[meetcyber]]></category>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Aryan Vij]]></dc:creator>
            <pubDate>Sat, 20 Jun 2026 20:12:56 GMT</pubDate>
            <atom:updated>2026-07-16T19:25:07.859Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey everyone, welcome back. Aryan here.</p><p>Here we are at part 2 of the<strong> Deciphering Cryptography </strong>series!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*PuModRJJCmXhZHZF" /></figure><p>This series covers the fundamentals of cryptography, security, and most importantly, how <strong>confidentiality</strong> and <strong>integrity</strong> are kept safe.</p><p>In part 1 of the series, we covered the basics of Cryptography and the CIA Triad.</p><p><a href="https://meetcyber.net/deciphering-cryptography-part-1-its-not-just-encryption-2f9480b527e2">Deciphering Cryptography (Part 1) — It’s Not Just Encryption</a></p><p>If you want a good refresher, definitely take a look. It’ll help you gather a prerequisite understanding for today’s material.</p><p>So, let’s get into how your data is <em>scrambled</em> and then <em>unscrambled</em> across the internet.</p><p>I’m sure you wouldn’t want someone from an unidentified location to be able to capture the conversations in your family’s group chat, especially in plain english (<em>plaintext</em>).</p><h3>Symmetric Encryption Explained</h3><p>Keys. 🔑</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/0*8VaqNGGg1JV__Jm9" /></figure><p>It’s the number of keys you use.</p><p>What do I mean by this?<br>Well let’s examine the 2 core halves of data confidentiality: <strong>Encryption </strong>🔒 and <strong>Decryption </strong>🔓<strong>.</strong></p><ul><li>Encryption is the process of scrambling data from <em>plaintext -&gt; ciphertext</em>.</li><li>Decryption is the process of unscrambling <em>encrypted data -&gt; plaintext</em>.</li></ul><p>Symmetric encryption uses the <strong>same key</strong> for encryption and decryption.</p><p>Asymmetric encryption uses <strong>2 separate keys</strong>.</p><p>So, how does each form of encryption work? Where do we use it?</p><p>Well, let’s get into it.</p><h4>Symmetric Encryption Explained</h4><p>The fundamental principle of symmetric encryption is that it uses the <strong>same</strong> key for both encryption and decryption.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/0*pUIGo6FZg7BOkQpz" /></figure><p>Here is a simple example with the Caesar Cipher with a key = 5.</p><p>This is a cipher that shifts the letters of alphabet <strong>k amount</strong> over.</p><p>If a key = 5, then a becomes f.</p><p>So the word <strong>happy</strong>:</p><ul><li>Encrypted: <em>happy → k (shift 5) → mfuud</em></li><li>Decrypted: <em>mfuud → k → (shift -5) happy</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zCgU0PRisS00f86D.jpg" /></figure><p>Don’t use the Caesar Cipher in any actual environment ever. Please don’t.</p><p>Use a burrito instead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/0*E8XU_b-dn6BmDFQL.jpg" /></figure><p>Yes, that was my excuse to use this really cute burrito photo.</p><p>I’m not sorry.</p><p>Back to the Caesar Cipher, while it is <strong>inapplicable</strong> in a real-world environment, it is a very simple way to describe <em>key-based</em> encryption and <strong>ciphers</strong>.</p><p>In the industry however, there are two main categories of ciphers in regards to symmetric encryption: <strong>stream ciphers</strong> and <strong>block ciphers</strong>.</p><p>I’ll first explain each one individually and then highlight the differences between the two.</p><p>After that, we will go over AES briefly. This is the gold-standard symmetric encryption algorithm.</p><p>I will then conclude this article with some of the <strong>key applications</strong> of symmetric encryption and <strong>why</strong> we use it.</p><p>So, let’s get into it.</p><h4>Stream vs Block Ciphers</h4><p>I’m going to give you a high level overview on these two because each one can be its own blog.</p><p>I plan to expand on the math and actual architecture of these in the future. For now, let’s explore the fundamentals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SF-TClAlQ_e4qWK-f4rAWw.png" /></figure><p><strong>Stream Ciphers</strong></p><ul><li>Encrypt <em>one bit or byte</em> of plaintext at a time</li><li>Think of a stream cipher as a <em>flowing pipe</em> of water</li><li>In one case the information flows through and becomes encrypted <em>as it passes </em>and decrypted in the same way.</li><li>This makes stream ciphers particularly useful for <strong>audio and video calls </strong>because there is almost <em>no latency</em>.</li></ul><p><strong>Block Ciphers</strong></p><ul><li>Encrypt <em>blocks</em><strong><em> </em></strong>of plaintext, typically sizes of <em>64 or 128-bits.</em></li><li>Processes data <em>in chunks</em> similar to an <em>assembly line</em> with packages.</li><li>It waits for a package to be full <em>before</em> collecting, processing, and moving it.</li><li>Because block ciphers require a little more processing, they’re more useful for encrypting for <strong>files and web traffic</strong>.</li></ul><p>Now that we covered the two main types of ciphers, let me introduce you to the gold-standard symmetric encryption known as <strong>AES</strong>.</p><h4>Brief AES Introduction</h4><p>The industry standard <strong>symmetric</strong> encryption algorithm is known as <strong>AES</strong>. It operates in 128-bit, 192-bit, and 256-bit <strong>key lengths</strong>.</p><p>AES itself is known as a <strong>block cipher</strong>.</p><p>It works by processing and scrambling data in fixed blocks of 128 bits at a time. Whenever you see the number next to AES, that’s the <em>key length</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TcujxNxxDoduDQHxpyf3HA.png" /></figure><p>AES-256 for example has <em>2²⁵⁶ possible combinations</em>. This renders brute forcing essentially useless.</p><p>It also uses many techniques such as row shifting and matrix mixing, but you don’t have to worry about that for now.</p><p>I’m throwing these terms out there so you know they exist and if you’re ever curious to dive into AES more, you have some terms to go off of.</p><p>I’ll most likely make an AES specific blog down the line. Once I cover more cryptography fundamentals, we can talk much more about AES, ECC, RSA, Diffie-Hellman, and all kinds of interesting algorithms.</p><p>For now though, let’s wrap this up with <em>why</em> we use symmetric encryption specifically.</p><h4>Why do we use Symmetric Encryption?</h4><p>Because it is fast.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*0-JGylCUN1wC6pat.jpg" /></figure><p>Yes, kachow.</p><p>Symmetric encryption is very fast. Asymmetric is slow. But we will get into that in the next blog.</p><p>The point of symmetric encryption is to be able to encrypt the data that actually flows between 2 parties.</p><p>Here is an example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*_FcXaAwAllq2KreN.jpg" /></figure><p>Let’s say Michael is talking to Jermaine about choosing to stay with Motown versus moving to Epic Records.</p><p>Michael may not want Randy or Janet to overhear the conversation. Here is the challenge though, they speak in English.</p><p>However, what if they are able to speak in a way where even if Latoya or Marlon decide to <em>snoop in on the </em><strong><em>ongoing</em></strong><em> interaction</em>, they can’t actually make sense of the words?</p><p>Michael and Jermaine may move to a quiet room, but if their words are plaintext, then their conversation is only as secure as the room is.</p><p>And that is really BAD (shamone) if they were <em>over the phone, texting, using snapchat</em>, or if they had a better ticketing system back when they were dealing with the Victory Tour.</p><p>The two decide that: hey, we should use a <strong>shared key</strong> to keep our conversations between us, and every single syllable as it’s being delivered is <strong>combined</strong> with the key to scramble it into ciphertext.</p><p>Now, they can both use the same key to scramble and unscramble the conversation as it is taking place.</p><p>By the way in this specific situation they’re using a <em>stream cipher</em>.</p><p>On a more technical level, we symmetric encryption to secure <strong>data in transit</strong>, <strong>data at rest</strong>, and <strong>database encryption</strong>.</p><p>This includes encrypting hard drives, files stored in the cloud, HTTPS traffic flowing to/from applications, and conversations over WhatsApp.</p><p>Remember how we talked about the 2 modes of symmetric encryption?</p><p><em>They also have different use cases.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O0qMs42GqPaye17fmmh5nw.png" /></figure><p>In terms of <strong>stream</strong> and <strong>block</strong> ciphers specifically, you use:</p><ul><li>Stream — For realtime use cases. <strong>Continuous data.</strong> Video calls like Zoom can’t afford lag so we prefer to encrypt the information <strong>one bit/byte at a time</strong>.</li><li>Block — For <strong>bulk security</strong>. This includes file encryption, hard drives, database backups, etc. Since the data doesn’t move rapidly all the time, we can <strong>package it</strong> into blocks, scramble it, and store it safely.</li></ul><p>Now that we got those out of the way, I’ll wrap this up with some key takeaways and then we are good to go. :)</p><h4>Key Takeaways</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*SDMRVN_vw-K5_BRI" /></figure><p>See how there is only one key? Yup. :)</p><p>Here are a few things to remember before we go:</p><ul><li>2 modes: stream and block cipher</li><li>Stream: real-time, continuous, and the faster of the two, used for bit-by-bit processing</li><li>Block: chunks, one chunk at a time, slightly slower, used for bulk processing</li><li>AES is the industry gold standard algorithm used by governments and enterprise security, and many high-level security operations</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*dePDktABgoE4knzA.jpg" /></figure><p>Now that we covered those, here is a photo of a frog. 🐸</p><p>I’ll see you all later. Next part of the series will be covering Asymmetric Encryption.</p><p>So stay tuned for more.<br>- aryan :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=678038ebbbee" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/deciphering-cryptography-part-2-symmetric-encryption-678038ebbbee">Deciphering Cryptography — Symmetric Encryption</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Networking 101: How to make a VPC within AWS]]></title>
            <link>https://meetcyber.net/cloud-networking-101-how-to-make-a-vpc-within-aws-6a3ff4607f03?source=rss-aa1c3de4777c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a3ff4607f03</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws-vpc]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Aryan Vij]]></dc:creator>
            <pubDate>Tue, 16 Jun 2026 14:01:15 GMT</pubDate>
            <atom:updated>2026-06-16T14:01:15.579Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome back everyone! Aryan here.</p><p>I hope you all are having a wonderful day, evening, night….depending on your timezone. :)<br>In the last blog we covered the fundamentals of Virtual Private Clouds.</p><p>I broke down the differences between traditional networking and VPCs, subnets, route tables, Internet Gateways, and NAT Gateways.</p><p><a href="https://medium.com/@aryan.vij/cloud-networking-101-what-is-a-vpc-c1544121acf7">Cloud Networking 101: What is a VPC?</a></p><p>If some of those terms sound unfamiliar, I highly recommend you read this blog first. All these blogs are a part of my <strong>Cloud Networking 101</strong> series.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/0*AduaKT9N-kt1pcAV.jpg" /></figure><p>Last time I covered the <strong>what</strong>, this time I’ll be demonstrating the <strong>how</strong>. Usually my blogs would be a bit more analogy based with breakdowns.</p><p>This will have some of those, but there will be a lot more clean and concise steps because it’s a step-by-step tutorial, and it builds on knowledge covered in previous articles.</p><h4>Step 1: Create the VPC</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*FqOhwVN_NVXe6j4bERQDgQ.png" /></figure><p>The first thing you will do is navigate to ‘VPC’ within AWS. You can do it within the search bar.</p><p>Then select <strong>Create VPC</strong>.</p><p>I gave it the name ‘<em>VPC-Blog-Demo</em>’</p><p>Assign it an <strong>IPv4 CIDR</strong> block. This is the total number of IP addresses allotted to your VPC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BXbqJ7UQOZWx8fvZZUF_6w.png" /></figure><p>Once you create your VPC, it’ll look like this.</p><p>Now, it exists.</p><p>Great job guys, we can…stop there?</p><p>No :)</p><p>Why? Because we need to allow traffic to go into it, send traffic out from it, and do it in a way that keeps us secure and isolated from the rest of the public AWS infrastructure.</p><p>These next steps are all about 3 things</p><ul><li>secure segmentation of public vs private portions of your network</li><li>specific gateways in and out</li><li>hosting infrastructure within the VPC such as EC2 instances (AWS specific Virtual Machines)</li></ul><h4>Step 2: Public and Private Subnets</h4><p><strong>Quick Overview:</strong></p><ul><li>Public subnet → hosts internet-facing resources</li><li>Private subnet → hosts internal resources</li><li>IGW → allows internet connectivity</li><li>NAT → allows private resources outbound internet access</li><li>Route table → tells packets where to go</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/0*VeCTj6bSB-ax6HUC.png" /></figure><p>Let’s get into subnet creation. 😁</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lab7SDEhUgE4B-GbkOSmNw.png" /></figure><p>First, the public subnet.</p><p>You navigate to <strong>subnets </strong>and then<strong> </strong>you click <strong>Create subnet</strong>.</p><p>You then give it a name, *<em>availability zone</em>, choose the <strong>VPC’s</strong> IPv4 block, and then give the subnet a specific <strong>IPv4 block within</strong> the VPC.</p><ul><li>An availability zone is an isolated physical location designed to house AWS data. I selected <strong>us-east-1a</strong>, which is one of the Availability Zones within the US East (N. Virginia) region.</li></ul><p>By the way, you choose an IPv4 <strong>subnet </strong>range within the VPC’s CIDR block the same way you take a slice of pizza from a larger pie.</p><p>/24 is a smaller pool of IP addresses within a larger /20 pool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EIutaqWR1Axx36nMqP7jLA.png" /></figure><p>Now, the <strong>private </strong>subnet. This is going to house infrastructure that we want to keep safe. People on the internet will not be able to access this.</p><ul><li>In an organization, this can be all your employee credentials, medical records, trade secrets, R&amp;D related data, you name it.</li></ul><p>With this one I gave it 10.0.1.0/24 because 10.0.0.0/24 is being used by our public subnet. So this is one subnet over in terms of IP addressing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*pkWKyOqzaDlmrnwD.png" /></figure><h4>Step 3: Build the Doors — NAT Gateway + Internet Gateway</h4><p>Now you may ask, Aryan, how does the VPC talk to the internet? And how does the private subnet especially communicate externally while staying secure?</p><p>Great questions.</p><p>Let me explain.</p><p>Instances in the private subnet send traffic → to the NAT Gateway.</p><p>The NAT Gateway uses its public IP and Internet Gateway to communicate with the internet on behalf of those private instances.</p><p>By the way, the NAT gateway must be deployed in the public subnet and assigned an <strong>elastic IP</strong> address so it can communicate with the internet.</p><p>Elastic IPs simply are IP addresses that stay even when the device gets shut down. If you don’t have one, then everytime you start up your instance or device again, a new IP is assigned.</p><p>Here is a breakdown of the flow itself:</p><ul><li>private subnet →</li><li>translate private IP to NAT gateway’s <strong>public IP</strong> →</li><li>public subnet → internet gateway</li><li>internet gateway → internet</li><li><em>(now on the way back)</em></li><li>internet → internet gateway (reentering the VPC’s public subnet)</li><li>internet gateway → <strong>public</strong> subnet</li><li>public subnet → NAT gateway (translate public address back to <strong>private address</strong>)</li><li>NAT gateway routes traffic to the <strong>specific private IP address</strong> within the <em>private subnet</em></li></ul><p>So, lets make it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z9Ln1GGn4gNr9VzwxeKxYQ.png" /></figure><ul><li>Create NAT Gateway</li><li>Name</li><li>Select your VPC</li><li>Create</li></ul><p>Now it exists. 😅</p><p>Now, for the <strong>Internet Gateway</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bh8kBA_Ab-KYGdwkXUmq5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cV0DzPmoSvePFH_fNWhvYA.png" /></figure><p>Same steps, you give it a name, assign it to the VPC, and create it.</p><p>Now you have the VPC itself, the public and private subnets, the NAT gateway, and the IGW all created. Now we need to create the <strong>lanes</strong> to drive traffic between these components.</p><p>This is where we handle <strong>routing</strong>. How do I get something from here to there? 🤔</p><p>We use route tables.</p><h4>Step 4: Routing — Tables + Routes</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-JDJEMcQh7xbMzTztYl_iA.png" /></figure><p>Same fundamentals, you give it a name, VPC assignment and hit create.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8P-x_IqQGtbFjp1anj6SaQ.png" /></figure><p>You’re going to create a <strong>public</strong> route table and a <strong>private</strong> route table.</p><p>In AWS, you must <strong>explicitly associate</strong> your subnets to the route tables because otherwise the route tables will bind to the <em>VPC’s Main Route Table</em> by default.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YarmWoHH1rdWSB_Bdohv8w.png" /></figure><p>The public route table, as displayed in the <strong>Routes</strong> below is going to allow traffic from anywhere <em>0.0.0.0/0</em> to be routed to your <strong>public subnet</strong> via the <strong>Internet Gateway.</strong></p><p>You set the IGW as your <em>target</em>.</p><p>For the private route table, you point all outbound traffic to the <strong>NAT gateway</strong>.</p><p>Once your routes are setup, your traffic can flow between your gateways and subnets. Now that we have the infrastructure set up, we deploy an EC2 instance to verify that it works.</p><h4>🛑 Wait! A Quick Security Check</h4><p>Before we do launch our EC2 instance (virtual machine), we need to discuss firewalls within AWS.</p><p>There are 2 types: Security Groups and Network Access Control Lists (NACLs).</p><p>What is the difference?<br>Security Groups are implemented at the <strong>instance</strong> level and NACLs are implemented at the <strong>subnet </strong>level.</p><p>I will give a much more thorough explanation in a future blog and how you use both in tandem to keep your VPC secure, but at the moment, we are going to create a <strong>Security Group</strong> specifically for the EC2 instance we will deploy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*keQwf_Vg7Bq8Da0jtJWH7w.png" /></figure><p>You first go to VPC, and select security groups.</p><p>You then click <strong>Create security group</strong>.</p><p>As usual, you give it a name. I called mine <strong>vpc-demo-sec-group</strong>.</p><p>You also need to associate your security group with the VPC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*4NWZmmzeU6nyPIgwe4Vljg.png" /></figure><p>Like this. Then you set your <strong>rules</strong>.</p><p>Set one <strong>inbound</strong> rule for port 22 — SSH, and one for port 80 — HTTP.</p><p>For SSH, set your source type to <strong>My IP</strong>. AWS will autofill your public IP address in to ensure only you can remotely connect to the instance.</p><p>For HTTP, I set it to everyone to allow anyone to access any web server I setup on there. You do that by setting the source type to <strong>Anywhere-IPv4</strong>.</p><p>Now you can see the rules below. Why? Because it tells AWS <em>which private network</em> the firewall applies to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4IK2Q7CSOHkl6U5X0cGghw.png" /></figure><p>If I want to deploy an NGinx webpage of sorts, anyone can do <em>http://&lt;EC2-IP&gt;</em> and connect to it via the internet.</p><p>Now that we have the instance rules created via the SG, we are going to create the actual instance and verify connectivity for our final steps.</p><h4>Step 5: Create an EC2 Instance</h4><p>Before we make the instance, there is one thing I want to mention.</p><p>Every single EC2 instance is given an ENI (Elastic Network Interface). This is your virtual <strong>NIC</strong>. It is essentially your instance’s badge to connect to a VPC.</p><p>It’s a logical entity and it consists of an IPv4 address, a virtual MAC address, and more.</p><p>I’ll go into ENIs more in a future blog and some of the different use cases of them.</p><p>So, let’s make the instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HOrOiW-aTr3KSLKADcxX3w.png" /></figure><p>You first navigate to <strong>EC2</strong>.</p><p>You then select <strong>Launch an instance</strong> under instances.</p><p>You then give it a name, I called mine ec2-vpc-demo, and you select an <strong>AMI</strong>.</p><p>AMIs are Amazon’s catalog of virtual machines that you can select from.</p><p>If you want macOS, Windows, you name it, you select it here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*ybp0-7WD5jQSIvIJ_nfKOg.png" /></figure><p>You then select your <strong>instance type</strong>. That’s something I’ll cover in a future blog too but the differences are around memory, pricing, and generally how much processing you want your instance to have.</p><p>If you look above you’ll see <strong>t3.small</strong> have 2 GiB of memory whereas <strong>t3.large</strong> has 8 GiB.</p><p>You then select a key-pair to be able to securely connect to your instance.</p><p>Now, you do your <strong>Network settings.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*df6soRYBC0MxAB-N18b9iw.png" /></figure><p>You first associate the EC2 instance with the VPC you created.</p><p>You then specify the <strong>private</strong> subnet as the place the instance will exist.</p><p>Under security groups, select the one you just created.</p><p>Under advanced network configuration I like to set <strong>Auto-assign public IP </strong>to <strong>enable</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*WjxWhkxa1yE4eb61HHZZKw.png" /></figure><p>I also like to set <strong>Delete on termination</strong> to yes that way the ENI is also deleted alongside the EC2 instance.</p><p>You don’t have to worry about the other advanced network configurations. You can, but generally once you have the main network settings specified you’re good to go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*Gp1q2ltofeJAko3LBvP0gw.png" /></figure><p>Under <strong>Configure storage</strong> I set it to 8 GiB and the file system type to <strong>None</strong>. I’ll talk about the various file systems within AWS in a future blog as well and why you’d choose one over another.</p><p>You then hit <strong>launch instance</strong> and you’re good to go. You can create more than one instance if you want but I made one for now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*b_nCdE8T0oawnwkfn3ZfmA.png" /></figure><p>Then you create your <strong>key-pair</strong>. Secure your key in a private place because you’ll need it to connect to your instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4idoWbiGU3IUBtr7rZ5DEw.png" /></figure><p>And now it is made! We created our instance, and the final step is to connect to it. :)</p><p>We’re almost there guys. If you stuck around this long, well done.</p><h4>Step 6: Testing EC2 Connectivity</h4><p>Once you launch the instance, open up your terminal on your local device.</p><p>You then connect using SSH with the following syntax:</p><pre>ssh -i &quot;mykey.pem&quot; ec2-user@&lt;public_ip&gt;</pre><p>mykey.pem is the key you created earlier when defining the instance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dgiEmIsIZEX1ZIwtkoyj-g.png" /></figure><p>So um….it didn’t work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iO0Tbrkv_u2Tc2oZKVfDSA.png" /></figure><p>But why do I show you this? Because I’m going to fix it and make it work. :)</p><p>And this is a big part of tech and anything you do….it’s not always going to work. And that’s okay. So time to troubleshoot this and I’ll show you guys what the error was.</p><p>In the mean time, here is a photo of food. If it makes you hungry, that’s a sign to eat. We will resume soon. :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/0*13x3h5FujIL3xh1H.jpg" /></figure><h4>Step 7: Troubleshooting Connectivity</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1RGnGYdhTWmaeI0H" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f0qHhCEIDJVMxAJi" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*smJTYRwPPFJ4LOqR" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TqzPtmvpXTB-u0Ol" /></figure><h4>Step 8: Successful Connection Established</h4><p>🟢 I figured it out!</p><p>The issue was within the <strong>security group.</strong></p><p>My IP address had changed so the IPv4 assigned under <strong>My IPv4 address </strong>went stale, causing the connection to drop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rw9f6Om2jpqnU4BFmHU-Mw.png" /></figure><p>So here we are with a successful SSH connection into the EC2 instance. We did it. If you made it this far, well done.</p><p>Seriously well done.</p><h4><strong>Key Takeaways</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*1h3vf7s-4bflcfHO" /></figure><p>Now that we are done, I want to list a few key take aways as you build this:</p><ol><li>It is not meant to be easy. There is a learning curve, and you will break things along the way.</li><li>If something doesn’t work, trace your steps as you troubleshoot. You’ll know what you looked at and you can save the steps for future use cases.</li><li>You can build this in steps. It doesn’t have to all be done at once. I built it over 3 different sessions.</li></ol><p>And most importantly, attempting to do it is nothing to be afraid of. Trying will always make you better.</p><p>So just try. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a3ff4607f03" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/cloud-networking-101-how-to-make-a-vpc-within-aws-6a3ff4607f03">Cloud Networking 101: How to make a VPC within AWS</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>