当前位置: 首页 > news >正文

Racknerd服务器Ubuntu

没有什么安全组

ufw status

查看防火墙

说明未启用

开启

ufw enable

再次查看

ufw status

禁用防火墙

ufw disable

确认防火墙状态

ufw status

ufw status verbose     输出显示了防火墙的当前状态和默认规则:

现在是都还没开

root@racknerd-0dc2a89:~# ufw status numbered      查看所有开放的端口
Status: active
root@racknerd-0dc2a89:~# ufw status verbose   查看防火墙详情
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
root@racknerd-0dc2a89:~# 

例如我开放80端口后

ufw allow 80

拒绝某个端口

ufw deny 22

允许特定ip访问某个端口

ufw allow from 192.168.1.100 to any port 80

systemctl status ufw   查看服务状态

ufw status numbered

ufw delete 1   删除ufw status numbered 中某个编号的规则

ufw reload 重新加载防火墙配置


文章转载自:
http://hinduism.sxnf.com.cn
http://quarterly.sxnf.com.cn
http://insofar.sxnf.com.cn
http://capsulotomy.sxnf.com.cn
http://dipsy.sxnf.com.cn
http://potsherd.sxnf.com.cn
http://volsunga.sxnf.com.cn
http://domain.sxnf.com.cn
http://duologue.sxnf.com.cn
http://flunky.sxnf.com.cn
http://empurple.sxnf.com.cn
http://cursor.sxnf.com.cn
http://outdare.sxnf.com.cn
http://marijuana.sxnf.com.cn
http://foretooth.sxnf.com.cn
http://ephemeral.sxnf.com.cn
http://consuelo.sxnf.com.cn
http://pozzuolana.sxnf.com.cn
http://turbocar.sxnf.com.cn
http://tig.sxnf.com.cn
http://furriness.sxnf.com.cn
http://singlechip.sxnf.com.cn
http://austral.sxnf.com.cn
http://bundobust.sxnf.com.cn
http://trainer.sxnf.com.cn
http://horsewhip.sxnf.com.cn
http://wastrel.sxnf.com.cn
http://arm.sxnf.com.cn
http://tamer.sxnf.com.cn
http://paraphysis.sxnf.com.cn
http://www.dtcms.com/a/280224.html

相关文章:

  • Ant Design预览多张图
  • AR眼镜颠覆医疗:精准手术零误差
  • HTML--教程
  • K-12教育创业新蓝图:告别“刷题”,拥抱“千人千面”个性化学习
  • 物联网设备管理工具实战:用AR运维镜击穿6.8天修复魔咒
  • Bootstrap-HTML(七)Bootstrap在线图标的引用方法
  • 【zynq7020】PS的“Hello World”
  • RHCE认证-Linux 运维知识整合:从基础到进阶的学习路径
  • ESP32S3+VSCode+PlatformIO+Arduino+Freertos开发入门指南:基于Arduino框架的应用开发全流程
  • 多维视角下的可组合性:PTBs 与 EIP-7702 的对比与解析
  • 简单明了的对比PyTorch与TensorFlow
  • 操作系统笔记:进程调度(Process Scheduling)
  • 硬件与软件的桥梁:冯诺依曼体系、操作系统和初始进程的深度解析
  • 排序算法实战(上)
  • 串口通信性能优化
  • 人形机器人:技术落地、场景适配与产业演进
  • 卫星通信链路预算之六:输出回退
  • [RPA] 多页订单的自动处理
  • 高并发四种IO模型的底层原理
  • 【Rust Web】Axum :构建高性能 Web 服务
  • 快速精准估算光伏电站造价:效率与精度的关键
  • 4.增-demo
  • Java全栈工程师面试实录:从电商支付到AI大模型的应用场景与技术栈解析
  • 50天50个小项目 (Vue3 + Tailwindcss V4) ✨ | DoubleClickHeart(双击爱心)
  • [INS-30014]无法检查指定的位置是否在CFS上
  • 【PTA数据结构 | C语言版】根据层序序列重构二叉树
  • 陶瓷基复合材料烧结:工业软件国有化在孔隙率控制仿真中的替代
  • [设计模式]C++单例模式的几种写法以及通用模板
  • HTTP请求
  • 医疗数据分析中标准化的作用