From 84f2cd260ce48672bfcbe73935c87ff12be4d814 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Sun, 16 Jun 2024 10:22:35 +0200 Subject: [PATCH] [ssh] feat: added bastion hosts --- nix/home/ssh/ssh.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/nix/home/ssh/ssh.nix b/nix/home/ssh/ssh.nix index 03cad27..61fc8a7 100644 --- a/nix/home/ssh/ssh.nix +++ b/nix/home/ssh/ssh.nix @@ -13,11 +13,17 @@ serverAliveInterval = 60; }; + # jumphost + "bastion" = { + hostname = "192.168.10.55"; + proxyJump = "do.siempie.com" + }; + # siempie lab - "*.do.local" = { proxyJump = "siempie.com"; }; - "*.hackerboys.internal" = { proxyJump = "siempie.com"; }; - "*.siempie.internal" = { proxyJump = "siempie.com"; }; - "*.siempie.local" = { proxyJump = "siempie.com"; }; + "*.do.local" = { proxyJump = "bastion"; }; + "*.hackerboys.internal" = { proxyJump = "bastion"; }; + "*.siempie.internal" = { proxyJump = "bastion"; }; + "*.siempie.local" = { proxyJump = "bastion"; }; }; }; }