Help us understand the problem. What is going on with this article?

Ubuntu14/CentOS6xにtor入れてrelayサーバーにする

More than 3 years have passed since last update.

centos

https://www.torproject.org/docs/rpms.html.en
ここを読みながら。

/etc/yum.repos.d/torproject.repoというファイルを作って以下の内容を書き込みます。

/etc/yum.repos.d/torproject.repo
[tor]
name=Tor repo
enabled=1
baseurl=https://deb.torproject.org/torproject.org/rpm/el/6/$basearch/
gpgcheck=1
gpgkey=https://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc
repo_gpgcheck=1

[tor-source]
name=Tor source repo
enabled=1
autorefresh=0
baseurl=https://deb.torproject.org/torproject.org/rpm/el/6/SRPMS
gpgcheck=1
gpgkey=https://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc
repo_gpgcheck=1

yum install torします。

ubuntu

apt-get install torします。

以後共通

service tor start します。

/etc/tor/torrc 以下の設定になるよう編集します。

Nickname hogehoge
ORPort 9001
BandwidthRate 20 KB
BandwidthBurst 50 KB
ExitPolicy reject *:*

その他 iptables などのファイアウォールを設定します。

service tor restart します。

https://atlas.torproject.org/
で 自分のNicknameを検索して動いているか確認します。

鍵ファイルのバックアップ

/var/lib/tor/keys/secret_id_key

リレーサーバーのIPなどを移動するときは鍵のバックアップを取っておきましょう

ログの確認

cat /var/log/tor/log

参考

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした