Report this

What is the reason for this report?

How come sftp to port 22 is allowed if I have set DO Firewall for Droplet to block all?

Posted on December 5, 2019

I set firewall to my droplet to block all inbound.

However, I am still able to connect sftp port 22

This is not logical. Is the droplet firewall a firewall or is it not a firewall?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

I’ve just tested this and it seems to be working as expected.

Note that you need to make sure that you add the droplet that you want to protect to your firewall. So to do do the following:

  • Go to your Control Panel at https://cloud.digitalocean.com/
  • Then go to Networking
  • Then click on Firewalls
  • After that click on your Firewall
  • Click on Droplets and hit the Add Droplet button
  • In the search box, type the name of your Droplet and click add

That way you would assign your Droplet to your Firewall and your firewall rules would be activated.

Hope that this helps! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.