cd /var/lib/vz/template/cache wget http://nchc.dl.sourceforge.net/project/pbxinaflash/PIAF-2.0.6.2.1-CentOS-6.2-64bit-OpenVZ/centos-6.2-purple1.8.8-piaf_2.0.6.2-5_amd64.tar.gz
為了要使每個 VPS 能完全使用 iptables 功能,必須修改 VZ 設定
sed -i 's|ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length|ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp|' /etc/vz/vz.conf /etc/init.d/vz restart
Images 0 | ||
---|---|---|
No images to display in the gallery. |