global/security: enable ssh GatewayPorts
This commit is contained in:
parent
d9d184041e
commit
d55fccdd3a
1 changed files with 6 additions and 3 deletions
|
@ -38,10 +38,13 @@ with lib;
|
|||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = mkDefault true;
|
||||
settings.X11Forwarding = mkDefault false;
|
||||
settings = {
|
||||
X11Forwarding = mkDefault false;
|
||||
GatewayPorts = mkDefault "yes";
|
||||
};
|
||||
hostKeys = mkDefault [{
|
||||
path = "/etc/ssh/ssh_host_ed25519_key";
|
||||
type = "ed25519";
|
||||
path = "/etc/ssh/ssh_host_ed25519_key";
|
||||
type = "ed25519";
|
||||
}];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue