- Регистрация
- 20.01.2011
- Сообщения
- 7,665
- Розыгрыши
- 0
- Реакции
- 135
1.Upgrading the server
2. Install apt-transport-https (needed to download packages over HTTPS)
3. Adding keys to verify the authenticity of Tor repository packages
4 We find out the code name of our distribution, put it in the source and add it to the Tor repository sources
________________________________________________________________
________________________________________________________________
5. Install tor from the verified repository you just added
6. Installing obfs4proxy
7. Edit torrc (Tor configuration file)
________________________________________________________________
# ORPort any
# ContactInfo optional contacts for contacting you, just in case.
# ServerTransportListenAddr should be specified as mine, instead of port 4443 it can be any other port.
# Log file is not necessary to specify, but it is easier with it than without it, only notifications are saved in it.
# Don't touch the rest and leave it as it is.
____________________________________________________________
________________________________________________________________
8. Restart Tor
9. For monitoring, download nyx and run it, copy the fingerprint of our bridge from there, check if Tor is up to date.
10. Getting the necessary data to connect to your own bridge
11. Enter your ip (46.148.26.148), port (4443), fingerprint ().
12. Specify your obfs4 bridge in Tor browser, Whonix, Tor Expert Bundle ...
Source :
Код:
[CODE]
apt update
apt upgrade
2. Install apt-transport-https (needed to download packages over HTTPS)
Код:
apt install dirmngr apt-transport-https
3. Adding keys to verify the authenticity of Tor repository packages
Код:
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
4 We find out the code name of our distribution, put it in the source and add it to the Tor repository sources
Код:
lsb_release -a
Код:
nano /etc/apt/sources.list
Код:
deb https://deb.torproject.org/torproject.org buster main
deb-src https://deb.torproject.org/torproject.org buster main
5. Install tor from the verified repository you just added
Код:
apt update
apt install tor deb.torproject.org-keyring
Код:
apt install obfs4proxy
7. Edit torrc (Tor configuration file)
Код:
nano /etc/tor/torrc
# ORPort any
# ContactInfo optional contacts for contacting you, just in case.
# ServerTransportListenAddr should be specified as mine, instead of port 4443 it can be any other port.
# Log file is not necessary to specify, but it is easier with it than without it, only notifications are saved in it.
# Don't touch the rest and leave it as it is.
____________________________________________________________
Код:
BridgeRelay 1
ORPort 443
ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
ServerTransportListenAddr obfs4 0.0.0.0:4443
ExtORPort auto
ContactInfo alextokarev125@gmail.com
Nickname TorZireael
Log notice file /var/log/tor/notices.log
8. Restart Tor
Код:
systemctl restart tor
9. For monitoring, download nyx and run it, copy the fingerprint of our bridge from there, check if Tor is up to date.
Код:
apt install nyx
nyx
10. Getting the necessary data to connect to your own bridge
Код:
nano /var/lib/tor/pt_state/obfs4_bridgeline.txt
11. Enter your ip (46.148.26.148), port (4443), fingerprint ().
12. Specify your obfs4 bridge in Tor browser, Whonix, Tor Expert Bundle ...
Source :