Allow traffic to/from specific IP

How to configure the NixOS firewall to allow traffic to/from a specific IP?

I think you’d have to use networking.firewall.extraCommands to write your own iptable command.

1 Like