Linux下通过AnySetup配置防火墙
https://img2023.cnblogs.com/blog/219170/202311/219170-20231130214124846-2089052966.png软件
AnySetup
主要功能
主要功能是对Linux操作系统下的基本配置进行管理、多种服务配置进行管理、安全配置进行管理等。如:操作系统的升级管理,软件包的安装、更新和卸载管理,软件仓库源的管理,系统时间和时区的管理,系统语言环境的管理,网络环境的配置管理,系统服务的启动、关闭、重启管理,NFS服务客户端和服务端的日常管理,FTP服务的日常管理,Samba服务的日常管理,Apache Web服务的日常管理,Nginx服务的日常管理,Tomcat服务的日常管理,系统安全项的配置管理等。
特点
非Web端管理方式,增强了日常管理中的安全性。
操作系统要求
[*]CentOS Linux 7 / CentOS Linux 7+
[*]Rocky Linux 8 / Rocky Linux 8+
[*]AlmaLinux 8 / AlmaLinux 8+
[*]Ubuntu 18 / Ubuntu 18+
主页
https://www.anysetup.top
AnySetup之防火墙配置
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/112c12a1ed174644b7ef351c08be82f8~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=1Zf9p%2BdaOkmAPWrrFtjnK2uVQRw%3DFirewall主界面
[*]Configuration(临时配置或永久配置)
选中回车“runtime”项或“permanent”项即可设置
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/69469981cb084cb5b3305b60bf60fe11~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=w%2FVrI4Wz%2F9GM8FRsoSdjRoegYO4%3DConfiguration界面
[*]Runtime To Permanent(将临时配置转为永久配置)
选中回车“Set”按钮即可设置
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/56338d27aab94af0b4434d4d26876d5d~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=FVwBsv9cbicoqqdMDxuJb%2FBJLCI%3DRuntime To Permanent界面
[*]Change Zones of Connections(网卡默认区设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/a3d7ee4e898c48ef9fecf7972d6dd8f5~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=COvzfaetaKzmNgvfJVaZWTvOuDM%3DChange Zones of Connections界面
[*]Change Default Zone(默认区设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/54b38b0d63554db391c40c96bdc35599~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=FZj6hCuujqbk7Zx4S9p%2FVO7kS3w%3DChange Default Zone界面
[*]Change Log Denied(Log Denied设置)
https://p6-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/fdc111cd92644919bed92157f923ee99~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=IBvIcFL%2FfzJ8HJwPgggWXFMMjG0%3DChange Log Denied界面
[*]Configure Automatic Helper(自动助手设置)
https://p26-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/34aa489b02dd40da9a7fbf36c657ed32~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=EYVlYUeucNr13zTQJeghUI356GY%3DConfigure Automatic Helper界面
[*]Panic Mode(应急模式设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/ff8ade1eca404eb98431f27c59a24766~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=CwccrOD4yvygmzAvqcQ8T80qcuE%3DPanic Mode界面
[*]Lockdown(Lockdown设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/91331572da5347479e09a8c5007624be~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=ltjKsJL5xG3v%2FGpHu7AAaiQBtKw%3DLockdown界面
[*]Configure Service(服务设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/8e73eab606e24fc0a6a6d85f12e77d40~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=g9KoyYEPH1oW8V9nWkCAbHk7Zc4%3DConfigure Service界面
[*]Configure Port(端口设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/62f8056cedd54ba79dc6e015a46baf78~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=6QWmUArzMa%2BFEF2Wvg4%2F9lZ5344%3DConfigure Port主界面
[*]Add Port(添加端口)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/3e1c9a4322e04c338f9aff20e4c28019~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=6H3eJsZpFRB12ngPYPZGHFcEamU%3D
[*]Edit Port(修改端口)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/f85c60a948794d73b6b0dde3dd67615c~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=pPit5l3qBwg8qCG5n9D%2B7X%2BZGsI%3DEdit Port界面
[*]Delete Port(删除端口)
选中回车要删除的端口,然后选中回车“Delete Port”按钮即可
https://p26-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/e58652558e454335bb6db190434ecd54~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=a2H55x8hKmnSx3gQApv53KuDKMc%3DDelete Port界面
[*]Configure Source Port(源端口设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/b85cac685c9748cb90e016af9a9a2d31~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=j0rS3i%2BCq0NwMpsJj8uIPYuJBK0%3DConfigure Source Port主界面
[*]Add Port(添加源端口)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/9d4ba2001b4146ad9c50db085051d1e6~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=yGKX5e3L%2FhGUPr9mAHcSSHgyiJI%3DAdd Port界面
[*]Edit Port(修改源端口)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/2f44e793a5f64a11b77bb6338af8a620~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=UP4QjQydQ2oZxAMf47p6CPOHesM%3DEdit Port界面
[*]Delete Port(删除源端口)
选中回车要删除的源端口,然后选中回车“Delete Port”按钮即可
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/45f1b6c1554e447fac8e647d0714c91e~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=geZAmOKAVP2PkkcW5zRbXhXxrYk%3DDelete Port界面
[*]Configure Forward Port(转发端口设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/0357ab194b0f42e39c4a083054b0116f~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=IIvTxIneBK6pG5Liqqsq8sIKqo0%3DConfigure Forward Port主界面
[*]Add Port(添加转发端口)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/b194831d95f84787a9dbd00dfa0f38ee~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=wPP2nzdWfFIHff88Tz5fuepUQEQ%3DAdd Port界面
[*]Edit Port(修改转发端口)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/d9dcdcc18c674bb89cb158669d197485~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=DAwL55N%2FwgOvBSmb9eVajCMf3xA%3DEdit Port界面
[*]Delete Port(删除转发端口)
选中回车要删除的转发端口,然后选中回车“Delete Port”按钮即可
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/e496ac2471a042a7963df948d44c1edd~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=IQQJNxicM2VgTUH%2FCyQRohWrKu4%3DDelete Port界面
[*]Configure Source(源设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/8085e0800d174704b28ee4758b9377a5~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=1OVjH6ZhEWDhR2yglWX8kekEMvE%3DConfigure Source主界面
[*]Add Source(添加源)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/5cc7cb0d40ea465c99879bdabcab4058~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=Bzm9Y9Dd2k3PuSq5qNR%2FalV%2B1SQ%3DAdd Source界面
[*]Edit Source(修改源)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/a65cce7a30ea4d11b5b03decadd1a641~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=88FK%2B0wHQwPP6Q1IiOGD5p1jxOc%3DEdit Source界面
[*]Delete Source(删除源)
选中回车要删除的源,然后选中回车“Delete Source”按钮即可
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/47b4cb5b38cb42049745cf3439336eb0~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=b%2B3RpqBkQGGwlaSNLgJHh6Zd2bU%3DDelete Source界面
[*]Configure Masquerade(伪装设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/e87091f787774e24914c1c94823b25e2~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=K0tAIkqkw3ldrWGLY2bHRifvo%2BE%3DConfigure Masquerade界面
[*]Configure Icmp Block(Icmp Block设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/b6b0f82f78b8490fa5cdd46c60d4af28~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=5ZAPvsDYe56GCxgCVJPQpG0Lc3E%3DConfigure Icmp Block界面
[*]Configure Protocol(协议设置)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/238275b2c88b4b64ba605b4aac1f9b38~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=UNxM4nYChU7GtKIEFxiParGgPGY%3DConfigure Protocol主界面
[*]Add Protocol(添加协议)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/ba58f882beb14962ac585dd94d31fa86~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=Wn0TtTSBNCm25gqs9AYFiU4qkZ8%3DAdd Protocol界面
[*]Edit Protocol(修改协议)
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/57470ceba08c408e814a04c3f4fb8610~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=4s2fcxLthBx8%2BbMKmfcYZJgROws%3DEdit Protocol界面
[*]Delete Protocol(删除协议)
选中回车要删除的协议,然后选中回车“Delete Protocol”按钮即可
https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/f1e73a8f4d264b8c9062aedc7738f2d6~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1701956464&x-signature=EAUNUEUXhHLDkIviY8pHaVGIJz8%3DDelete Protocol界面
来源:https://www.cnblogs.com/allsetup/p/17868460.html
免责声明:由于采集信息均来自互联网,如果侵犯了您的权益,请联系我们【E-Mail:cb@itdo.tech】 我们会及时删除侵权内容,谢谢合作!
页:
[1]