LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2005, 04:54 PM   #1
lothario
Member
 
Registered: Apr 2004
Posts: 340

Rep: Reputation: 30
Allow this particular web page access on port 443 ONLY


I have https and SSL working on Red Hat 9.

This (internal) test page is visible and working:
https://192.168.3.104:443/test_1.php


But the same page is also visible and working at:
http://192.168.3.104/test_1.php


How can I ensure that:
https://192.168.3.104:443/test_1.php
is visible ONLY on port 443 and NOT on port 80


Last edited by lothario; 01-14-2005 at 05:30 PM.
 
Old 01-14-2005, 08:43 PM   #2
Travers
Member
 
Registered: Jul 2004
Location: Des Moines
Distribution: Gentoo
Posts: 111

Rep: Reputation: 15
Setup an iptables firewall to block port 80. This can be done for the machine, the network the machine is on, or the whole world. HTTP traffic can still go through, but any services running will be hidden and inaccessable to the outside world. This won't work if you're running a web server, but I doubt that. =)
 
Old 01-14-2005, 10:14 PM   #3
lothario
Member
 
Registered: Apr 2004
Posts: 340

Original Poster
Rep: Reputation: 30
I can block port 80 with iptables but that will block access to the rest of the HTTP traffic too.

I would prefer that ONLY
https://192.168.3.104:443/test_1.php
not be available on port 80.
And everything else that is already available on port 80 stay visible on port 80.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
can we access port 443 without root permission prasad_koukuntla Linux - Security 2 07-31-2005 05:52 PM
access using port 443 gtoerner Linux - Security 3 07-14-2005 05:48 PM
web page accessing port 4662 before allowing connect? skog Slackware 2 03-12-2004 02:38 PM
remote port scan web page? e1000 Linux - Networking 2 11-11-2003 09:36 AM
Web page user access Cristian Negres Linux - Newbie 2 01-05-2002 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration