<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohammad Waseem Akhtar</title>
    <description>The latest articles on DEV Community by Mohammad Waseem Akhtar (@waseemakhtar).</description>
    <link>https://dev.to/waseemakhtar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F168231%2F0b9bdf66-389b-4014-badd-cb99602ee2d1.jpeg</url>
      <title>DEV Community: Mohammad Waseem Akhtar</title>
      <link>https://dev.to/waseemakhtar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/waseemakhtar"/>
    <language>en</language>
    <item>
      <title>How to find my public IP?</title>
      <dc:creator>Mohammad Waseem Akhtar</dc:creator>
      <pubDate>Thu, 18 Mar 2021 05:19:49 +0000</pubDate>
      <link>https://dev.to/waseemakhtar/how-to-find-my-public-ip-3fo9</link>
      <guid>https://dev.to/waseemakhtar/how-to-find-my-public-ip-3fo9</guid>
      <description>&lt;p&gt;Hello all, This is my first post. &lt;/p&gt;

&lt;p&gt;At times in order to gain access(say SSH) to the AWS EC2 instance, I need to specify a proper rule in the AWS SG(Security group) attached to the AWS account. This rule can't be wide open to all and hence need to be specific because of the IT security policies at my company. &lt;/p&gt;

&lt;p&gt;For which I am interested to know my public IP, which is the IP address assigned by my internet service provider to that interface which is public facing in my router. &lt;/p&gt;

&lt;p&gt;One of the easiest way to know that is to open the terminal and execute &lt;code&gt;curl ipinfo.io&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;~ » curl ipinfo.io                                                                                                                                                                                                                  wmohamma@PEM-WMOHAMMA-01
{
  "ip": "28.34.157.23",
  "hostname": "c-24-4-158-230.hsd1.cy.xyz.net",
  "city": "Los Angeles",
  "region": "California",
  "country": "US",
  "loc": "381.3396,-162.011",
  "org": "AS1351 xyz",
  "postal": "96742",
  "timezone": "America/Los_Angeles",
  "readme": "https://ipinfo.io/missingauth"
}% 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Peace !!&lt;/p&gt;

</description>
      <category>ipaddress</category>
    </item>
  </channel>
</rss>
