Frënn vun der Ënn A.S.B.L.

Luxembourg based non-profit organization defending civil rights on the internet.

User Tools

Site Tools


server-setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
server-setup [2014/08/02 10:29]
virii
server-setup [2019/03/06 16:40] (current)
virii
Line 45: Line 45:
 <sxh bash;>apt-get install build-essential <sxh bash;>apt-get install build-essential
 echo "deb http://deb.torproject.org/torproject.org <DISTRIBUTION> main" >> /etc/apt/sources.list echo "deb http://deb.torproject.org/torproject.org <DISTRIBUTION> main" >> /etc/apt/sources.list
-gpg --keyserver keyserver.adamas.ai --recv 886DDD89+gpg --keyserver keyserver.c3l.lu --recv 886DDD89
 gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add - gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
 apt-get update apt-get update
Line 52: Line 52:
 </sxh> </sxh>
 **Second Step:** **Second Step:**
-<sxh bash;>wget https://bitbucket.org/fvde/tor-autoconfig/raw/tip/autoconf.pl+<sxh bash;>apt-get install openssl libssl-dev 
 +cpan 
 +cpan> install Net::Address::IP::Local Net::SSLeay IO::Socket::SSL LWP::Protocol::https WWW::Mechanize 
 +wget https://bitbucket.org/fvde/tor-autoconfig/raw/tip/autoconf.pl
 perl autoconf.pl exit [YOUR-NODE-NICKNAME] [NETWORK SPEED] [METERED|UNMETERED] ([TRAFFIC LIMIT]) perl autoconf.pl exit [YOUR-NODE-NICKNAME] [NETWORK SPEED] [METERED|UNMETERED] ([TRAFFIC LIMIT])
 wget -O /root/family_updater.pl https://bitbucket.org/fvde/tor-autoconfig/raw/tip/family_updater.pl wget -O /root/family_updater.pl https://bitbucket.org/fvde/tor-autoconfig/raw/tip/family_updater.pl
Line 66: Line 69:
  
 **Third Step:** **Third Step:**
-<sxh bash;>apt-get install iftop +<sxh bash;>apt-get install iftop htop python-pip 
-apt-get install htop +pip install nyx 
-apt-get install tor-arm +wget https://download.adamas.ai/dlbase/Stuff/sthttpd/sthttpd-2.27.0.tar.gz 
-wget ftp://opensource.dyc.edu/pub/sthttpd/sthttpd-2.26.3.tar.gz +tar -zxvf sthttpd-2.27.0.tar.gz 
-tar -zxvf sthttpd-2.26.3.tar.gz +cd sthttpd-2.27.0
-cd sthttpd-2.26.3+
 adduser thttpd adduser thttpd
 ./configure ./configure
 make make
 make install make install
-wget -O /etc/thttpd.conf http://exit-install.enn.lu/thttpd.conf+wget -O /etc/thttpd.conf https://exit-install.enn.lu/thttpd.conf
 mkdir /var/www mkdir /var/www
-wget -O /etc/init.d/thttpd http://exit-install/enn.lu/thttpd.init+wget -O /etc/init.d/thttpd https://exit-install.enn.lu/thttpd.init
 chmod 0755 /etc/init.d/thttpd chmod 0755 /etc/init.d/thttpd
 service thttpd start service thttpd start
Line 94: Line 96:
  
 <sxh bash;>vnstat -u -i eth0 <sxh bash;>vnstat -u -i eth0
-wget -O /var/www/index.html http://exit-install.enn.lu/index.html.ascii+wget -O /var/www/index.html https://exit-install.enn.lu/exit-node.html
 chown -R thttpd:thttpd /var/www chown -R thttpd:thttpd /var/www
 </sxh> </sxh>
 **Fifth Step:** **Fifth Step:**
  
-Control your torrc. A functional Exit torrc has to look like [[http://wiki.enn.lu/doku.php?id=scripts-config#exit|this!]]+Control your torrc. A functional Exit torrc has to look like [[https://wiki.enn.lu/doku.php?id=scripts-config#exit|this!]]
 <sxh bash;>service tor restart</sxh> <sxh bash;>service tor restart</sxh>
 ====== Bridges ====== ====== Bridges ======
  
 **First Step:** **First Step:**
-<sxh bash;>apt-get install build-essential +<sxh bash;>apt-get install build-essential python-dev python-pip libgmp-dev 
-echo "deb http://deb.torproject.org/torproject.org <DISTRIBUTION> main" >> /etc/apt/sources.list +apt-get install golang 
-echo "deb http://deb.torproject.org/torproject.org tor-nightly-master-<DISTRIBUTION> main" >> /etc/apt/sources.list +echo "deb https://deb.torproject.org/torproject.org <DISTRIBUTION> main" >> /etc/apt/sources.list 
-echo "deb http://fteproxy.org/deb/ stable/" >> /etc/apt/sources.list +echo "deb https://deb.torproject.org/torproject.org tor <DISTRIBUTION> main" >> /etc/apt/sources.list 
-gpg --keyserver keyserver.adamas.ai --recv 886DDD89 +echo "deb https://deb.torproject.org/torproject.org obfs4proxy main" >> /etc/apt/sources.list 
-gpg --keyserver keyserver.adamas.ai --recv 6B898EE18FBA6390+curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
 gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add - gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
-gpg --export 6B898EE18FBA6390 | apt-key add - 
 apt-get update apt-get update
 apt-get install deb.torproject.org-keyring apt-get install deb.torproject.org-keyring
-apt-get install tor tor-arm obfsproxy fteproxy +apt-get install tor nyx obfsproxy obfs4proxy fteproxy
 </sxh> </sxh>
-**Flashproxy: (optional)** 
-<sxh bash;>apt-get install git golang 
-git clone https://git.torproject.org/flashproxy.git 
-cd flashproxy; make; make install 
-</sxh> 
-Tor config 
- 
-''ExtORPort auto\\ 
-ServerTransportPlugin websocket exec /usr/local/bin/pt-websocket-server --port 9901'' 
- 
 **Second Step:** **Second Step:**
-<sxh bash;>wget https://bitbucket.org/fvde/tor-autoconfig/raw/tip/autoconf.pl+<sxh bash;>apt-get install openssl libssl-dev 
 +cpan 
 +cpan> install Net::Address::IP::Local Net::SSLeay IO::Socket::SSL LWP::Protocol::https WWW::Mechanize 
 +wget https://bitbucket.org/fvde/tor-autoconfig/raw/tip/autoconf.pl
 perl autoconf.pl bridge [YOUR-NODE-NICKNAME] [NETWORK SPEED] [METERED|UNMETERED] ([TRAFFIC LIMIT]) perl autoconf.pl bridge [YOUR-NODE-NICKNAME] [NETWORK SPEED] [METERED|UNMETERED] ([TRAFFIC LIMIT])
 wget -O /root/update_server.pl https://bitbucket.org/virii/update-ennstatus/raw/tip/update_server.pl wget -O /root/update_server.pl https://bitbucket.org/virii/update-ennstatus/raw/tip/update_server.pl
Line 143: Line 137:
 perl autoconf.pl bridge [TEXTFILE-CONTAINING-NAMES] [NETWORK SPEED] [METERED|UNMETERED] ([TRAFFIC LIMIT]) perl autoconf.pl bridge [TEXTFILE-CONTAINING-NAMES] [NETWORK SPEED] [METERED|UNMETERED] ([TRAFFIC LIMIT])
 </sxh> </sxh>
- 
-From the [[https://www.torservers.net/wiki/setup/server|torservers.net]] wiki: 
  
 There is a modified initscript that makes it easy to manage multiple Tor configurations on one machine. There is a modified initscript that makes it easy to manage multiple Tor configurations on one machine.
Line 150: Line 142:
 <sxh bash;> <sxh bash;>
 cd /etc/init.d cd /etc/init.d
-wget -O tor https://gist.githubusercontent.com/7adietri/9122199/raw/4ed71b894eddbdfb0e241fa06bb583a19f0ccc89/tor+wget -O tor https://exit-install.enn.lu/tor.initd
 chmod +x tor chmod +x tor
 </sxh> </sxh>
  
-The relevant tor*.cfg settings per relay are (change “0” to “1” etc): +Starts/Stops multiple tor configsLike torrc0 torrc1 torrc2
- +
-''DataDirectory /var/lib/tor/0 \\ +
-PidFile /var/run/tor/tor0.pid \\ +
-Log notice file /var/log/tor/notices0.log''+
server-setup.1406968144.txt.gz · Last modified: 2014/12/04 17:48 (external edit)