<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SFTP port 222 not working, Firewall UFW was inactive]]></title><description><![CDATA[<p dir="auto">Hi, I am not sure what's going on, but I try to deploy a lamp container, and upon realising the SFTP 222 wasn't working, I checked my system.<br />
I am not sure when this happens, but I've upgraded to the latest Cloudron a couple of days ago, and last 2 weeks I have migrated Cloudron from a different server. I rarely use any SFTP hence which is why I only discover this issue now.<br />
I'm using Commander One and CloudMounter on Mac, and receiving an error:<br />
"Could not connect to host error -1."  — a quick Google says: This error indicates that your web server did not accept our TCP connection request, and hence the HTTP Request could not be performed.</p>
<p dir="auto"><strong>What I did to investigate:</strong></p>
<ol>
<li>Check telnet</li>
</ol>
<pre><code>oot@vmi815992:~# telnet 123.123.123.1 222
Trying 123.123.123.1...
telnet: Unable to connect to remote host: Connection refused
</code></pre>
<ol start="2">
<li>
<p dir="auto">Check UFW status<br />
Before when I did ufw status, it returns inactive. So I enabled it.</p>
</li>
<li>
<p dir="auto">UFW status verbose</p>
</li>
</ol>
<pre><code>root@vmi815992:~# ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
222                        ALLOW IN    Anywhere  &gt;&gt;&gt;&gt;  (I had to add this port manually)           
222 (v6)                   ALLOW IN    Anywhere (v6)
</code></pre>
<ol start="4">
<li>SFTP still not working after I enabled this port</li>
</ol>
<p dir="auto">Shall I remove port 222 now? But most importantly why is UFW was inactive? <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a><br />
Many thanks for the input.</p>
]]></description><link>https://forum.cloudron.io/topic/6719/sftp-port-222-not-working-firewall-ufw-was-inactive</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 05:20:21 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6719.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 27 Mar 2022 17:17:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 20:37:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aizat" aria-label="Profile: Aizat">@<bdi>Aizat</bdi></a> said in <a href="/post/45410">SFTP port 222 not working, Firewall UFW was inactive</a>:</p>
<blockquote>
<p dir="auto">fatal: SFTPHostKey: unable to use '/etc/ssh/ssh_host_rsa_key' as host key, as it is group- or world-accessible on line 101 of '/etc/proftpd/proftpd.conf'</p>
</blockquote>
<p dir="auto">Yes, this is the issue! So, what you have to do is:</p>
<pre><code>chmod 600 /home/yellowtent/platformdata/sftp/ssh/ssh_host_rsa_key
</code></pre>
<p dir="auto">Then, just restart the SFTP service. Can you let me know if that works?</p>
]]></description><link>https://forum.cloudron.io/post/45417</link><guid isPermaLink="true">https://forum.cloudron.io/post/45417</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 28 Mar 2022 20:37:41 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Wed, 30 Mar 2022 19:09:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aizat" aria-label="Profile: Aizat">@<bdi>Aizat</bdi></a> This was a bug in the restore code . I have fixed this now for the next release - <a href="https://git.cloudron.io/cloudron/box/-/commit/529f6fb2cd945fb5cbba30ae10dfb3776b0150b2" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/commit/529f6fb2cd945fb5cbba30ae10dfb3776b0150b2</a></p>
]]></description><link>https://forum.cloudron.io/post/45498</link><guid isPermaLink="true">https://forum.cloudron.io/post/45498</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 30 Mar 2022 19:09:00 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Wed, 30 Mar 2022 11:20:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>  yup, I think that's it. Worthwhile to put that in the docs for now, just in case somebody searching for a solution quickly (if they don't find this post).</p>
]]></description><link>https://forum.cloudron.io/post/45482</link><guid isPermaLink="true">https://forum.cloudron.io/post/45482</guid><dc:creator><![CDATA[Aizat]]></dc:creator><pubDate>Wed, 30 Mar 2022 11:20:22 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Wed, 30 Mar 2022 11:19:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/45417">SFTP port 222 not working, Firewall UFW was inactive</a>:</p>
<blockquote>
<p dir="auto">chmod 600 /home/yellowtent/platformdata/sftp/ssh/ssh_host_rsa_key</p>
</blockquote>
<p dir="auto">YESSS!! It works! Thank you so much <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a><br />
Amazing. Yep, now I've connected to my sftp.<br />
I also use my ip address for the host, instead of <a href="http://my.domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.domain.com</a> because I use Cloudflare. (referring to the doc)</p>
]]></description><link>https://forum.cloudron.io/post/45481</link><guid isPermaLink="true">https://forum.cloudron.io/post/45481</guid><dc:creator><![CDATA[Aizat]]></dc:creator><pubDate>Wed, 30 Mar 2022 11:19:27 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 20:39:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aizat" aria-label="Profile: Aizat">@<bdi>Aizat</bdi></a> said in <a href="/post/45411">SFTP port 222 not working, Firewall UFW was inactive</a>:</p>
<blockquote>
<p dir="auto">the end result of the migration was very smooth</p>
</blockquote>
<p dir="auto">I suspect we have a bug in our migration+sftp permissions. I will investigate. The private key is restored with group readable permissions, so the sftp service refuses to start.</p>
]]></description><link>https://forum.cloudron.io/post/45418</link><guid isPermaLink="true">https://forum.cloudron.io/post/45418</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 28 Mar 2022 20:39:19 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 20:37:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aizat" aria-label="Profile: Aizat">@<bdi>Aizat</bdi></a> said in <a href="/post/45410">SFTP port 222 not working, Firewall UFW was inactive</a>:</p>
<blockquote>
<p dir="auto">fatal: SFTPHostKey: unable to use '/etc/ssh/ssh_host_rsa_key' as host key, as it is group- or world-accessible on line 101 of '/etc/proftpd/proftpd.conf'</p>
</blockquote>
<p dir="auto">Yes, this is the issue! So, what you have to do is:</p>
<pre><code>chmod 600 /home/yellowtent/platformdata/sftp/ssh/ssh_host_rsa_key
</code></pre>
<p dir="auto">Then, just restart the SFTP service. Can you let me know if that works?</p>
]]></description><link>https://forum.cloudron.io/post/45417</link><guid isPermaLink="true">https://forum.cloudron.io/post/45417</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 28 Mar 2022 20:37:41 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 20:17:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scooke" aria-label="Profile: scooke">@<bdi>scooke</bdi></a> it was fresh, I only setup my ssh and followed exactly whatever was in the docs, the end result of the migration was very smooth, no problems at all. I have never tried any SFTP prior to the migration so I would not be sure.</p>
]]></description><link>https://forum.cloudron.io/post/45411</link><guid isPermaLink="true">https://forum.cloudron.io/post/45411</guid><dc:creator><![CDATA[Aizat]]></dc:creator><pubDate>Mon, 28 Mar 2022 20:17:25 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 20:19:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/45400">SFTP port 222 not working, Firewall UFW was inactive</a>:</p>
<blockquote>
<p dir="auto">iptables -t nat -L DOCKER</p>
</blockquote>
<p dir="auto">Hi! thank you very much for the detailed input. I have removed the port 222 from the ufw and then disabled ufw.</p>
<p dir="auto">OK, Here's what I see:</p>
<pre><code>root@vmi815992:~# iptables --numeric -L DOCKER
Chain DOCKER (2 references)
target     prot opt source               destination         
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.4           tcp dpt:8000
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.4           tcp dpt:2004
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.4           tcp dpt:2003
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.8           tcp dpt:9995
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.8           tcp dpt:9993
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.8           tcp dpt:4190
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.8           tcp dpt:2587
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.8           tcp dpt:2465
ACCEPT     udp  --  0.0.0.0/0            172.18.16.75         udp dpt:10000
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.15          tcp dpt:22
</code></pre>
<p dir="auto">and</p>
<pre><code>root@vmi815992:~# iptables -t nat -L DOCKER
Chain DOCKER (2 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            
RETURN     all  --  anywhere             anywhere            
DNAT       tcp  --  anywhere             localhost            tcp dpt:8417 to:172.18.0.4:8000
DNAT       tcp  --  anywhere             localhost            tcp dpt:2004 to:172.18.0.4:2004
DNAT       tcp  --  anywhere             localhost            tcp dpt:cfinger to:172.18.0.4:2003
DNAT       tcp  --  anywhere             anywhere             tcp dpt:pop3s to:172.18.0.8:9995
DNAT       tcp  --  anywhere             anywhere             tcp dpt:imaps to:172.18.0.8:9993
DNAT       tcp  --  anywhere             anywhere             tcp dpt:sieve to:172.18.0.8:4190
DNAT       tcp  --  anywhere             anywhere             tcp dpt:smtp to:172.18.0.8:2587
DNAT       tcp  --  anywhere             anywhere             tcp dpt:submission to:172.18.0.8:2587
DNAT       tcp  --  anywhere             anywhere             tcp dpt:submissions to:172.18.0.8:2465
DNAT       udp  --  anywhere             anywhere             udp dpt:10000 to:172.18.16.75:10000
DNAT       tcp  --  anywhere             anywhere             tcp dpt:222 to:172.18.0.15:22
</code></pre>
<p dir="auto">And the log:</p>
<pre><code>Mar 27 19:01:07 2022-03-27 18:01:07,913 INFO success: filemanager entered RUNNING state, process has stayed up for &gt; than 1 seconds (startsecs)
Mar 27 19:01:07 2022-03-27 18:01:07,917 INFO spawned: 'proftpd' with pid 20
Mar 27 19:01:07 2022-03-27 18:01:07,940 sftp proftpd[20]: LDAPServer: parsed URL 'ldap://172.18.0.1:3002/??sub' as 'ldap://172.18.0.1:3002/??sub'
Mar 27 19:01:07 2022-03-27 18:01:07,940 sftp proftpd[20]: fatal: SFTPHostKey: unable to use '/etc/ssh/ssh_host_rsa_key' as host key, as it is group- or world-accessible on line 101 of '/etc/proftpd/proftpd.conf'
Mar 27 19:01:08 2022-03-27 18:01:08,962 INFO success: proftpd entered RUNNING state, process has stayed up for &gt; than 1 seconds (startsecs)
Mar 27 19:01:08 2022-03-27 18:01:08,962 INFO exited: proftpd (exit status 1; not expected)
Mar 27 19:01:09 2022-03-27 18:01:09,967 INFO spawned: 'proftpd' with pid 21
Mar 27 19:01:09 2022-03-27 18:01:09,991 INFO exited: proftpd (exit status 1; not expected)
Mar 27 19:01:09 2022-03-27 18:01:09,989 sftp proftpd[21]: LDAPServer: parsed URL 'ldap://172.18.0.1:3002/??sub' as 'ldap://172.18.0.1:3002/??sub'
Mar 27 19:01:09 2022-03-27 18:01:09,989 sftp proftpd[21]: fatal: SFTPHostKey: unable to use '/etc/ssh/ssh_host_rsa_key' as host key, as it is group- or world-accessible on line 101 of '/etc/proftpd/proftpd.conf'
Mar 27 19:01:11 2022-03-27 18:01:10,999 INFO spawned: 'proftpd' with pid 22
Mar 27 19:01:11 2022-03-27 18:01:11,056 sftp proftpd[22]: LDAPServer: parsed URL 'ldap://172.18.0.1:3002/??sub' as 'ldap://172.18.0.1:3002/??sub'
Mar 27 19:01:11 2022-03-27 18:01:11,056 sftp proftpd[22]: fatal: SFTPHostKey: unable to use '/etc/ssh/ssh_host_rsa_key' as host key, as it is group- or world-accessible on line 101 of '/etc/proftpd/proftpd.conf'
Mar 27 19:01:11 2022-03-27 18:01:11,058 INFO exited: proftpd (exit status 1; not expected)
Mar 27 19:01:13 2022-03-27 18:01:13,064 INFO spawned: 'proftpd' with pid 23
Mar 27 19:01:13 2022-03-27 18:01:13,082 sftp proftpd[23]: LDAPServer: parsed URL 'ldap://172.18.0.1:3002/??sub' as 'ldap://172.18.0.1:3002/??sub'
Mar 27 19:01:13 2022-03-27 18:01:13,085 INFO exited: proftpd (exit status 1; not expected)
&gt;&gt;Mar 27 19:01:13 2022-03-27 18:01:13,083 sftp proftpd[23]: fatal: SFTPHostKey: unable to use '/etc/ssh/ssh_host_rsa_key' as host key, as it is group- or world-accessible on line 101 of '/etc/proftpd/proftpd.conf'
Mar 27 19:01:16 2022-03-27 18:01:16,091 INFO spawned: 'proftpd' with pid 24
Mar 27 19:01:16 2022-03-27 18:01:16,141 sftp proftpd[24]: LDAPServer: parsed URL 'ldap://172.18.0.1:3002/??sub' as 'ldap://172.18.0.1:3002/??sub'
&gt;&gt;Mar 27 19:01:16 2022-03-27 18:01:16,141 sftp proftpd[24]: fatal: SFTPHostKey: unable to use '/etc/ssh/ssh_host_rsa_key' as host key, as it is group- or world-accessible on line 101 of '/etc/proftpd/proftpd.conf'
Mar 27 19:01:16 2022-03-27 18:01:16,151 INFO exited: proftpd (exit status 1; not expected)
Mar 27 19:01:17 2022-03-27 18:01:17,153 INFO gave up: proftpd entered FATAL state, too many start retries too quickly
Mar 28 14:35:40 [GET] /files/app-188b9a37-023d-4527-a955-e6f21227de36/
Mar 28 14:35:40 get: /mnt/appsdata/188b9a37-023d-4527-a955-e6f21227de36/data as download:false
Mar 28 14:35:41 [GET] /files/app-188b9a37-023d-4527-a955-e6f21227de36/credentials.txt
Mar 28 14:35:41 get: /mnt/appsdata/188b9a37-023d-4527-a955-e6f21227de36/data/credentials.txt as download:false
Mar 28 18:04:07 [GET] /files/app-21c7ea06-6ede-4883-a02d-d52321727aed/
Mar 28 18:04:07 get: /mnt/appsdata/21c7ea06-6ede-4883-a02d-d52321727aed/data as download:false
Mar 28 18:04:45 [GET] /files/app-21c7ea06-6ede-4883-a02d-d52321727aed/public
Mar 28 18:04:45 get: /mnt/appsdata/21c7ea06-6ede-4883-a02d-d52321727aed/data/public as download:false
</code></pre>
<p dir="auto">On the 27th it did show there are an issue :</p>
<pre><code>fatal: SFTPHostKey: unable to use '/etc/ssh/ssh_host_rsa_key' as host key, as it is group- or world-accessible on line 101 of '/etc/proftpd/proftpd.conf'
</code></pre>
]]></description><link>https://forum.cloudron.io/post/45410</link><guid isPermaLink="true">https://forum.cloudron.io/post/45410</guid><dc:creator><![CDATA[Aizat]]></dc:creator><pubDate>Mon, 28 Mar 2022 20:19:10 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 19:19:44 GMT]]></title><description><![CDATA[<p dir="auto">Also, you must ideally not enable <code>ufw</code>. Docker manages iptable rules and ufw and docker don't work together (meaning, both tools are unaware of each other's existence, so you have to be very careful when updating rules).</p>
<p dir="auto">ufw also does not remove the rules when it gets disabled. The only way I know to remove all those ufw rules is by rebooting the server.</p>
<p dir="auto">Finally, about your SFTP issue, can you please check if the SFTP service is running ? If you find the above rules missing in your iptables altogether, this is a sign that the container itself is not running (for whatever reason). If the rules are listed, then it means the SFTP service is not running properly internally. There was an issue that we saw the other day where the sftp service has errors related to SFTP key permissions. Can you please check the logs in Services -&gt; SFTP -&gt; logs ?</p>
]]></description><link>https://forum.cloudron.io/post/45401</link><guid isPermaLink="true">https://forum.cloudron.io/post/45401</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 28 Mar 2022 19:19:44 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 19:21:04 GMT]]></title><description><![CDATA[<p dir="auto">The SFTP service is run in a container, so the iptable rules are managed by docker. If you do <code>iptables --numeric -L DOCKER</code>, you will see them in the input chain's <code>DOCKER</code> chain:</p>
<pre><code>Chain DOCKER (2 references)
target     prot opt source               destination         
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.6           tcp dpt:8000
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.6           tcp dpt:2004
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.6           tcp dpt:2003
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.7           tcp dpt:22
ACCEPT     tcp  --  0.0.0.0/0            172.18.19.175        tcp dpt:7494
</code></pre>
<p dir="auto">The <code>dpt:22</code> rule is the SFTP rule. We expose port 22 in the <code>sftp</code> container as port 222 to outside world. You will find the translation as a NAT rule. See <code>iptables -t nat -L DOCKER</code> :</p>
<pre><code>Chain DOCKER (2 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            
RETURN     all  --  anywhere             anywhere            
DNAT       tcp  --  anywhere             localhost            tcp dpt:8417 to:172.18.0.6:8000
DNAT       tcp  --  anywhere             localhost            tcp dpt:2004 to:172.18.0.6:2004
DNAT       tcp  --  anywhere             localhost            tcp dpt:cfinger to:172.18.0.6:2003
DNAT       tcp  --  anywhere             anywhere             tcp dpt:222 to:172.18.0.7:22
DNAT       tcp  --  anywhere             anywhere             tcp dpt:7494 to:172.18.19.175:7494
</code></pre>
<p dir="auto">The second last rule is the NAT re-write.</p>
]]></description><link>https://forum.cloudron.io/post/45400</link><guid isPermaLink="true">https://forum.cloudron.io/post/45400</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 28 Mar 2022 19:21:04 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 17:16:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aizat" aria-label="Profile: Aizat">@<bdi>Aizat</bdi></a> Possibly, when you migrated Cloudron from a different server, you migrated to a server that wasn't fresh? Why else would there be different settings? What else might be lurking? Better be sure, and check.</p>
]]></description><link>https://forum.cloudron.io/post/45393</link><guid isPermaLink="true">https://forum.cloudron.io/post/45393</guid><dc:creator><![CDATA[scooke]]></dc:creator><pubDate>Mon, 28 Mar 2022 17:16:38 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 16:57:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a> Is this what you mean? I'm not so well versed with iptables.</p>
<pre><code>root@vmi815992:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
CLOUDRON_RATELIMIT  all  --  anywhere             anywhere            
CLOUDRON   all  --  anywhere             anywhere            
ufw-before-logging-input  all  --  anywhere             anywhere            
ufw-before-input  all  --  anywhere             anywhere            
ufw-after-input  all  --  anywhere             anywhere            
ufw-after-logging-input  all  --  anywhere             anywhere            
ufw-reject-input  all  --  anywhere             anywhere            
ufw-track-input  all  --  anywhere             anywhere
</code></pre>
]]></description><link>https://forum.cloudron.io/post/45390</link><guid isPermaLink="true">https://forum.cloudron.io/post/45390</guid><dc:creator><![CDATA[Aizat]]></dc:creator><pubDate>Mon, 28 Mar 2022 16:57:47 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 16:01:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aizat" aria-label="Profile: Aizat">@<bdi>Aizat</bdi></a> make sure to list the INPUT chain.</p>
]]></description><link>https://forum.cloudron.io/post/45389</link><guid isPermaLink="true">https://forum.cloudron.io/post/45389</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Mon, 28 Mar 2022 16:01:05 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 12:57:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Thanks.<br />
I have disabled UFW and I ran</p>
<pre><code>systemctl restart cloudron-firewall
</code></pre>
<p dir="auto">Next, I checked if port 222 is open:</p>
<pre><code>root@vmi815992:~# iptables -L -n | grep :222
</code></pre>
<p dir="auto">it gave no result, so I checked for port 22:</p>
<pre><code>root@vmi815992:~# iptables -L -n | grep :22
           tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22 state NEW recent: SET name: public-22 side: source mask: 255.255.255.255 
