1. Enable Automatic Software Updates

One of the most important things to keep your relay secure is to install security updates timely and ideally automatically so you can not forget about it. Follow the instructions to enable automatic software updates for your operating system.

2. Install tor

To install the tor package on Arch Linux, please run:

# pacman -Syu tor

3. Install a Pluggable Transport

We are opting here to install and use obfs4 as pluggable transport, so we are going to install obfs4proxy.

Sadly there's no package available on Arch Linux's official repositories to install it, so we must either build and it from source, or use the AUR (ArchLinux User Repository).

Should you opted to use AUR, once makepkg must not run as root, here is how obfs4proxy can be installed on Arch Linux using an unprivileged user account with sudo permissions:

$ sudo pacman -Syu git
$ git clone https://aur.archlinux.org/obfs4proxy
$ cd obfs4proxy
$ makepkg -irs
  • DISCLAIMER: AUR packages are user produced content. Any use of the provided files is at your own risk.

    For more information on installing or building obfs4proxy from source, please refer to its official docummentation.

4. Edit your Tor config file, usually located at /etc/tor/torrc and replace its content with:

BridgeRelay 1
DataDirectory /var/lib/tor
User tor

# შეცვალეთ „TODO1“ სასურველი Tor-პორტით.  ეს პორტი გარედან
# მისაწვდომი უნდა იყოს.  აირიდეთ 9001, ვინაიდან მეტად გაიგივებულია Tor-თან და
# ცენზორებმა შეიძლება გადაამოწმონ ინტერნეტიდან ეს პორტი.
ORPort TODO1

ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy

# შეცვალეთ „TODO2“ სასურველი obfs4-პორტით.  ეს პორტი გარედან
# გარედან მისაწვდომი უნდა იყოს და განსხვავდებოდეს OR-პორტისთვის განსაზღვრულისგან.
# აირიდეთ 9001 ვინაიდან, მეტად გაიგივებულია
# Tor-თან და ცენზორებმა შეიძლება გადაამოწმონ ინტერნეტიდან ეს პორტი.
ServerTransportListenAddr obfs4 0.0.0.0:TODO2

# ადგილობრივი კავშირის პორტი Tor-სა და obfs4-ს შორის.  ყოველთვის მიუთითეთ „auto“.
# „Ext“ ნიშნავს გაფართოებულს, „extended“ და არა გარეს, „external“.  არ სცადოთ ცალკეული პორტის
#  ნომრის მითითება ან 0.0.0.0. პორტის დაყენება კავშირის მისაღებად
ExtORPort auto

# შეცვალეთ „<address@email.com>“ თქვენი ელფოსტით, რომ შევძლოთ თქვენთან დაკავშირება, თუ
# რამე ხარვეზი წარმოექმნება გადამცემ ხიდს.  ეს არასავალდებულოა, მაგრამ სასურველი.
ContactInfo <address@email.com>

# აირჩიეთ სასურველი მეტსახელი ხიდისთვის.  არასავალდებულოა.
Nickname PickANickname

არ დაგავიწყდეთ შეცვალოთ ORPort, ServerTransportListenAddr, ContactInfo და Nickname პარამეტრები.

  • გაითვალისწინეთ, რომ ორივე, Tor-ის OR-პორტი და მისი obfs4-პორტი უნდა იყოს მისაწვდომი. თუ თქვენი ხიდი ქსელის ფარის ან NAT-ის უკანაა, გადაამოწმეთ რომ ორივე პორტი გახსნილია. შეგიძლიათ გამოიყენოთ ხელმისაწვდომობის ჩვენი შემმოწმებელი რომ ნახოთ, არის თუ არა obfs4-პორტი მისაწვდომი ინტერნეტიდან.

5. Enable and Start tor

# systemctl enable --now tor
... or restart it if it was running already, so configurations take effect
# systemctl restart tor

6. ბოლო შენიშვნები

If you are having trouble setting up your bridge, have a look at our help section. If your bridge is now running, check out the post-install notes.