linode-GFW

Posted

昨天莫名的vps被GFW墙了,还为以是新网的dns服务器又挂了,终于有个朋友打电话过来说server是不是挂了..

sudo /usr/local/sbin/mtr --report 106.xxx.xxx.108
HOST: grayson.local Loss% Snt Last Avg Best Wrst StDev
1.|-- 58.39.84.1 0.0% 10 5.8 7.1 3.9 13.3 3.1
2.|-- 58.39.84.1 0.0% 10 5.5 6.1 3.7 9.9 2.1
3.|-- 124.74.30.145 0.0% 10 9.9 7.1 5.3 9.9 1.7
4.|-- 124.74.211.165 0.0% 10 7.1 9.9 6.6 13.3 2.6
5.|-- 61.152.86.42 0.0% 10 5.6 8.4 5.6 15.2 3.1
6.|-- 202.97.50.238 0.0% 10 8.6 8.5 5.4 13.2 2.4
7.|-- 202.97.35.90 0.0% 10 19.1 11.4 8.1 19.1 3.5
8.|-- 202.97.60.93 0.0% 10 12.6 9.9 6.3 15.2 2.9
9.|-- 118.155.194.177 0.0% 10 240.9 236.9 226.4 253.9 8.1
10.|-- otejbb205.int-gw.kddi.ne. 0.0% 10 239.5 236.1 227.2 244.1 5.3
11.|-- cm-fcu203.kddnet.ad.jp 0.0% 10 247.4 242.0 232.8 250.1 6.4
12.|-- 124.215.199.122 0.0% 10 238.3 236.5 227.2 245.5 5.8
13.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0

安装mtr

然后联系了linode的客户.

Hello,

sshd server is no problem! maybe China Firewall(GFW) disable this IP(106.xxx.xxx.108). Pls advise how to solve this problem?

linoder的客户dwfreed回复

To correct this issue, I've changed your Linode's IP address to 106.xxx.xxx.177 at this time. You'll need to reboot your Linode for the changes to take effect. If we can be of any further assistance, please let us know. -Doug

因之前改为Static IP Configuration

http://library.linode.com/networking/configuring-static-ip-interfaces

sudo vi /etc/network/interfaces
iface eth0 inet static
 address 106.xxx.xxx.177
 netmask 255.255.255.0
 gateway 106.xxx.xx.1

如果之前没有改为静态ip的话,前直重启,即可。

john@li388-108:~$ sudo /etc/init.d/networking restart
john@li388-108:~$ sudo reboot

ok可用了!linode还是不错的,很多方面都很成熟的。


此文章 短链接: http://dlj.bz/76d9KS