LoginSignup
1
1

More than 5 years have passed since last update.

海外でもニコニコの公式アニメが見たい

Posted at

海外でもニコニコの公式アニメが見たい

海外に行った時にニコニコを見ようと思ったら海外IPのせいで公式アニメチャンネルから弾かれたので日本にあるサーバからプロキシを通して視聴した話.

polipoを各自お使いのOSにインストールして,コンフィグファイルを弄ればできる.
僕はarch linuxを使っているので,sudo pacman -S polipoで一発だった.
コンフィグファイルは/etc/polipoにconfig.sampleがあるので同じディレクトリにconfigという名前でコピーして以下のようにいじった.

 proxyAddress = "0.0.0.0"    # IPv4 only

# If you do that, you'll want to restrict the set of hosts allowed to
# connect:

allowedClients = 127.0.0.1, 134.157.168.0 
# allowedClients = 127.0.0.1, 134.157.168.0/24

# Uncomment this if you want your Polipo to identify itself by
# something else than the host name:

 proxyName = "your domain"<

# Uncomment this if there's only one user using this instance of Polipo:

 cacheIsShared = false

終わったらsudo systemctl start polipoをやった.
サーバ側はこれで出来た.僕はiptablesなどのファイアウォールを使用してないので,使用している人は各自適切に設定してください.

ブラウザやOSの方でプロキシの設定をIPアドレスor自分のドメイン:8123にすればニコニコでアニメが見られる.

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1