<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Networking on Amit Agarwal Linux Blog</title>
    <link>/tags/networking/</link>
    <description>Recent content in Networking on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sat, 31 Jan 2026 00:00:00 +0530</lastBuildDate>
    
	<atom:link href="/tags/networking/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>nmap_cheatsheet.md</title>
      <link>/2026/01/31/2026-01-31-nmap_cheatsheet.md</link>
      <pubDate>Sat, 31 Jan 2026 00:00:00 +0530</pubDate>
      
      <guid>/2026/01/31/2026-01-31-nmap_cheatsheet.md</guid>
      <description>&lt;p&gt;I used zapgpt to create a nmap cheat sheet that you too can follow. Just follow
the following steps:&lt;/p&gt;
&lt;p&gt;Fist save the output of nmap help command to a file. You can also try with nmap
man page but that is too huge :(&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;nmap -h &amp;gt; /tmp/nmap.txt
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Now you have the nmap help output, you can use zapgpt to create the cheatsheet :&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;zapgpt -p openrouter -m moonshotai/kimi-k2.5 -f /tmp/nmap.txt &lt;span class=&#34;s2&#34;&gt;&amp;#34;Create a 2 page cheatsheet (nicely formatted) for this content. I want you to provide the output in dvi and tell me how to convert that to pdf?&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;This will provide you with a text file and how to convert the text to pdf file.
I had to use the following commands for converting the tex file to pdf.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Anonymous AI Chat with different models</title>
      <link>/2024/12/31/2024-12-31-Anonymous_AI_Chat_with_different_models/</link>
      <pubDate>Tue, 31 Dec 2024 00:00:00 +0530</pubDate>
      
      <guid>/2024/12/31/2024-12-31-Anonymous_AI_Chat_with_different_models/</guid>
      <description>&lt;p&gt;If you ever wished that you did not have to login or could use AI chat with
anonymity, then you are in luck and right place, read on.&lt;/p&gt;
&lt;p&gt;Head over to &lt;a href=&#34;https://duckduckgo.com&#34;&gt;DuckDuckGo search&lt;/a&gt;. Click on the
Hamburger menu in the right hand top side. In the drop down, select
&lt;em&gt;AI Chat&lt;/em&gt;, you will see it somewhere in middle of the menu.&lt;/p&gt;
&lt;p&gt;Now, you can click &amp;ldquo;Get Started&amp;rdquo; (after reading the information on the page).&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Short url to full url</title>
      <link>/2024/06/17/2024-06-19-short-url-to-full-url/</link>
      <pubDate>Wed, 19 Jun 2024 00:00:00 +0530</pubDate>
      
      <guid>/2024/06/17/2024-06-19-short-url-to-full-url/</guid>
      <description>&lt;p&gt;Most of the Social sites will shorten the links. There are a lot of ways to check the url before you go to the url and get phished :)&lt;/p&gt;
&lt;p&gt;For example, for &lt;strong&gt;bitly&lt;/strong&gt; you can just add a &amp;lsquo;+&amp;rsquo; at the end of the url. For example, you can enter the following in url bar &lt;code&gt;https://bit.ly/2KEOXNx+&lt;/code&gt; and see the details of the where the url takes you. This is just a  example url that I got from google but you get the idea.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Run X11 applications on docker or podman</title>
      <link>/2024/03/30/2024-03-30-x11docker/</link>
      <pubDate>Fri, 29 Mar 2024 00:00:00 +0530</pubDate>
      
      <guid>/2024/03/30/2024-03-30-x11docker/</guid>
      <description>&lt;p&gt;Found &lt;a href=&#34;https://github.com/mviereck/x11docker&#34;&gt;x11docker&lt;/a&gt; project in github. This is
a very nice project if you are trying to run GUI applications in dockers. It takes the
hassle out and helps you run the GUI applications very easily in docker.&lt;/p&gt;
&lt;p&gt;Whats more, if you are on Fedora, you are in luck. You can install this tool with&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo dnf install x11docker
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;and if you are not on Fedora, then head over to their github.
Some other distributions also have it packaged but otherwise also it
is very simple to install.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Show Local IP</title>
      <link>/2023/12/24/2023-12-24-show-local-ip/</link>
      <pubDate>Sat, 23 Dec 2023 00:00:00 +0530</pubDate>
      
      <guid>/2023/12/24/2023-12-24-show-local-ip/</guid>
      <description>&lt;h1 id=&#34;show-local-ip&#34;&gt;Show local IP&lt;/h1&gt;
&lt;p&gt;You can see the local IP of the machine with the command - &lt;code&gt;ip a&lt;/code&gt;. However if you have to use the address in
some variable in a scrit. It becomes little tricky, something like&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Show the interfaces in one line with &amp;lsquo;-o&amp;rsquo;&lt;/li&gt;
&lt;li&gt;Show only IPv4 address&amp;rsquo;s with &amp;lsquo;-4&amp;rsquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;and the command looks like&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ip -4 -o a show dev eth0&lt;span class=&#34;p&#34;&gt;|&lt;/span&gt;awk &lt;span class=&#34;s1&#34;&gt;&amp;#39;{gsub(/\/.*/,&amp;#34;&amp;#34;,$4);print $4}&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Replace &lt;em&gt;eth0&lt;/em&gt; with then correct interface name.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Openvpn files to nmcli connection</title>
      <link>/2022/11/12/2022-11-12-openvpn-to-nmcli/</link>
      <pubDate>Sat, 12 Nov 2022 00:00:00 +0530</pubDate>
      
      <guid>/2022/11/12/2022-11-12-openvpn-to-nmcli/</guid>
      <description>&lt;h1 id=&#34;openvpn-files-to-nmcli-connection&#34;&gt;Openvpn files to nmcli connection&lt;/h1&gt;
&lt;p&gt;Many times you get openvpn file and when you want to connect to the VPN server, you have to
start the vpn client from the cli. How you wish that this was added to NetworkManager so that you could
connect to it with one click. If this is the case, then you can use these commands to do the
same ane enjoy :)&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;nmcli connection import &lt;span class=&#34;nb&#34;&gt;type&lt;/span&gt; openvpn file test.ovpn
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;nmcli connection modify &lt;span class=&#34;nb&#34;&gt;test&lt;/span&gt; vpn.secrets &lt;span class=&#34;s1&#34;&gt;&amp;#39;password=mypass&amp;#39;&lt;/span&gt; vpn.user-name &lt;span class=&#34;s1&#34;&gt;&amp;#39;username&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You will need to modify few things in above command&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Fedora – dnsmasq with NetworkManager</title>
      <link>/2019/04/29/fedora-dnsmasq-with-networkmanager/</link>
      <pubDate>Mon, 29 Apr 2019 00:59:03 +0000</pubDate>
      
      <guid>/2019/04/29/fedora-dnsmasq-with-networkmanager/</guid>
      <description>&lt;p&gt;I have been thinking of writing about this for long time but someone else did and it is nice write-up so here is the link – &lt;a href=&#34;https://fedoramagazine.org/using-the-networkmanagers-dnsmasq-plugin/&#34;&gt;https://fedoramagazine.org/using-the-networkmanagers-dnsmasq-plugin/&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Install a fully functional terminal server capable of accepting connections from RDP(Windows).</title>
      <link>/2010/12/12/install-a-fully-functional-terminal-server-capable-of-accepting-connections-from-rdpwindows/</link>
      <pubDate>Sun, 12 Dec 2010 03:28:43 +0000</pubDate>
      
      <guid>/2010/12/12/install-a-fully-functional-terminal-server-capable-of-accepting-connections-from-rdpwindows/</guid>
      <description>&lt;div class=&#34;zemanta-img&#34; style=&#34;margin: 1em; display: block;&#34;&gt;
  &lt;div&gt;
    &lt;dl class=&#34;wp-caption alignright&#34; style=&#34;width: 250px;&#34;&gt;
      &lt;dt class=&#34;wp-caption-dt&#34;&gt;
        &lt;a href=&#34;http://www.flickr.com/photos/82365211@N00/2473197800&#34;&gt;&lt;img title=&#34;Seats rebooting Linux&#34; src=&#34;https://i2.wp.com/farm3.static.flickr.com/2080/2473197800_b8838615a6_m.jpg?resize=240%2C180&#34; alt=&#34;Seats rebooting Linux&#34; width=&#34;240&#34; height=&#34;180&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
      &lt;/dt&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;dd class=&amp;quot;wp-caption-dd zemanta-img-attribution&amp;quot; style=&amp;quot;font-size: 0.8em;&amp;quot;&amp;gt;
    Image by &amp;lt;a href=&amp;quot;http://www.flickr.com/photos/82365211@N00/2473197800&amp;quot;&amp;gt;kalleboo&amp;lt;/a&amp;gt; via Flickr
  &amp;lt;/dd&amp;gt;
&amp;lt;/dl&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Inoformation on &lt;a class=&#34;zem_slink&#34; title=&#34;Xrdp&#34; rel=&#34;homepage&#34; href=&#34;http://xrdp.sourceforge.net/&#34;&gt;xrdp&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The goal of this project is to provide a fully functional &lt;a class=&#34;zem_slink&#34; title=&#34;Linux console&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Linux_console&#34;&gt;Linux terminal&lt;/a&gt; server, capable of accepting connections from &lt;a class=&#34;zem_slink&#34; title=&#34;Rdesktop&#34; rel=&#34;homepage&#34; href=&#34;http://www.rdesktop.org/&#34;&gt;rdesktop&lt;/a&gt; and &lt;a class=&#34;zem_slink&#34; title=&#34;Microsoft&#34; rel=&#34;geolocation&#34; href=&#34;http://maps.google.com/maps?ll=47.6395972222,-122.12845&amp;spn=1.0,1.0&amp;q=47.6395972222,-122.12845%20%28Microsoft%29&amp;t=h&#34;&gt;Microsoft’s&lt;/a&gt; own &lt;a class=&#34;zem_slink&#34; title=&#34;Terminal server&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Terminal_server&#34;&gt;terminal server&lt;/a&gt; / &lt;a class=&#34;zem_slink&#34; title=&#34;Remote Desktop Protocol&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Remote_Desktop_Protocol&#34;&gt;remote desktop&lt;/a&gt; clients.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;sudo yum install xrdp
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;There is not much configuration needed for this so I will not go into details. If you are stuck with something though, you can ask in the comments for the post.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Putting Linux on Parental Control</title>
      <link>/2010/03/16/putting-linux-on-parental-control/</link>
      <pubDate>Tue, 16 Mar 2010 02:25:45 +0000</pubDate>
      
      <guid>/2010/03/16/putting-linux-on-parental-control/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/category/linux/&amp;quot;&amp;gt;Bookmark this category&lt;/a&gt;&lt;br&gt;
Putting Linux on Parental Control&lt;br&gt;
Over the years I?ve witnessed desktop Linux distros evolve&lt;br&gt;
dramatically ? change the very core of the way we look at how an&lt;br&gt;
operating system interacts with its users. However, I still find plenty&lt;br&gt;
of forum posts on the Web stating that Linux as a&lt;/p&gt;
&lt;p&gt;URL:&amp;lt;a href=&amp;quot; &lt;a href=&#34;http://c.moreover.com/click/here.pl?r2243375620&amp;amp;w=2390512&#34;&gt;http://c.moreover.com/click/here.pl?r2243375620&amp;amp;w=2390512&lt;/a&gt;&amp;quot;&amp;gt; &lt;a href=&#34;http://c.moreover.com/click/here.pl?r2243375620&amp;amp;w=2390512&#34;&gt;http://c.moreover.com/click/here.pl?r2243375620&amp;amp;w=2390512&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
