LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-25-2011, 12:00 PM   #1
glennbtn
Member
 
Registered: Dec 2009
Posts: 157

Rep: Reputation: 19
setup ssl and different port


Hi All

We have a server which currently is blocked with iptables. I would like to give customers access to just their section of a website on ssl and a different port to reduce hacking. ie /var/www/html/customer

Can anyone give me some basic instructions about how I would go allowing the customer to access there part on an ssl but say port 4443. Don't done any of this before or enabled ssl on centos/apache2

Thanks

Glenn
 
Old 03-26-2011, 04:53 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
I have this done on my personal server. On the server itself, in iptables, I block access to port 80, and leave 443 open. Now on my router, I have both 80 and 443 blocked, and I enabled port forwarding for the port of my choice to port 443 on my server. Then in a web browser, you need to force https to use a different port as such:
https://www.examplehost.com:666
 
  


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
trying to proxy SSL requests to another port to hide port # in URL mtlhd Linux - Server 11 10-19-2010 02:17 PM
LDAP SSL and Non-SSL port open? your_shadow03 Linux - Newbie 3 01-14-2010 06:57 PM
Apache2 SSL setup error, Port not available to bind EpicOfChaos Linux - Software 5 11-04-2008 04:29 AM
forwarding ssl port to a different ssl port number on a different machine coal-fire-ice Linux - Networking 6 03-15-2007 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:52 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