Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jun 2008
    Posts
    17

    Default Close port 2096

    How I can disallow vistors to access webmail by closing port 2096 ?

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    If you want to block access to webmail for all users you can just add a firewall rule (note webmail uses two ports: 2095 and 2096 [SSL]):

    Code:
    iptables -A INPUT -p tcp -m tcp --dport 2095:2096 -j DROP
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

  3. #3
    Member
    Join Date
    Jun 2008
    Posts
    17

    Default

    Quote Originally Posted by garrettp View Post
    If you want to block access to webmail for all users you can just add a firewall rule (note webmail uses two ports: 2095 and 2096 [SSL]):

    Code:
    iptables -A INPUT -p tcp -m tcp --dport 2095:2096 -j DROP
    This is shell command or what ?

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Correct, that is a shell command.
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

  5. #5
    Member
    Join Date
    Jun 2008
    Posts
    17

    Default

    Quote Originally Posted by garrettp View Post
    Correct, that is a shell command.
    If I have a shared account only with not allowed shell command, I can use programming for example by php or perl (cgi) or there some option in cpanel to block this port ?

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    If you have only a shared account you will not have access to do something like blocking a port as that is considered a admin-level task. YOu'll have to ask your server administrator to do this for you.
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

Similar Threads & Tags
Similar threads

  1. PCI Compliance fail - Port 2096
    By handsonhosting in forum Security
    Replies: 3
    Last Post: 08-19-2010, 05:20 PM
  2. Can not access port :2082, 2095, 2096 need help !
    By zuchy in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-27-2005, 01:49 AM
  3. Port 2096
    By jackal in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-21-2004, 01:51 PM
  4. Close Port
    By xp2u in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-14-2003, 01:54 AM
  5. Client Authentication on port 2096 What for?
    By ozzi4648 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-28-2002, 07:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube