Add loopback ignore rule to nat chains (#2190)

This makes sure loopback traffic is not affected by NAT
This commit is contained in:
Viktor Liu
2024-06-25 09:43:36 +02:00
committed by GitHub
parent aca054e51e
commit 6aae797baf
4 changed files with 63 additions and 13 deletions

View File

@@ -95,7 +95,7 @@ func (m *Manager) InsertRoutingRules(pair firewall.RouterPair) error {
m.mutex.Lock()
defer m.mutex.Unlock()
return m.router.InsertRoutingRules(pair)
return m.router.AddRoutingRules(pair)
}
func (m *Manager) RemoveRoutingRules(pair firewall.RouterPair) error {