vps1 only ssh on tailscale

This commit is contained in:
Geir Okkenhaug Jerstad 2024-07-04 07:06:32 +02:00
parent 5cdd0a185f
commit 5b461cc0da

View file

@ -19,8 +19,14 @@ in
# tailscale
services.tailscale.enable = true;
# fail2ban
# fail2ban/ssh
services.fail2ban.enable = true;
services.openssh.listenAddresses = [
{
addr = "100.96.189.104";
port = 22;
}
];
# nginx reverse proxy
services.nginx = {