我试图激活我的有线互联网连接的防火墙,但它说FirewallD没有运行。这是我能通过ufw打开的东西吗?我在运行Ubuntu 16.04 LTS。
发布于 2017-09-27 03:20:17
Firewalld是iptables的前端,是RHEL (Centos)和Fedora中使用的默认防火墙,所以我猜您是在阅读RHEL/Fedora文档,而不是Ubuntu文档吗?
见https://fedoraproject.org/wiki/Firewalld?rd=FirewallD和http://www.firewalld.org/
我确信它可以作为源代码使用,但我没有尝试在Ubuntu上安装它。
默认情况下,Ubuntu使用ufw - https://help.ubuntu.com/community/UFW。
对于图形化前端,可以使用gufw - https://help.ubuntu.com/community/Gufw。
通常,要激活Ubuntu上的防火墙,您可以:
sudo ufw enable你还需要更多的信息吗?
有关Ubuntu,请参阅wiki - https://help.ubuntu.com/和https://help.ubuntu.com/community/CommunityHelpWiki。
发布于 2017-09-27 04:35:24
UFW和Firewalld都是Ubuntu和REHL系统上iptable操作的前端。它们都可以安装在Ubuntu系统上并相应地使用。我建议您通过运行以下命令在Ubuntu上启用UFW:
sudo ufw enable但是,如果您希望使用Firewalld,那么通过运行安装(请注意,终端命令工具是firewall-cmd:
sudo apt install firewalld想要GUI方面,然后用以下方式安装GUI界面:
sudo apt install firewall-config
sudo apt install firewall-applet更多信息:
https://wiki.ubuntu.com/UncomplicatedFirewall
http://www.firewalld.org/documentation/man-pages/firewall-cmd.html
https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands
https://askubuntu.com/questions/959768
复制相似问题