<?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 No Subject - nosubject.io -</title><link>https://nosubject.io/en/tags/ufw/</link><description>Recent content in Ufw on No Subject - nosubject.io -</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 06 Dec 2019 21:14:37 +0900</lastBuildDate><atom:link href="https://nosubject.io/en/tags/ufw/index.xml" rel="self" type="application/rss+xml"/><item><title>Firewall Settings on Ubuntu 19.10</title><link>https://nosubject.io/en/ubuntu-19-10-firewall/</link><pubDate>Fri, 06 Dec 2019 21:14:37 +0900</pubDate><guid>https://nosubject.io/en/ubuntu-19-10-firewall/</guid><description>&lt;p&gt;Since the machine connects directly to an external network over PPPoE, I enable the firewall.&lt;/p&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;$ sudo ufw allow 80
$ sudo ufw allow 443
$ sudo ufw limit 22
$ sudo ufw enable&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I exposed the web server and SSH. SSH password login was disabled beforehand.&lt;/p&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;/etc/ssh/sshd_config
PasswordAuthentication no&lt;/code&gt;&lt;/pre&gt;
&lt;div class="wp-block-cocoon-blocks-balloon-ex-box-1 speech-wrap sb-id-3 sbs-think sbp-l sbis-cn cf block-box"&gt;&lt;div class="speech-person"&gt;&lt;figure class="speech-icon"&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2020/01/1038831.png" alt="Me" class="speech-icon-image"/&gt;&lt;/figure&gt;&lt;div class="speech-name"&gt;Me&lt;/div&gt;&lt;/div&gt;&lt;div class="speech-balloon"&gt;&lt;p&gt;Check the settings with an online &lt;a rel="noreferrer noopener" aria-label="nmap (opens in a new tab)" href="https://pentest-tools.com/network-vulnerability-scanning/tcp-port-scanner-online-nmap" target="_blank"&gt;nmap &lt;/a&gt; site or similar.&lt;/p&gt;</description></item></channel></rss>