leon: fix interface in prepared but inactive code

This commit is contained in:
Astro 2022-08-26 00:35:57 +02:00
parent de3b114a83
commit fab419937d

View File

@ -205,12 +205,12 @@ networking.wireguard.interfaces = {
#----------------------Start-Routing----------------------------
#postSetup = ''
# ${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.10.100.1/24 -o serv -j MASQUERADE
# ${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.10.100.1/24 -o pub -j MASQUERADE
#'';
# This undoes the above command
#postShutdown = ''
# ${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -s 10.10.100.1/24 -o serv -j MASQUERADE
# ${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -s 10.10.100.1/24 -o pub -j MASQUERADE
#'';
#----------------------End-Routing----------------------------