Skip to content

[Bug] iptables Forward Create Error #8887

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

Open
kohirei opened this issue Jun 2, 2025 · 5 comments
Open

[Bug] iptables Forward Create Error #8887

kohirei opened this issue Jun 2, 2025 · 5 comments
Assignees

Comments

@kohirei
Copy link

kohirei commented Jun 2, 2025

Contact Information

No response

1Panel Version

v2.0.0-beta.4

Problem Description

v2版本使用端口转发没有成功创建链1PANEL_FORWARD
反而V1能查看到1PANEL_FORWARD链
默认的FORWARD链也没有

还有希望早日支持nftables,ufw加iptables查看规则太乱了不如直接nftables #7171

Steps to Reproduce

防火墙,端口创建

The expected correct result

No response

Related log output

Additional Information

No response

@wanghe-fit2cloud
Copy link
Member

v2版本使用端口转发没有成功创建链1PANEL_FORWARD
反而V1能查看到1PANEL_FORWARD链
默认的FORWARD链也没有

麻烦提供一下具体的操作,方便我们在本地环境中复现问题并进一步排查。

@kohirei
Copy link
Author

kohirei commented Jun 2, 2025

v2版本使用端口转发没有成功创建链1PANEL_FORWARD
反而V1能查看到1PANEL_FORWARD链
默认的FORWARD链也没有

麻烦提供一下具体的操作,方便我们在本地环境中复现问题并进一步排查。

直接在这里创建

Image

Image

通过iptables查看并没有创建forward链,而且也没成功转发

@wanghe-fit2cloud
Copy link
Member

v2版本使用端口转发没有成功创建链1PANEL_FORWARD
反而V1能查看到1PANEL_FORWARD链
默认的FORWARD链也没有

麻烦提供一下具体的操作,方便我们在本地环境中复现问题并进一步排查。

直接在这里创建

Image

Image

通过iptables查看并没有创建forward链,而且也没成功转发

再提供一下部署 1Panel 的服务器操作系统具体版本。

@kohirei
Copy link
Author

kohirei commented Jun 2, 2025

v2版本使用端口转发没有成功创建链1PANEL_FORWARD
反而V1可以查看到1PANEL_FORWARD链
默认的FORWARD链也没有

麻烦提供一下具体的操作,方便我们在本地环境中复现问题并进一步排查。

直接在这里创建
Image
Image
通过iptables查看并没有创建forward链,也没有成功转发

再提供一下部署1Panel的服务器具体版本。

v2.0.0-beta.4

系统 debian12,子节点通过控制的ufw 也一样
Linux bf2024-jp-1 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux
Linux hcss-ecs-81f9 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux

@wanghe-fit2cloud
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


v2 version uses port forwarding to create chain 1PANEL_FORWARD without success
On the contrary, V1 can view 1PANEL_FORWARD chain
There is no default FORWARD chain either

Please provide specific operations to facilitate us to reproduce problems in the local environment and further troubleshoot.

Create directly here
Image
Image
View through iptables without creating a forward link, nor successfully forwarded

Provide the specific version of the server to deploy 1Panel.

v2.0.0-beta.4

System debian12, the same is true for child nodes through the control of ufw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants