6

shadowsocks报错'IP 127.0.0.1 is in forbidden list, reject'

 2 years ago
source link: http://pein0119.github.io/2016/03/21/shadowsocks%E6%8A%A5%E9%94%99-IP-127-0-0-1-is-in-forbidden-list-reject/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

shadowsocks报错'IP 127.0.0.1 is in forbidden list, reject'

最近为了科学上网,买了台vultr的日本vps,每月5美金,1T流量,性价比不错。

安装完shadowsocks,配置了端口号,使用下面的命令启动:

# ssserver -c /etc/shadowsocks/config.josn -d start

客户单使用的是shadowsocksX,可以到下面的地址下载:https://github.com/shadowsocks/shadowsocks-iOS/releases
客户端配置完成之后,发现google还是连不上。
查看shadowsocks日志

# tail -f /var/log/shadowsocks/shadowsocks.log

日志中有如下错误:

ERROR    IP 127.0.0.1 is in forbidden list, reject

判断应该是防火墙的问题。

我使用的是centos 7, 使用下面的命令关闭防火墙

# systemctl stop firewalld.service

禁止开机自启动

# systemctl disable firewalld.service

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK