diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-08 15:43:47 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-08 15:43:47 +0100 |
commit | 3953a182a0cc1b9d2cb9bd45dd1a64e0903812b1 (patch) | |
tree | 20a965f09fb64f6c30481bb2f4f2e59246f74b70 /accounts/gkleen@sif/default.nix | |
parent | a2962229c6a81ac23a685d243fa43d83957b4fc4 (diff) | |
download | nixos-3953a182a0cc1b9d2cb9bd45dd1a64e0903812b1.tar nixos-3953a182a0cc1b9d2cb9bd45dd1a64e0903812b1.tar.gz nixos-3953a182a0cc1b9d2cb9bd45dd1a64e0903812b1.tar.bz2 nixos-3953a182a0cc1b9d2cb9bd45dd1a64e0903812b1.tar.xz nixos-3953a182a0cc1b9d2cb9bd45dd1a64e0903812b1.zip |
gkleen@sif: socks4a instead of jumpHost
Diffstat (limited to 'accounts/gkleen@sif/default.nix')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 70a5c9f2..03bd4366 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -78,7 +78,7 @@ in { | |||
78 | PubkeyAcceptedAlgorithms +ssh-rsa | 78 | PubkeyAcceptedAlgorithms +ssh-rsa |
79 | 79 | ||
80 | Match host *.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" | 80 | Match host *.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" |
81 | ProxyJump mathw0g | 81 | ProxyCommand ${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118 |
82 | 82 | ||
83 | Match host *.cipmath.loc !exec "nc -z -w 1 %h %p &>/dev/null" | 83 | Match host *.cipmath.loc !exec "nc -z -w 1 %h %p &>/dev/null" |
84 | ProxyJump mathw0h | 84 | ProxyJump mathw0h |