[client] Use native firewall for peer ACLs in userspace WireGuard mode (#5668)

This commit is contained in:
Viktor Liu
2026-04-10 09:12:13 +08:00
committed by GitHub
parent ee343d5d77
commit d2cdc0efec
9 changed files with 58 additions and 45 deletions

View File

@@ -47,8 +47,6 @@ func (i *iFaceMock) Address() wgaddr.Address {
panic("AddressFunc is not set")
}
func (i *iFaceMock) IsUserspaceBind() bool { return false }
func TestIptablesManager(t *testing.T) {
ipv4Client, err := iptables.NewWithProtocol(iptables.ProtocolIPv4)
require.NoError(t, err)