shadowsocksとは
やること
- EC2でUbuntu OS (22.04 LTS)を立てる。インスタンスはt3.microくらいでOK。このときSecurity Groupをshadowsocks(デフォは8388)ポートを開けておく
- shadowsocksのinstall
- 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