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