<?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>Unifi on ilar.in</title>
    <link>https://ilar.in/tags/unifi/</link>
    <description>Recent content in Unifi 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/tags/unifi/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>
  </channel>
</rss>
