How to keep tools alive in China (incomplete)
Tooling ·One trick of GFW is DNS pollution. We need to find the correct domain and ip address directly in host file explicitly.
coursera
- Go to https://www.ipaddress.com/
- search
d3c33hcgiwev3.cloudfront.net
sudo vim /etc/hosts
99.84.170.73 d3c33hcgiwev3.cloudfront.net
99.84.170.89 d3c33hcgiwev3.cloudfront.net
99.84.170.134 d3c33hcgiwev3.cloudfront.net
99.84.170.230 d3c33hcgiwev3.cloudfront.net
- Restart
sudo /etc/init.d/networking restart
github
140.82.112.4 github.com
199.232.69.194 github.global.ssl.fastly.net
185.199.108.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com