]> Git — Sourcephile - sourcephile-nix.git/blob - machines/mermet/networking/ssh.nix
upnpc: fix port opening and dynamic DNS
[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 }