LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-22-2010, 03:43 AM   #1
lorenbo
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
Ubuntu Firewall - Hostname Redirect


Hi everyone,

this is my first post in this forum...

Here is my situation:
- Linux Firewall as a gateway of my network
- Windows Webserver with IIS 6.0
On the web server there are two sites (i.e. www.site1.com and www.site2.com) running on two different ports (i.e. 80 and 8000). Obviosly the requests comes to the firewall on port 80. How can realize that the firewall redirects the requests of www.site1.com on webserver:80 and www.site2.com on webserver:8000 ?
Thanks a lot,
L.
 
Old 07-23-2010, 12:48 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
I think you need reverse proxy.
http://en.wikipedia.org/wiki/Reverse_proxy
 
Old 07-23-2010, 08:05 PM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
I think you need to take a look at apache's proxypass, proxypassreverse and so on.

http://httpd.apache.org/docs/2.2/mod...html#proxypass
 
  


Reply



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
changing hostname on Ubuntu 8.04 xKintaro Linux - Networking 1 11-18-2008 12:43 AM
Firewall routing by hostname - possible? jread Linux - Networking 3 09-16-2005 11:34 AM
sendmail on solaris with no hostname & ipfw (or other firewall) tutorials Maidros Solaris / OpenSolaris 1 07-10-2005 01:34 PM
RedHat 7.2 firewall. Redirect FTP is not working. cybermante Linux - Networking 2 06-06-2005 02:11 PM
NAT can't redirect from firewall kelper Linux - Security 2 07-30-2003 04:40 PM

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

All times are GMT -5. The time now is 11:30 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
Open Source Consulting | Domain Registration