netbird/client/internal/acl/mocks
Givi Khojanashvili 1d9feab2d9
Feat fake dns address (#902)
Works only with userspace implementation:
1. Configure host to solve DNS requests via a fake DSN server address in the Netbird network.
2. Add to firewall catch rule for these DNS requests.
3. Resolve these DNS requests and respond by writing directly to wireguard device.
2023-06-08 13:46:57 +04:00
..
iface_mapper.go Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
README.md Fix routes allow acl rule (#940) 2023-06-07 15:24:27 +02:00

Mocks

To generate (or refresh) mocks from acl package please install mockgen. Run this command from the ./client/internal/acl folder to update iface mapper interface mock:

mockgen -destination mocks/iface_mapper.go -package mocks . IFaceMapper