Test
This commit is contained in:
parent
bf9282e6a4
commit
3fd63cadb0
2 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
interfaces = {
|
interfaces = {
|
||||||
"wireguard0" = {
|
"wireguard0" = {
|
||||||
ips = [ "10.100.0.1/24 "];
|
ips = [ "10.100.0.1/24" ];
|
||||||
listenPort = 51820;
|
listenPort = 51820;
|
||||||
postSetup = ''${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.100.0.0/24 -o eno3 -j MASQUERADE'';
|
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'';
|
postShutdown = ''${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -s 10.100.0.0/24 -o eno3 -j MASQUERADE'';
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
duf
|
duf
|
||||||
gnupg
|
gnupg
|
||||||
screen
|
screen
|
||||||
|
btop
|
||||||
];
|
];
|
||||||
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
|
|
Loading…
Reference in a new issue