Marisa: generic networking.nix change

This commit is contained in:
2022-01-31 22:44:43 +05:30
parent 0033e909ab
commit 32a4b8e5c2

View File

@@ -3,7 +3,7 @@
networking = {
hostName = "Marisa";
firewall = {
allowedTCPPorts = [ 22 80 6060 5001 8800 8888 4444 4646 8500 8080 ];
allowedTCPPorts = [ 22 80 6060 5001 8800 7777 4444 4646 8500 8888 22001 ];
allowedUDPPorts = [ 17840 ];
};
wireless = {
@@ -22,7 +22,7 @@
wireguard.interfaces.wg0 = {
ips = [ "10.55.0.2/24" ];
listenPort = 17840;
privateKeyFile = "/var/wg";
privateKeyFile = "/var/secrets/wg.key";
peers = [
{
#Oracle VM1