hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : Hosting Security and Technology Tutorials : allow port 80 for all and others for certain ips

Forum Jump

allow port 80 for all and others for certain ips

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Junior Guru Wannabe
Join Date: Aug 2004
Posts: 54

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 ?

Sponsored Links
Join Date: Jul 2005
Posts: 264
Once allowed ports in apf will be accessible for all .. which ports you don't want world to access ?

Web Hosting Master
Join Date: Dec 2001
Location: Netherlands
Posts: 773

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..

███ Remote Hands/Cloud Setup @ Europe
███ DevOps for Hosting Comapanies
███ Cloud Consultancy and Setups
███ since 1997

Sponsored Links
Junior Guru Wannabe
Join Date: Aug 2004
Posts: 54
- 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.

Web Hosting Master
Join Date: Jul 2002
Location: Malaysia
Posts: 698
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 :

Join Date: Dec 2005
Posts: 24

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


Related posts from
Title Type Date Posted
Physical Layer Management for Hosting Companies Blog 2014-10-06 12:41:24
South Korea, Hong Kong Provide Fastest Internet Speeds: Akamai Report Web Hosting News 2014-10-03 09:40:14
Equinix Launches Cloud Exchange to Provide High-Performance Connections to Cloud Services Web Hosting News 2014-04-30 18:21:42
Memset Upgrades Self-Service Cloud Management System Web Hosting News 2013-06-13 11:36:26
The Options for Blocking Outbound Spam: The Status Quo Blog 2013-06-06 14:08:10

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?