查看“Ufw on debian”的源代码
←
Ufw on debian
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
[[category:ops]] [[category:debian]] =* install= apt install ufw =* Configuration= <pre> ufw enable Command may disrupt existing ssh connections. Proceed with operation (y|n)? y Firewall is active and enabled on system startup ufw default deny incoming ufw default allow outgoing ufw status verbose </pre> =* Firewall Rules= <pre> ufw app list ufw allow 'SSH' ufw allow 22/tcp ufw allow WWW #其实就是80 ufw allow 'Nginx HTTP' ufw allow 53/tcp </pre> ==** Port Ranges == <pre> Port ranges may also be specified, a simple example for tcp would be: ufw allow 1000:2000/tcp and for udp: ufw allow 1000:2000/udp</pre> ==** IP address== <pre>An IP address may also be used: ufw allow from 111.222.333.444</pre> =* Deleting Rules= <pre> Rules may be deleted with the following command: ufw delete allow ssh</pre> =* see also= https://wiki.debian.org/Uncomplicated%20Firewall%20%28ufw%29 https://help.ubuntu.com/community/UFW https://www.digitalocean.com/community/tutorials/how-to-setup-a-firewall-with-ufw-on-an-ubuntu-and-debian-cloud-server [https://zhuanlan.zhihu.com/p/36646621 ubuntu ufw 防火墙]
返回至
Ufw on debian
。
导航菜单
个人工具
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
我的导航
关于我
shell
python
ops
linuxchina.net
blog.linuxchina
最近更改
随机页面
帮助
工具
链入页面
相关更改
特殊页面
页面信息