pyo
By:
pyo

cant not working firewalld

August 3, 2016 452 views
System Tools CentOS

Although the firewall settings made immediately after the Droplets do not apply.

I think this is a problem

firewall-cmd --list-all

Another Server:

public (default, **active**)
  interfaces: **eno16777984**
  sources:
  services: dhcpv6-client http https ssh
  ports: 3000/tcp 1520/udp 3000/udp 8080/tcp 37998/udp 37998/tcp 8080/udp 1520/tcp
  masquerade: no
  forward-ports:
  icmp-blocks:
  rich rules:

Droplets:

public (default)
  interfaces:
  sources:
  services: dhcpv6-client http https ssh
  ports:
  masquerade: no
  forward-ports:
  icmp-blocks:
  rich rules:

What can I do to resolve this?

1 Answer
ryanpq MOD August 3, 2016
Accepted Answer

By default, DigitalOcean droplets do not have an enabled firewall. If you choose to use FirewallD, this guide will walk you through setting up rules and enabling them on your droplet.

Firewalld is a complete firewall solution available by default on CentOS and Fedora servers. In this guide, we will cover how to set up a basic firewall for your server and show you the basics of managing the firewall with firewall-cmd, its command-line administrative...
  • thx! i'm missing command firewall-cmd --zone=public --change-interface=eth0

Have another answer? Share your knowledge.