changes access to dnsc-vps-sm
This commit is contained in:
parent
11b0b550ba
commit
7c00ecdb0f
2 changed files with 3 additions and 22 deletions
|
|
@ -61,19 +61,10 @@
|
|||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
22
|
||||
80
|
||||
443
|
||||
];
|
||||
ipBasedAllowedTCPPorts = [
|
||||
{
|
||||
port = 22;
|
||||
ips = [
|
||||
"100.103.199.4"
|
||||
"100.115.100.87"
|
||||
"100.83.40.63"
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# My user account
|
||||
|
|
@ -129,9 +120,6 @@
|
|||
};
|
||||
|
||||
# Services
|
||||
# Tailscale
|
||||
services.tailscale.enable = true;
|
||||
|
||||
# Caddy
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -8,26 +8,19 @@
|
|||
addKeysToAgent = "yes";
|
||||
};
|
||||
"dnsc-machine" = {
|
||||
# TODO use correct IP
|
||||
hostname = "100.103.199.4";
|
||||
hostname = "192.168.178.250";
|
||||
user = "dennis";
|
||||
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"dnsc-server" = {
|
||||
hostname = "100.103.199.4";
|
||||
user = "dennis";
|
||||
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"dnsc-server-i" = {
|
||||
hostname = "192.168.178.69";
|
||||
user = "dennis";
|
||||
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"dnsc-vps-sm" = {
|
||||
hostname = "100.65.82.77";
|
||||
hostname = "91.99.21.186";
|
||||
user = "dennis";
|
||||
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
||||
identitiesOnly = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue