allow ssh over wireguard

This commit is contained in:
iFargle 2023-10-13 13:37:43 +09:00
parent d4b622e8ee
commit 901555228b

View file

@ -1,5 +1,6 @@
{ pkgs, config, lib, ... }: { { pkgs, config, lib, ... }: {
networking.firewall.allowedUDPPorts = [ 51820 ]; networking.firewall.allowedUDPPorts = [ 51820 ];
networking.firewall.wireguard0.allowedTCPPorts = [ 22 ];
# Set up the secrets file: # Set up the secrets file:
sops.secrets."wireguard_keys/osaka-vultr-01" = { sops.secrets."wireguard_keys/osaka-vultr-01" = {