From d391379cd897f6869209215ff0eb7d739b34fbfd Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sun, 8 Mar 2026 16:02:13 +0000 Subject: Use autossh to connect to host behind NAT Since wireguard is blocked there. --- misc/dotfiles/ssh/config.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'misc/dotfiles') diff --git a/misc/dotfiles/ssh/config.j2 b/misc/dotfiles/ssh/config.j2 index f0c6c74..5c019c4 100644 --- a/misc/dotfiles/ssh/config.j2 +++ b/misc/dotfiles/ssh/config.j2 @@ -15,12 +15,14 @@ Host flame {% if inventory_hostname_short != "gate" %} ProxyJump gate {% endif %} - Hostname 10.0.0.2 + Hostname localhost + Port 2222 ForwardAgent yes Host water {% if inventory_hostname_short != "gate" %} ProxyJump gate {% endif %} - Hostname 10.0.0.3 + Hostname localhost + Port 2223 ForwardAgent yes -- cgit v1.2.3-70-g09d2