CLOUDRON_RATELIMIT_LOG  tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22 state NEW recent: UPDATE seconds: 10 hit_count: 5 name: public-22 side: source mask: 255.255.255.255
ACCEPT     tcp  --  0.0.0.0/0            172.18.0.15          tcp dpt:22
</code></pre>
<p dir="auto">I thought port 222 is enabled by default? Should I enable port 222 then to allow SFTP? Thanks</p>
]]></description><link>https://forum.cloudron.io/post/45378</link><guid isPermaLink="true">https://forum.cloudron.io/post/45378</guid><dc:creator><![CDATA[Aizat]]></dc:creator><pubDate>Mon, 28 Mar 2022 12:57:48 GMT</pubDate></item><item><title><![CDATA[Reply to SFTP port 222 not working, Firewall UFW was inactive on Mon, 28 Mar 2022 10:46:49 GMT]]></title><description><![CDATA[<p dir="auto">For a start, Cloudron is not using UFW to configure iptables but uses iptables directly, so you should disable UFW again.</p>
<p dir="auto">Now then try to run <code>systemctl restart cloudron-firewall</code> to reconfigure iptables for Cloudron. This should restore the iptables rules.</p>
]]></description><link>https://forum.cloudron.io/post/45374</link><guid isPermaLink="true">https://forum.cloudron.io/post/45374</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 28 Mar 2022 10:46:49 GMT</pubDate></item></channel></rss>