From c5a51d24ec28ace8b9931fecb1cb59f446268068 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 8 Oct 2023 14:23:23 +0900 Subject: [PATCH] Test --- nixos/hosts/osaka-vultr-01/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/osaka-vultr-01/default.nix b/nixos/hosts/osaka-vultr-01/default.nix index 25c806c4..6d6d066d 100644 --- a/nixos/hosts/osaka-vultr-01/default.nix +++ b/nixos/hosts/osaka-vultr-01/default.nix @@ -65,8 +65,8 @@ externalInterface = "eno3"; extraCommands = ''${pkgs.iptables}/bin/iptables -t nat -A nixos-nat-post -d 10.100.0.2 --dport 80 -j SNAT --to-source 10.100.0.1''; forwardPorts = [ - { sourcePort = 80; destination = "10.100.0.2"; } - { sourcePort = 443; destination = "10.100.0.2"; } + { sourcePort = 80; destination = "10.100.0.2:80"; } + { sourcePort = 443; destination = "10.100.0.2:443"; } ]; }; } \ No newline at end of file