From 827170eb195e0f45fc898c6c2714926748aaba80 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 6 Dec 2023 20:56:23 +0900 Subject: [PATCH] Typo --- 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 eb5fa8bc..938024bc 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 -o eth0 -s 110.100.0.2/32 ! -d 110.100.0.2/32 -j MASQUERADE + iptables -t nat -A POSTROUTING -o eth0 -s 10.100.0.2/32 ! -d 10.100.0.2/32 -j MASQUERADE iptables -A FORWARD -s 10.100.0.2/32 -j ACCEPT iptables -A FORWARD -d 10.100.0.2/32 -j ACCEPT iptables -A FORWARD -s ! 10.100.0.2/32 -j DROP