]> Git — Sourcephile - sourcephile-nix.git/blob - machines/mermet/networking/ssh.nix
nix: disable fix for /etc/ld-nix.so.preload, too much rebuilds
[sourcephile-nix.git] / machines / mermet / networking / ssh.nix
1 { pkgs, lib, config, ... }:
2 {
3 networking.nftables.ruleset = ''
4 add rule inet filter net2fw tcp dport {10022} counter accept comment "Reverse SSH"
5 '';
6 services.openssh.gatewayPorts = "clientspecified";
7 }