-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat: 端口转发功能 #5439
feat: 端口转发功能 #5439
Conversation
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Co-authored-by: yawntee <[email protected]>
感谢支持。 |
|
||
const rules = reactive({ | ||
protocol: [Rules.requiredSelect], | ||
port: [Rules.requiredInput], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
port 的规则可以直接用 Rules.port ,因为端口那边支持端口范围,所以没法直接用,这里可以用
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
考虑到之后会有范围端口转发的需求,还是采用原有方案
非常感谢代码贡献,有一点点地方可以优化一下。 |
refactor(forward): 优化前端代码 fix: 删除iptables规则时排序问题 fix: router注释遗漏 refactor(forward): 优化i18n描述 fix(forward): 修复参数校验 fix(forward): ip可空 fix: 删除debug部分 Co-authored-by: endymx <[email protected]> Co-authored-by: yawntee <[email protected]>
What this PR does / why we need it?
Summary of your change
@endymx
(ufw) 清空iptables nat表规则,根据数据库内规则reload
(firewalld) 检测端口伪装并开启
@yawntee
@ExerciseBook
Please indicate you've done the following: