服务器的IP被墙(被封)是一件可能永远不会遇到,但一遇到就想去撞墙的事情。在国内复杂的网络环境下,总有各种奇葩的存在。
幸好,遇到了Linode,好人呐,此处省略1W字。
大公司的气魄是不一样:Linode允许用户更换IP,特别理解广大中国站长的苦衷。下面就言归正传,说下如何向Linode客服申请更换IP:
1. 首先登陆Linode后台控制面板,也就是,https://cloud.linode.com
2. 点击 Get Help -> Customer Support ,进入和客服的沟通页面,再点击 Open New Ticket 新开一个Ticket(咨询单)
3. 按照要求填写更换IP的请求
Summary填写:I want to change my IP;
Regarding:选择需要更换IP的VPS机器
Description填写:I want to change my IP, it is blocked by GFW.
点击 Open Ticket,提交。
4. 等候10-30分钟,Linode客服就会回应,一般有两种回应:
客服二话不说,直接更换了IP,你重启服务器就完成了更换,到此结束。
Hello,
I’m very sorry to hear that your IP address has been blocked. As requested, I have assigned a new IP address for your Linode:
xxx.xxx.xxx.xxx(此处为更换后的IP地址)
Please note, you will have to reboot your Linode for this change to be recognized.
I hope it works for you. Please don’t hesitate to contact us if you have any other questions or concerns.
Regards,
Jack Stitt
当然更多的是客服回复需要mtr结果(也不能随便给你想换就换不是?需要证据),并给出了如何获取mtr的方法,此时需要继续下面步骤5:
插入科普一下:Mtr是一个非常棒的网络连通性判断工具。
Hello,
Thank you for contacting Linode Support! I’m sorry to hear of the connectivity issues you are experiencing. So that we may further investigate this issue, could you please provide the output of “mtr –report” from your location to your Linode, as well as the reverse? More information on generating and interpreting MTR reports can be found in the Linode Docs:
https://www.linode.com/docs/networking/diagnosing-network-issues-with-mtr
If necessary, you can use LISH to issue the reverse report from your Linode. More information about using LISH can be found in the following guide:
https://www.linode.com/docs/networking/using-the-linode-shell-lish
Thanks in advance.
Ryan Arlan
5. 本地和远程机器运行mtr,并把结果回复给客服。
Linux/Mac,运行命令:sudo mtr -r 远程VPS的IP
Windows,下载Win-MTR,填写远程VPS的IP运行
那么远程VPS,如何运行mtr呢,选择Lish网页端登陆,如下图。
登陆后运行:mtr -r 国内本地IP
6. 由于步骤5对于很多小白用户太过复杂,这里提供一个“小聪明”:直接复制我之前对日本VPS做的mtr测试结果,更换红色字部分为有问题的远程IP。
友情提示:不保证成功,而且只能仅限日本机房使用,其他地区需要参考步骤5来做。
在Support点击刚刚写的那条Ticket,将下面内容修改后回复:
[root@local ~]# mtr -r 222.129.235.166
HOST: local Loss% Snt Last Avg Best Wrst StDev
1. 106.187.33.3 0.0% 10 0.5 0.6 0.5 1.4 0.3
2. 124.215.199.125 0.0% 10 0.8 7.1 0.8 14.0 5.3
3. otejbb205.int-gw.kddi.ne.jp 0.0% 10 3.0 2.2 1.6 3.4 0.6
4. tr-ote123.int-gw.kddi.ne.jp 0.0% 10 2.0 2.0 1.8 2.7 0.3
5. 203.181.102.58 0.0% 10 42.2 40.9 39.6 42.7 1.1
6. 219.158.97.73 0.0% 10 42.0 39.0 38.3 42.0 1.1
7. ??? 100.0 10 0.0 0.0 0.0 0.0 0.0› sudo mtr -r xxx.xxx.xxx.xxx(将xxx替换为你的原IP,仅限日本机房VPS)
Password:
HOST: local Loss% Snt Last Avg Best Wrst StDev
1.|– 192.168.1.1 0.0% 10 45.6 6.8 0.8 45.6 14.1
2.|– 222.129.232.1 0.0% 10 3.2 7.8 2.9 26.7 7.3
3.|– 61.51.246.157 0.0% 10 18.3 13.2 4.6 42.4 11.7
4.|– 202.106.34.9 0.0% 10 4.5 6.1 3.9 8.6 1.8
5.|– 124.65.194.29 0.0% 10 8.2 12.5 3.4 51.9 15.1
6.|– 219.158.6.170 0.0% 10 28.8 30.7 28.8 33.3 1.3
7.|– 219.158.4.214 0.0% 10 108.6 107.6 79.8 157.7 28.9
8.|– 219.158.97.74 10.0% 10 103.0 112.4 82.0 150.9 28.0
9.|– 203.181.102.57 0.0% 10 96.7 97.1 75.0 135.9 26.3
10.|– otejbb205.int-gw.kddi.ne. 0.0% 10 139.4 143.6 114.9 180.5 24.5
11.|– cm-fcu203.kddnet.ad.jp 0.0% 10 149.9 144.4 121.2 181.7 23.8
12.|– 124.215.199.122 0.0% 10 161.0 160.7 132.1 202.8 25.0
13.|– ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
6. 再等个10-20分钟,终于把新IP给盼来了:
Hello,
Thank you for providing that information. I have now changed your IP address. Your new IP address is xxx.xxx.xxx.xxx(此处为更换后的IP地址).
Please let us know if you have any other questions.
Kind Regards,
Sal
7. 重启VPS,打完收工。
8. 如果觉得以上步骤太麻烦,可以申请自助开通新的日本 Linode VPS,点我直达,教程链接:正常 Linode日本IP自助开通
支持
哈哈,我碰到过给还IP之后,继续被强,后面懒得申请了,直接换美国IP就没问题,日本的IP被墙的概率现在很大。
我的 Fremont ip 刚刚被墙,正发ticket呢。
linode 日本机房真是被搞残了,坐等日本新机房和新加坡机房。
原来是这样么…可是我才刚换的IP又被墙…这酸爽让人无法相信…
新开的IP是别人被墙换下来的,被墙概率当然大了