vps1 only ssh on tailscale
This commit is contained in:
parent
5cdd0a185f
commit
5b461cc0da
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue