Projet

Général

Profil

SnowFlake » Historique » Version 1

Version 1/6 - Suivant » - Version actuelle
Matthieu Herrb, 03/03/2022 21:07
infos VM snowflake


SnowFlake

VM snowflake.tetaneutral.net

Compilation depuis les sources (apt install golang) dans le compte snowflake

root@snowflake:~/snowflake# apt install golang tmux
root@snowflake:~# useradd -c "Snowflake user" -s /bin/bash -m snowflake
root@snowflake:~# passwd -l snowflake
root@snowflake:~# su - snowflake
snowflake@snowflake:~$ git clone https://git.torproject.org/pluggable-transports/snowflake.git
snowflake@snowflake:~$ cd snowflake/proxy
snowflake@snowflake:~/snowflake/proxy$ go build 
snowflake@snowflake:~/snowflake/proxy$ tmux
snowflake@snowflake:~$ cd snowflake/proxy/
snowflake@snowflake:~/snowflake/proxy$ ./proxy 

Lancement via systemd: /etc/systemd/system/snowflake.service :

[Unit]
Description=snowflake proxy
After=network.tarkget

[Service]
Type=simple
User=proxy
WorkingDirectory=/home/snowflake
ExecStart=/home/snowflake/snowflake/proxy/proxy
TimeoutSec=15
Restart=always

[Install]
WantedBy=multi-user.target
<pre>