22
0
Bifurcation 0

Hello HowtoSpiped

Cette révision appartient à :
Ludovic Poujol 2018-12-14 16:43:26 +01:00
Parent 77f7d6f992
révision 9abaa30fe3
1 fichiers modifiés avec 41 ajouts et 0 suppressions

41
HowtoSpiped.md Fichier normal
Voir le fichier

@ -0,0 +1,41 @@
---
title: Howto Spiped
categories: tunneling
...
* Documentation : <http://www.tarsnap.com/spiped.html>
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