-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
想禁止某个ip访问某个端口 #8
Comments
项目里面的规则和 Firewalld 的 富规则 不是一个概念 详细内容查看文档解释 |
有支持富规则的计划吗?
soonxf ***@***.***> 于 2023年3月10日周五 下午10:26写道:
… 不好意思,目前还不支持这种规则
—
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQY6DOVOPSGQ72FIJZCAR3DW3M22ZANCNFSM6AAAAAAVWK6NIQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
我看了下你的源码,在屏蔽名单那有这个,只不过是没有端口 |
近期在找工作 |
整个 商业版撒,我感觉这个不错,现在一般的cc防火墙 都要3000多一个月,功能其实比你这个多不了多少 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在项目中创建了一个端口,然后在规则里面添加了一条屏蔽,立刻生效,但不起作用
查看firewall规则里面也是没有
firewall-cmd --list-rich-rule
我用命令行的方式是可以的
举个例子
firewall-cmd --add-rich-rule="rule family="ipv4" source address="172.16.100.2" port protocol="tcp" port="3306" drop"
The text was updated successfully, but these errors were encountered: