Compare commits
2 Commits
3db1205a8d
...
529535cffd
| Author | SHA1 | Date | |
|---|---|---|---|
| 529535cffd | |||
| aff4cf1c16 |
@@ -109,10 +109,10 @@ systemd.timers.backup = {
|
|||||||
# NAT: lets LAN devices reply to the Pi without needing routes on the LAN router
|
# NAT: lets LAN devices reply to the Pi without needing routes on the LAN router
|
||||||
networking.nat = {
|
networking.nat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
externalInterface = "ens18";
|
externalInterface = "enp0s18";
|
||||||
internalInterfaces = [ "wg0" ];
|
internalInterfaces = [ "wg0" ];
|
||||||
};
|
};
|
||||||
|
networking.enableIPv4Forwarding = true;
|
||||||
|
|
||||||
services.openssh.settings.PermitRootLogin = "yes";
|
services.openssh.settings.PermitRootLogin = "yes";
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
|
|||||||
Reference in New Issue
Block a user