Skip to content

[Bug] Port forwarding via iptables is not working #11267

@wzn556

Description

@wzn556

Contact Information

w13797340682@gmail.com

1Panel Version

2.0.15

Problem Description

2.0.14版本开始出现,2.0.15版本也存在此问题。

防火墙为iptables时,创建端口转发成功后,实际不生效。

iptables nat中转发规则相关的1panel链没有引用。
Chain 1PANEL_PREROUTING (0 references)
pkts bytes target prot opt in out source destination
0 0 REDIRECT 6 -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:16789 redir ports 16666

Steps to Reproduce

创建端口转发即可复现

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions