Was this page helpful?

Proxmox 管理

    下載安裝 Template

    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 
    
    

    設定 iptables 模組

    為了要使每個 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 
    
    Was this page helpful?
    標籤 (Edit tags)
    • No tags
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core