forked from c3d2/nix-config
leon: fix interface in prepared but inactive code
This commit is contained in:
parent
de3b114a83
commit
fab419937d
|
@ -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----------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user