From 9abaa30fe305c16afdab1b7213d8f9236cf17488 Mon Sep 17 00:00:00 2001 From: lpoujol Date: Fri, 14 Dec 2018 16:43:26 +0100 Subject: [PATCH] Hello HowtoSpiped --- HowtoSpiped.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 HowtoSpiped.md diff --git a/HowtoSpiped.md b/HowtoSpiped.md new file mode 100644 index 00000000..433a4756 --- /dev/null +++ b/HowtoSpiped.md @@ -0,0 +1,41 @@ +--- +title: Howto Spiped +categories: tunneling +... + +* Documentation : + +Spiped est un utilitaire pour créer des tunnels chiffrés et authentifiés. + +# Installation + +~~~ +# apt install spiped +~~~ + +# Utilisation + +## En mode écoute/serveur + +Pour exposer un service foo écoutant en local sur le port 1337 via une connexion chiffrée par la clé /etc/spiped/foo.key sur le port 31337 + +~~~ +# mkdir /etc/spiped +# dd if=/dev/urandom of=/etc/spiped/foo.key bs=32 count=1 + +# cat /etc/systemd/system/spiped-foo.service +[Unit] +Description=Spiped receive for FOO +Wants=network-online.target +After=network-online.target + +[Service] +ExecStart=/usr/bin/spiped -F -d -s 0.0.0.0:31337 -t [127.0.0.1]:1337 -k /etc/spiped/foo.key + +[Install] +WantedBy=multi-user.targe +~~~ + +## En mode client + +TODO \ No newline at end of file