Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Posts
    263

    VPS Server Firewall

    Hello,

    I want to install APF firewall on my vps server.
    My server is OpenVZ based with hypervm.
    But i dont know wich port used by hypervm and lxadmin and must be open in firewall.
    Help me please.

    Thank You
    Need More Power?!
    PersianWhois.Com

  2. #2
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,750
    Type the following command ad you will get the listening ports on the server. Enable them on the firewall.

    netstat -lpn | awk {'print $4'}| grep :
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  3. #3
    Join Date
    Jun 2006
    Location
    United Kingdom
    Posts
    1,766
    LxAdmin uses 7777 and 7778

    It's irrelevant for hyperVM as that runs on the host machine.
    -- Adam

  4. #4
    Join Date
    Mar 2008
    Posts
    263
    I have 1 question, help me please.
    If i close for example 3636 on VPS server, is it (3636) banned for vps too? or all port opened in each vps and must install a firewall for each vps and limit this?!
    Need More Power?!
    PersianWhois.Com

  5. #5
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,750
    You mean "if you block a port on main node will it be blocked on all vps inside it?"

    This will not happen. You can also specify the modules that each each single vps should be used in the file /etc/sysconfig/vz/veid.conf
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  6. #6
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,446
    You will need to have firewall configured for each VPS as each of them acts as different entities.
    Sam
    Supportlobby.com - Expertise in Windows/Linux server support, IaaS and PaaS Management
    Spiralbean.com - Custom Software Development
    Email: exec @ activelobby.net | Skype: unni_active

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •