<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>UFW on Solarized Sublime Sekai</title>
    <link>https://vincenttam.gitlab.io/tags/ufw/</link>
    <description>Recent content in UFW on Solarized Sublime Sekai</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 29 Jun 2018 07:03:26 +0200</lastBuildDate>
    <atom:link href="https://vincenttam.gitlab.io/tags/ufw/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Configure UFW for Hugo</title>
      <link>https://vincenttam.gitlab.io/post/2018-06-29-hugo-ufw/</link>
      <pubDate>Fri, 29 Jun 2018 06:36:21 +0200</pubDate>
      <guid>https://vincenttam.gitlab.io/post/2018-06-29-hugo-ufw/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://sites.google.com/site/easylinuxtipsproject/security#TOC-Firewall&#34;&gt;Easy Linux tips project&lt;/a&gt; recommends users to enable their&#xA;firewall.  However, this blocks all incoming traffic by default.  If&#xA;one wants to &lt;a href=&#34;https://vincenttam.github.io/blog/2016/08/21/website-preview-in-mobile-devices/&#34;&gt;test the site on mobile devices&lt;/a&gt;, one will need to&#xA;add a few rules to &lt;a href=&#34;https://launchpad.net/ufw&#34;&gt;UFW&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;$ sudo ufw allow ssh&#xA;$ sudo ufw allow http&#xA;$ sudo ufw allow https&#xA;$ sudo ufw allow 80/tcp&#xA;$ sudo ufw allow 1313/tcp comment &amp;quot;hugo server&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I learnt the last line from &lt;a href=&#34;https://xn--v6q832hwdkvom.com/post/ufw/#%E3%83%AB%E3%83%BC%E3%83%AB%E3%81%AB%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88%E3%82%92%E8%BF%BD%E5%8A%A0%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF&#34;&gt;竹内電設&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
