diff --git a/nixos/hosts/osaka-vultr-01/default.nix b/nixos/hosts/osaka-vultr-01/default.nix index 2aeb2f1f..c6b243d8 100644 --- a/nixos/hosts/osaka-vultr-01/default.nix +++ b/nixos/hosts/osaka-vultr-01/default.nix @@ -63,10 +63,10 @@ enable = true; internalInterfaces = [ "wireguard0" ]; externalInterface = "eno3"; - extraCommands = ''iptables -t nat -A nixos-nat-post -d 10.100.0.2 --dport 80 -j SNAT --to-source 10.100.0.1''; + 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:80"; } - { sourcePort = 443; destination = "10.100.0.2:443"; } + { sourcePort = 80; destination = "10.100.0.2"; } + { sourcePort = 443; destination = "10.100.0.2"; } ]; }; } \ No newline at end of file