|
发表于 2010-3-16 13:34:21
|
显示全部楼层
我也是2.6.33的内核,64位系统;安装过了,能用,但youtube没有连上.
这里说一下安装过程中遇到的问题:
1. 没有使用west-chamber的ipset包,而是使用portage里的ipset,方法是
/etc/make.conf里加入两行时改一下,
XTABLES_ADDONS="cui gfw zhang " (去掉ipset)
2.安装时显示CONFIG_NF_CONNTRACK_MARK: is not set when it should be.
需要设置下内核,位置是:
Networking support --->
Networking options --->
Network packet filtering framework (Netfilter) --->
Core Netfilter Configuration --->
<*> Netfilter connection tracking support
-- Connection mark tracking support
3.emerge 时 FEATURES="-sandbox" , 同时安装好ipset和iptables包
4.根据楼主的步骤配置好,ipset和iptables
这样就算完成了。
但我这里没有见到什么 /etc/init.d/west-chamber 文件。可能是我的内核设置成自动加载了。
最后.我把配置好的ipset和iptablesip内容保存起来,重启后bzcat YOUTUBE.bz2 | ipset -R 等步骤做的内容会清除掉,所以先保存起来比较方便
ipset -S > ipset.rules
itables-save > iptables.rules
重启机器,用倆个命令把事先保存的来个文件导入就行了
ipset -R < ipset.rules
itables-restore < iptables.rules
echo nameserver 8.8.8.8 > /etc/resolv.conf |
|