10 lines
203 B
Nix
10 lines
203 B
Nix
{ config, ... }:
|
|
{
|
|
networking.firewall = {
|
|
allowPing = false;
|
|
extraInputRules = ''
|
|
ip saddr { ${config.ips.server}, ${config.ips.wgSpan}.1 } accept comment "Accept Server"
|
|
'';
|
|
};
|
|
}
|