From 733b567a4c83d72b1913fdda51ad1f08fd5c4c61 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 12 Feb 2024 07:44:25 +0530 Subject: hosts/lia/sshfwd/mkFwdSrv: listen on ipv6 --- hosts/lia/modules/sshfwd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/lia/modules') 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} ''; }; -- cgit v1.2.3