Add alternative IP address and SSH port
I was trying to use it to get around public wifi firewalls
This commit is contained in:
parent
af1de58c28
commit
840c68524f
2 changed files with 14 additions and 1 deletions
|
|
@ -3,7 +3,17 @@
|
|||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [ 22 16652 ];
|
||||
# ports = [ 22 16652 ];
|
||||
listenAddresses = [{
|
||||
addr = "63.141.227.154";
|
||||
port = 22;
|
||||
} {
|
||||
addr = "63.141.227.154";
|
||||
port = 16652;
|
||||
} {
|
||||
addr = "63.141.227.155";
|
||||
port = 443;
|
||||
}];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue