LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-21-2004, 05:49 AM   #1
niclarke
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
Question Linux config IP


Hi,

I was looking into how ipcop handled port forwarding and found out that it was using iptables. What I would like to do it handle incoming url's as well as port forwarding e.g:

www . url1 . com ---> 192.160.0.1
www . url2 . com ---> 192.160.0.2
and at the same time: 1.23.45.678 ---> 192.160.0.2

Is this possible using iptables or is there another way?

The reason for this is that I'm currently using virtual hosting in my Apache web server, which works find. BUT for SSL to work correctly you need one external ip address (mapped to the common name found in both the domain and SSL certificate) and an internal ip address (Apache listing on).

So I was wondering if I could adapt the current firewall to test the incoming requests and then forward them on to the correct internal ip address, which is where Apache SSL will then handle it. I could simply buy more external ips but this is not an option for me.

If I'm on the wrong path with this one does any one know how to handle this? Is there a way to handle SSL request (or any url request for that matter) using one external ip address and many internal address for Apache to listen on?

Regards,
Nick
 
Old 07-21-2004, 07:34 AM   #2
niclarke
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Could I use a web proxy?

Hi,

After digging around some more I found: http://www.squid-cache.org/ and was wondering if I could use this!?

Does any one have any ideas, feelings about this approach?

Additional info: http://squid.visolve.com/squid/reverseproxy.htm

Nick
 
  


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
Which Linux distro for this config? archish Linux - General 3 05-18-2005 07:22 PM
Linux Config Problem Thanatos Linux - General 2 12-24-2004 05:27 PM
Linux config amnesty_puppy Linux - Newbie 2 09-23-2004 02:05 PM
linux kernal configurator tool points to /usr/src/linux-2.4/arch//config.in (BUG?) Stubzyboy Linux - Newbie 3 03-11-2004 03:03 AM
modem config in linux laman Linux - Hardware 2 08-30-2003 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:47 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration