在中国大陆,由于网络环境的特殊性,访问国外网站常常会遇到困难。为了突破这种局限,许多人使用Shadowsocks来科学上网。而通过gfwlist可以智能地绕过GFW(Great Firewall)对被封锁网站的封锁,让你更加便捷地访问互联网。
以下是在OpenWRT路由器上配置Shadowsocks并使用gfwlist的步骤。
bash opkg update opkg install shadowsocks-libev
bash opkg install chinadns
bash opkg install dnsmasq-full
/etc/dnsmasq.conf
文件中加入以下配置:bash conf-file=/etc/dnsmasq_gfwlist.conf
/etc/dnsmasq_gfwlist.conf
文件,并加入以下内容:bash server=/#/127.0.0.1#5353 ipset=/gfwlist/gfwlist
127.0.0.1#5353
。在完成上述步骤后,重新启动路由器,让配置生效。
通过以上步骤,你可以在OpenWRT上成功配置Shadowsocks并使用gfwlist功能来应对GFW的屏蔽,让你更畅快地访问互联网。