Skip to content

Commit

Permalink
Add ssh tor hidden service on istvaan
Browse files Browse the repository at this point in the history
  • Loading branch information
asciimoth committed Jul 17, 2024
1 parent 530b743 commit 7e26249
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions machines/istvaan/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,27 @@ in {
text = "${constants.MainUser} ${constants.ConfigRoot}";
mode = "744";
};

services.tor = {
enable = true;
relay.onionServices = {
ssh = {
version = 3;
map = [
{
port = 22;
target = {
addr = "127.0.0.1";
port = 22;
};
}
];
};
};
settings = {
#ClientUseIPv4 = false;
#ClientUseIPv6 = true;
#ClientPreferIPv6ORPort = true;
};
};
}

0 comments on commit 7e26249

Please sign in to comment.