diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-02-12 07:44:25 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-02-12 07:51:36 +0530 |
commit | 733b567a4c83d72b1913fdda51ad1f08fd5c4c61 (patch) | |
tree | b011163376b7ab91ba1d5833bcb1a2fb5637ff6b /hosts/lia/modules | |
parent | ed3fd9a36f174d8001b1693fe4d0e2761febeb56 (diff) |
hosts/lia/sshfwd/mkFwdSrv: listen on ipv6
Diffstat (limited to 'hosts/lia/modules')
-rw-r--r-- | hosts/lia/modules/sshfwd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/lia/modules/sshfwd.nix b/hosts/lia/modules/sshfwd.nix index f5f7526..4140660 100644 --- a/hosts/lia/modules/sshfwd.nix +++ b/hosts/lia/modules/sshfwd.nix @@ -21,7 +21,7 @@ script = '' echo -n "Forwarding port ${toString local_port}" exec ssh -N ${remote_user}@${remote} -p ${toString ssh_port} \ - -R 0.0.0.0:${toString remote_port}:127.0.0.1:${toString local_port} \ + -R '[::]:${toString remote_port}:127.0.0.1:${toString local_port}' \ -i ${key} ''; }; |