<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Posts on ilar.in</title>
    <link>https://ilar.in/posts/</link>
    <description>Recent content in Posts on ilar.in</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 27 Aug 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://ilar.in/posts/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Dynamic DNS (dyndns) with Namecheap on Unifi Security Gateway Pro 4</title>
      <link>https://ilar.in/posts/dyndns-with-namecheap-on-unifi-usg/</link>
      <pubDate>Fri, 27 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://ilar.in/posts/dyndns-with-namecheap-on-unifi-usg/</guid>
      <description>&lt;p&gt;Home network users commonly deal with dynamic IP addresses that change unpredictably. This can be troublesome when using a VPN, as the IP can change at any time. Dynamic DNS solves this by running a daemon that updates DNS records whenever the IP address changes, creating the illusion of a static address.&lt;/p&gt;
&lt;h2 id=&#34;namecheap-configuration&#34;&gt;Namecheap Configuration&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Log in to your Namecheap account&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Manage&amp;rdquo; for your desired domain&lt;/li&gt;
&lt;li&gt;Navigate to Advanced DNS&lt;/li&gt;
&lt;li&gt;Activate the Dynamic DNS service and save the password&lt;/li&gt;
&lt;li&gt;Add an A+Dynamic DNS Record type&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;@&lt;/code&gt; for naked domains or specify a subdomain&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;127.0.0.1&lt;/code&gt; as the initial IP address (the daemon will replace this)&lt;/li&gt;
&lt;li&gt;Save changes&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;usg-controller-configuration&#34;&gt;USG Controller Configuration&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Log in to the USG controller&lt;/li&gt;
&lt;li&gt;Go to Settings &amp;gt; Services &amp;gt; Dynamic DNS&lt;/li&gt;
&lt;li&gt;Click &amp;ldquo;Create new dynamic DNS&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Enter these details:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;WAN Interface&lt;/strong&gt;: Select your active WAN interface&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Service&lt;/strong&gt;: Choose Namecheap&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hostname&lt;/strong&gt;: Use &lt;code&gt;@&lt;/code&gt; or your configured subdomain&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Username&lt;/strong&gt;: Your domain name&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Password&lt;/strong&gt;: The Dynamic DNS service password from Namecheap&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Server&lt;/strong&gt;: &lt;code&gt;dynamicdns.park-your-domain.com&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click Save&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;That&amp;rsquo;s it — the daemon will now keep your DNS record updated whenever your public IP changes.&lt;/p&gt;</description>
    </item>
    <item>
      <title>My Home Network Setup</title>
      <link>https://ilar.in/posts/my-home-network-setup/</link>
      <pubDate>Mon, 23 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://ilar.in/posts/my-home-network-setup/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;Server cables&#34; loading=&#34;lazy&#34; src=&#34;https://ilar.in/images/my-home-network-setup/server-cables.jpg&#34;&gt;&lt;/p&gt;
&lt;p&gt;Previously I had a Ubiquiti Edgerouter Lite, two managed Netgear switches and a &lt;a href=&#34;https://unifi-shd.ui.com/&#34;&gt;Unifi AP-SHD WiFi&lt;/a&gt;. When my Edgerouter Lite suddenly died and there was no warranty left, I thought I could redo my home network and learn something new while doing it. I had some principles I wanted to fulfil:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The setup needed to be robust&lt;/li&gt;
&lt;li&gt;The setup needed to offer great configurability&lt;/li&gt;
&lt;li&gt;I wanted the possibility to isolate different devices into different VLANs&lt;/li&gt;
&lt;li&gt;I wanted PoE capability&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For this task I chose the &lt;a href=&#34;https://unifi-network.ui.com/&#34;&gt;Unifi product family&lt;/a&gt; from &lt;a href=&#34;https://www.ui.com/&#34;&gt;Ubiquiti&lt;/a&gt; because they combine quality hardware with great configurability, and I had heard good things about them. I decided the Unifi AP-SHD WiFi was good enough to stay, but the rest I wanted to replace. I got the following gear:&lt;/p&gt;</description>
    </item>
    <item>
      <title>WireGuard with Unifi Security Gateway Pro 4</title>
      <link>https://ilar.in/posts/wireguard-with-unifi-usg/</link>
      <pubDate>Mon, 23 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://ilar.in/posts/wireguard-with-unifi-usg/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;WireGuard logo&#34; loading=&#34;lazy&#34; src=&#34;https://ilar.in/images/wireguard-with-unifi-usg/wireguard-1.svg&#34;&gt;&lt;/p&gt;
&lt;p&gt;As part of my home network I have setup VPN connectivity so that I can access my stuff also when I&amp;rsquo;m not at home. Unifi Security Gateway offers PPTP and L2TP VPN servers out of the box but there are better alternatives available like &lt;a href=&#34;https://www.wireguard.com/&#34;&gt;WireGuard&lt;/a&gt; and OpenVPN. As with everything I wanted to learn new stuff so I chose WireGuard for this task. &amp;ldquo;WireGuard is an extremely simple yet fast and modern VPN&amp;rdquo; that &amp;ldquo;aims to be as easy to configure and deploy as SSH.&amp;rdquo; A VPN connection is made simply by exchanging very simple public keys — exactly like exchanging SSH keys — and all the rest is transparently handled by WireGuard. Unfortunately the information on how to get WireGuard up &amp;amp; running and make the installation persistent after USG upgrades could not be found from one single place. This is why I decided to gather the data under this one post.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Two-factor Authentication: How to Do It in a Secure and Usable Way</title>
      <link>https://ilar.in/posts/two-factor-authentication-how-to-do-secure-usable-way/</link>
      <pubDate>Sun, 22 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://ilar.in/posts/two-factor-authentication-how-to-do-secure-usable-way/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;Two-factor authentication illustration&#34; loading=&#34;lazy&#34; src=&#34;https://ilar.in/images/two-factor-authentication-how-to-do-secure-usable-way/free-vector-online-identification-illustration.svg&#34;&gt;&lt;/p&gt;
&lt;p&gt;If you enable two-factor authentication on every service where it&amp;rsquo;s possible — and you use many of those services every day — you&amp;rsquo;ve probably felt the friction of manually entering 2FA codes. The usual process: open your authenticator app (Authy, Google Authenticator, etc.) on your phone, find the code, type it in. Do this several times a day and it becomes cumbersome. But there&amp;rsquo;s a better way.&lt;/p&gt;</description>
    </item>
    <item>
      <title>When Your Pet Gets Sick</title>
      <link>https://ilar.in/posts/when-your-pet-gets-sick/</link>
      <pubDate>Wed, 03 Jan 2018 00:00:00 +0000</pubDate>
      <guid>https://ilar.in/posts/when-your-pet-gets-sick/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;When your pet gets sick&#34; loading=&#34;lazy&#34; src=&#34;https://ilar.in/images/when-your-pet-gets-sick/pexels-photo-207962.jpeg&#34;&gt;&lt;/p&gt;
&lt;p&gt;Last few days have been really hard for us as our older cat Tuure has been ill. First we thought that he was just stressed as we were away for two days at the years end but when the problems with eating continued we had no chance but to take the cat to doctor. He got some fluids and some medicine that helps to eat but unfortunately that did not help as we had to take him back to the doctor today. Doctor investigated him again and the end result was that we had to leave him there for the night to be monitored and investigated more. Even though we&amp;rsquo;ve had our cats only few months it&amp;rsquo;s feels really awful and stressful when one is ill. Even the slightest feeling that we might lose Tuure feels so distressing. And all we can now do is to wait.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Sleep</title>
      <link>https://ilar.in/posts/sleep/</link>
      <pubDate>Tue, 02 Jan 2018 00:00:00 +0000</pubDate>
      <guid>https://ilar.in/posts/sleep/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;Sleep&#34; loading=&#34;lazy&#34; src=&#34;https://ilar.in/images/sleep/pexels-photo-279360.jpeg&#34;&gt;&lt;/p&gt;
&lt;p&gt;One might say that a proper night&amp;rsquo;s sleep is only valued when you have missed one. For me it&amp;rsquo;s always the night before the first workday after a vacation that I sleep really poorly. And last night was no exception. There are many things that affect how well you sleep and everyone should be aware of these &lt;a href=&#34;https://www.helpguide.org/articles/sleep/getting-better-sleep.htm&#34;&gt;things&lt;/a&gt;. In the end sleep is the only way to charge your batteries in the long run :)&lt;/p&gt;</description>
    </item>
    <item>
      <title>My New Year&#39;s Resolutions</title>
      <link>https://ilar.in/posts/my-new-years-resolutions/</link>
      <pubDate>Mon, 01 Jan 2018 00:00:00 +0000</pubDate>
      <guid>https://ilar.in/posts/my-new-years-resolutions/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;My New Year&amp;rsquo;s Resolutions&#34; loading=&#34;lazy&#34; src=&#34;https://ilar.in/images/my-new-years-resolutions/pexels-photo-285173.jpeg&#34;&gt;&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s time to revive my blog by doing some new year&amp;rsquo;s resolutions. Last half of the 2017 was really busy. Getting up to speed with my new job, helping my parents with their housing things and getting two new lovely cats to our family has kept me really busy. I&amp;rsquo;ve at least partially neglected my overall well-being and I want to fix that so here are my new year&amp;rsquo;s resolutions for 2018:&lt;/p&gt;</description>
    </item>
    <item>
      <title>IPv6: Not So Ready Yet</title>
      <link>https://ilar.in/posts/ipv6-not-so-ready-yet/</link>
      <pubDate>Mon, 17 Apr 2017 00:00:00 +0000</pubDate>
      <guid>https://ilar.in/posts/ipv6-not-so-ready-yet/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;ARIN IPv4 Free Pool Depletion&#34; loading=&#34;lazy&#34; src=&#34;https://ilar.in/images/ipv6-not-so-ready-yet/ARIN-IPv4-Free-Pool-Depletion.png&#34;&gt;&lt;/p&gt;
&lt;p&gt;Once I got my home network setup with separated VLAN&amp;rsquo;s I started thinking what next? IPv6 of course!&lt;/p&gt;
&lt;p&gt;As SixXS had just recently announced sunsetting SixXS (really interesting read btw!) I thought it would be worthwhile to check the IPv6 status of my ISP as it was so long time ago when I setup my first IPv6 tunnel.&lt;/p&gt;
&lt;p&gt;They surely had the setups already up and running as the need for IPv6 was clear! But for my surprise both of the major ISP&amp;rsquo;s here in Finland, Elisa and Telia, were still not offering IPv6 to all of their customers.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Upgrading Firmware for Netgear GS105Ev2 Switch on Mac OS</title>
      <link>https://ilar.in/posts/upgrading-firmware-for-netgear-gs105ev2-switch-on-mac-os/</link>
      <pubDate>Sat, 08 Apr 2017 00:00:00 +0000</pubDate>
      <guid>https://ilar.in/posts/upgrading-firmware-for-netgear-gs105ev2-switch-on-mac-os/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;Network cables&#34; loading=&#34;lazy&#34; src=&#34;https://ilar.in/images/upgrading-firmware-for-netgear-gs105ev2-switch-on-mac-os/network-cable-ethernet-computer-159304.jpeg&#34;&gt;&lt;/p&gt;
&lt;p&gt;I recently got a Netgear GS105Ev2 and GS108Ev3 managed switch and wanted to update their firmware. The GS108Ev3 updated easily through its web interface, but the GS105Ev2 required a different approach using TFTP. Here&amp;rsquo;s how to do it on Mac OS.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download the latest firmware from the Netgear support site&lt;/li&gt;
&lt;li&gt;Extract the downloaded .zip file&lt;/li&gt;
&lt;li&gt;Download the &lt;a href=&#34;https://www.mactftpclient.com/&#34;&gt;MacTFTP Client&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Connect your Mac and the GS105Ev2 switch directly to each other with a wired connection&lt;/li&gt;
&lt;li&gt;Remove all other network cables from the GS105Ev2 switch&lt;/li&gt;
&lt;li&gt;Power off and power on the GS105Ev2 switch&lt;/li&gt;
&lt;li&gt;Configure your Mac to use a static IP address of &lt;code&gt;192.168.0.1&lt;/code&gt; with netmask &lt;code&gt;255.255.255.0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Connect to the GS105Ev2 switch via web browser at &lt;code&gt;http://192.168.0.239&lt;/code&gt; with password &lt;code&gt;password&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Head to Maintenance → Firmware Upgrade and press &amp;ldquo;Enter Loader mode&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Change the URL manually to &lt;code&gt;http://192.168.0.239/index.htm&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Fire up the MacTFTP Client downloaded earlier&lt;/li&gt;
&lt;li&gt;Select &amp;ldquo;Send&amp;rdquo;, use &lt;code&gt;192.168.0.239&lt;/code&gt; as the address and &lt;code&gt;password&lt;/code&gt; as the password&lt;/li&gt;
&lt;li&gt;Select the firmware file using the &amp;ldquo;File&amp;hellip;&amp;rdquo; button and click &amp;ldquo;Start&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Wait for a minute for the upload to complete, then for the switch to update and reboot&lt;/li&gt;
&lt;li&gt;Connect to &lt;code&gt;http://192.168.0.239&lt;/code&gt; — it will ask you to upload the &lt;code&gt;-VB.bin&lt;/code&gt; bootloader update file&lt;/li&gt;
&lt;/ol&gt;</description>
    </item>
    <item>
      <title>Critical Thinking Outside April 1st</title>
      <link>https://ilar.in/posts/critical-thinking-outside-april-1st/</link>
      <pubDate>Sat, 01 Apr 2017 00:00:00 +0000</pubDate>
      <guid>https://ilar.in/posts/critical-thinking-outside-april-1st/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;Critical thinking&#34; loading=&#34;lazy&#34; src=&#34;https://ilar.in/images/critical-thinking-outside-april-1st/lee-key-119856.jpg&#34;&gt;&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s funny how people were today really critical on what one said to them. Are you trying to fool me!?!? I myself did not try too fool anyone but was instead pondering things regarding critical thinking. How could we transfer the positive side of this criticality to our daily lives? Especially when reading something from the internet?&lt;/p&gt;</description>
    </item>
    <item>
      <title>Place for My Daily Thoughts</title>
      <link>https://ilar.in/posts/place-for-my-daily-thoughts/</link>
      <pubDate>Sat, 01 Apr 2017 00:00:00 +0000</pubDate>
      <guid>https://ilar.in/posts/place-for-my-daily-thoughts/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;Place for my daily thoughts&#34; loading=&#34;lazy&#34; src=&#34;https://ilar.in/images/place-for-my-daily-thoughts/luke-chesser-50.jpg&#34;&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve been thinking for some time already should I start writing my blog again. The idea got buried under some other things like changing my workplace but now seems to be the right moment to start again. Don&amp;rsquo;t know if anyone is actually reading these but here I come!&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
