Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2004

    allow port 80 for all and others for certain ips


    i have installed apf on cpanel. the current settings open all the konwn ports and allow connection from all ips.

    what i want,

    i want to allow port 80 to be open for whole world

    and all the other ports available for only local 192.168.0.* and certain other ips.

    what changes should i do ?

  2. #2
    Once allowed ports in apf will be accessible for all .. which ports you don't want world to access ?

  3. #3
    Join Date
    Dec 2001

    How are you using 192.168.0 on cpanel ?
    If its aliased to an interface in the server, then, such connections that originate locally are not blocked.

    If you meant 192.160.0. on your local home network, you will need to get your public IP and enable that IP manually.

    Hope this points you to the right direction..

    Experienced OpenStack Admin For Hire
    regular as admin0 on freenode IRC on #openstack and #openstack-ansible channels

  4. #4
    Join Date
    Aug 2004
    - i want only port 80 to be accessable by outside world.
    - i have 2 interfaces on each of my machine, one is for local network and one is for didicated leased line.

  5. #5
    Join Date
    Jul 2002
    check the option IG_TCP_CPORTS in your config.apf and make sure only port 80 is listed there.

    This tutorial may help you a bit more :

  6. #6

    if you are using Cpanel, you may want to enable ports 2082 and 2083, as those are the ports mainly used for cpanel.

    Hope this helps

Posting Permissions

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