fix: allow snated traffic from hi bridge.

This commit is contained in:
Daniel Ding
2025-05-26 14:31:47 +08:00
parent debba76ff5
commit f90ad500ee

View File

@@ -770,6 +770,11 @@ func (w *WorkerImpl) toRelated(output, comment string) {
CtState: "RELATED,ESTABLISHED", CtState: "RELATED,ESTABLISHED",
Comment: comment, Comment: comment,
}) })
w.fire.Filter.For.AddRule(cn.IPRule{
Input: output,
CtState: "RELATED,ESTABLISHED",
Comment: comment,
})
} }
func (w *WorkerImpl) GetCfgs() (*co.Network, *co.OpenVPN) { func (w *WorkerImpl) GetCfgs() (*co.Network, *co.OpenVPN) {