Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Member hostmedic's Avatar
    Join Date
    Apr 2003
    Location
    Ohio
    Posts
    552
    cPanel/Enkompass Access Level

    DataCenter Provider

    Post ProxMox (openvz) IPTABLES how to:

    since your hunting here - chances are you will want an easy to use editor - so use NANO.

    nano /etc/vz/vz.conf

    Then do Control W and SEARCH for IPTABLES

    Comment out (by adding a # symbol to the line ) the current IPTABLES= line

    and then copy/paste and add this line directly underneath the line you just commented out.

    IPTABLES="ipt_REJECT ipt_recent ipt_owner ipt_REDIRECT 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"


    It is important to make sure this is all in 1 line and that it does not wrap.

    Now Control-S and save - overwriting the current file.

    Finally do an /etc/init.d/vz restart
    to restart openVZ.

    Congratulations - your ProxMox VPE (openVz) server is now setup to allow IPTABLES

    From here you can install CSF - install BFD/APF or your chosen IPTABLES based firewall.
    Last edited by hostmedic; 06-07-2009 at 03:49 AM. Reason: changing IPTABLES= line for new additions for latest csf version.

Similar Threads & Tags
Similar threads

  1. Replies: 14
    Last Post: 05-18-2011, 01:23 PM
  2. openvz iptables
    By rootvn in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-07-2009, 09:58 PM
  3. OpenVZ or Xen
    By josh6025 in forum New User Questions
    Replies: 1
    Last Post: 02-01-2009, 05:27 PM
  4. openVZ VPS install
    By johnyqqq in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 02-17-2007, 01:02 AM
  5. HELP: cPanel on OpenVZ
    By Dr. Bogger in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-18-2006, 11:53 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube