0
0

UbuntuでshadowSocksサーバを起動(中国 Great Fire Wall対策)

Last updated at Posted at 2024-02-14

shadowsocksとは

やること

  1. EC2でUbuntu OS (22.04 LTS)を立てる。インスタンスはt3.microくらいでOK。このときSecurity Groupをshadowsocks(デフォは8388)ポートを開けておく
  2. shadowsocksのinstall
  3. config.jsonの編集

shadowsocksのインストール

sudo su
apt-get update
apt install shadowsocks-libev

config.jsonの編集

vim /etc/shadowsocks-libev/config.json

編集内容

{
    "server":"0.0.0.0",
    "server_port":8388,
    "local_port":1080,
    "password":"your_password",
    "timeout":86400,
    "method":"chacha20-ietf-poly1305"
}

shadowsocksの再起動

sudo systemctl restart shadowsocks-libev
sudo systemctl status shadowsocks-libev

参考

  1. https://github.com/shadowsocks/shadowsocks-libev
0
0
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
0
0