22
0
Fork 0

Hello HowtoSpiped

This commit is contained in:
Ludovic Poujol 2018-12-14 16:43:26 +01:00
parent 77f7d6f992
commit 9abaa30fe3
1 changed files with 41 additions and 0 deletions

41
HowtoSpiped.md Normal file
View File

@ -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