Initial commit

This commit is contained in:
Philip (a-0) 2022-07-13 12:52:07 +02:00
commit 0c5ee3d3d1
12 changed files with 292 additions and 0 deletions

View file

@ -0,0 +1,12 @@
Host gateway
HostName tunnel-end.a-0.me
User ssh-tunnel
Port 22
IdentityFile /home/autossh/.ssh/tunnel-key
IdentitiesOnly yes
ExitOnForwardFailure yes
ServerAliveInterval 5
ServerAliveCountMax 3
{% for forwarding in tunneled_ports %}
RemoteForward localhost:{{ forwarding.ephemeral_port }} {{ forwarding.dest_host }}:{{ forwarding.dest_port }}
{% endfor %}