This commit is contained in:
iFargle 2023-10-06 14:57:17 +09:00
parent bf9282e6a4
commit 3fd63cadb0
2 changed files with 2 additions and 1 deletions

View file

@ -34,7 +34,7 @@
enable = true;
interfaces = {
"wireguard0" = {
ips = [ "10.100.0.1/24 "];
ips = [ "10.100.0.1/24" ];
listenPort = 51820;
postSetup = ''${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.100.0.0/24 -o eno3 -j MASQUERADE'';
postShutdown = ''${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -s 10.100.0.0/24 -o eno3 -j MASQUERADE'';

View file

@ -23,6 +23,7 @@
duf
gnupg
screen
btop
];
# Select internationalisation properties.