临时反向代理

***原因参见这里

发现twd2.me(173.224.216.135)无法访问, 于是在ss.twd2.net(198.199.112.243)搞了个nginx做http反向代理到173.224.216.135, 然后修改了twd2.me的解析记录, 于是可以正常访问万呆博客。

使用tracert发现是死在了216.99.148.234,

1 1 ms <1 毫秒 <1 毫秒 192.168.1.1
2 38 ms 33 ms 24 ms 123.114.32.1
3 19 ms 14 ms 15 ms 61.148.163.73
4 19 ms 19 ms 15 ms 124.65.56.109
5 30 ms 15 ms 20 ms 123.126.0.237
6 52 ms 51 ms 51 ms 219.158.100.158
7 54 ms * 53 ms 219.158.3.250
8 53 ms 54 ms 86 ms 219.158.96.250
9 207 ms 210 ms 207 ms 144.228.111.29
10 207 ms 206 ms 205 ms 144.232.12.151
11 222 ms 219 ms 221 ms 144.232.8.194
12 229 ms 231 ms 230 ms 154.54.89.97
13 233 ms 208 ms 214 ms 154.54.85.37
14 268 ms 277 ms * 154.54.2.129
15 260 ms 261 ms 258 ms 154.54.87.250
16 * * * 请求超时。
17 237 ms 238 ms 236 ms 216.99.148.234

在ss.twd2.net使用traceroute发现216.99.148.234没死。

traceroute to twd2.net (173.224.216.135), 30 hops max, 60 byte packets
1 198.199.112.1 (198.199.112.1) 5.827 ms 5.872 ms 5.900 ms
2 ae5-401.cr1.sfo1.us.nlayer.net (69.22.130.37) 0.310 ms 0.357 ms 0.229 ms
3 ae3-70g.cr1.pao1.us.nlayer.net (69.22.143.170) 6.409 ms 0.810 ms 0.815 ms
4 30gigabitethernet2-1.core1.pao1.he.net (198.32.176.20) 11.013 ms 11.027 ms 10.915 ms
5 10gigabitethernet3-1.core1.sjc2.he.net (72.52.92.70) 2.207 ms 2.119 ms 2.349 ms
6 10gigabitethernet14-7.core1.lax2.he.net (184.105.213.5) 14.431 ms 14.219 ms 14.219 ms
7 * * *
8 distr.r1-700.psychz.net (216.99.148.234) 9.777 ms 9.797 ms 9.767 ms
9 unassigned.psychz.net (173.224.216.135) 9.886 ms 9.798 ms 9.791 ms

PS. 发现了一个叫做10gigabitethernet的东西!

已提交ticket询问。是墙在作死。

然后附赠反向代理配置

server
{
listen 80;
server_name twd2.me;

location / {
proxy_pass http://173.224.216.135/;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}

发表评论?

1 条评论。

发表评论

注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

:wink: :twisted: :roll: :oops: :mrgreen: :lol: :idea: :evil: :cry: :arrow: :?: :-| :-x :-o :-P :-D :-? :) :( :!: 8-O 8)

Trackbacks and Pingbacks:

本文链接:https://twd2.me/archives/4216QrCode