LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   transparent http tunneling (https://www.linuxquestions.org/questions/linux-server-73/transparent-http-tunneling-660788/)

goillini 08-06-2008 01:49 AM

transparent http tunneling
 
I was wondering if there was a way to redirect http traffic based on hostname.
My netwrok model would be similar to the following image: http://adamsworld.name/images/redirector setup.gif

I would forward port 80 on the router to go to the redirecter and then from there it would pull up the site from the internal IP of the server that the website is actually on.

Does anyone know of a package that can do this?
Thanks,
-Adam

affekt 08-06-2008 05:42 AM

nginx can act as a transparent tunnel, proxying HTTP traffic based on hostnames as well

goillini 08-09-2008 04:56 AM

Thanks! I got it working perfectly. There is one problem, there is almost no english documentation.
I found a page for what i wanted though: http://blog.kovyrin.net/2006/04/17/t...onfigurations/


I used a mix of the virtual host and reverse-proxy methods.

Thanks again,
-Adam

affekt 08-11-2008 06:45 AM

Well, yea, the Documentation isn't perfect but there are (like the blog you found) tons of resources on it around the web. Mainly because it grew popular as a httpd frontend for Ruby on Rails. In this case you should mainly RTFGoogle :)


All times are GMT -5. The time now is 07:31 AM.