mirror of
https://github.com/luscis/openlan.git
synced 2025-10-07 17:40:54 +08:00
fix: allow snated traffic from hi bridge.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user