Skip to content

Instantly share code, notes, and snippets.


John Andersen pdxjohnny

View GitHub Profile
pdxjohnny /
Last active Sep 14, 2020 — forked from drmalex07/
Setup a secure (SSH) tunnel as a systemd service. #systemd #ssh #ssh-tunnel #ssh-forward


Create a template service file at /etc/systemd/system/secure-tunnel@.service. The template parameter will correspond to the name of target host:

Description=Setup a secure tunnel to %I
pdxjohnny / proxy.go
Created Sep 27, 2016 — forked from vmihailenco/proxy.go
Simple TCP proxy in Golang
View proxy.go
package main
import (