vps1 only ssh on tailscale
This commit is contained in:
parent
5cdd0a185f
commit
5b461cc0da
1 changed files with 7 additions and 1 deletions
|
@ -19,8 +19,14 @@ in
|
||||||
# tailscale
|
# tailscale
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
# fail2ban
|
# fail2ban/ssh
|
||||||
services.fail2ban.enable = true;
|
services.fail2ban.enable = true;
|
||||||
|
services.openssh.listenAddresses = [
|
||||||
|
{
|
||||||
|
addr = "100.96.189.104";
|
||||||
|
port = 22;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
# nginx reverse proxy
|
# nginx reverse proxy
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue