From 1df0b67187f6e0b9e58a534fb72bc5b1ff7ce277 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 6 Dec 2023 20:40:19 +0900 Subject: [PATCH] test --- nixos/hosts/osaka-linode-01/firewall.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/hosts/osaka-linode-01/firewall.nix b/nixos/hosts/osaka-linode-01/firewall.nix index 7f609a7c..54ae5926 100644 --- a/nixos/hosts/osaka-linode-01/firewall.nix +++ b/nixos/hosts/osaka-linode-01/firewall.nix @@ -23,7 +23,7 @@ networking.firewall.extraCommands = '' iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT - iptables -t nat -A POSTROUTING -s 10.100.0.2 -j SNAT --to 172.234.84.222 + iptables -t nat -A OUTPUT -d 172.234.84.222/32 -p tcp -m tcp --dport 443 -j DNAT --to-destination 127.0.0.1:443 # TCP PORTS ################################################################################################## # PORT 80