This commit is contained in:
iFargle 2023-10-08 17:22:10 +09:00
parent 905c9c1377
commit 5b9acd3cd5
2 changed files with 3 additions and 3 deletions

View file

@ -57,8 +57,8 @@
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };
# Temporary
networking.firewall.allowedTCPPorts = [ 22 ];
networking.firewall.allowedUDPPorts = [ 51820 ];
# networking.firewall.allowedTCPPorts = [ 22 ];
# networking.firewall.allowedUDPPorts = [ 51820 ];
# Set up the secrets file:
sops.secrets."wireguard_keys/nixos-rpi4-03" = {

View file

@ -1,5 +1,5 @@
{pkgs, lib, config, ...}: {
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.interface.wireguard0.allowedTCPPorts = [ 80 443 ];
services.nginx = {
enable = true;