LinuxQuestions.org
Review your favorite Linux distribution.
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 01-13-2007, 12:45 AM   #1
he1ium
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
Multiple Domains / Multiple Boxes


Here is my setup: ISP <-> Slackware(Gateway/router/NAT, domain1.com) <-> Winblows(domain2.com)

My domain1.com at the Slackware box works just fine. Trying to figure out how to forward incomming traffic from my Slackware Gateway to domain2.com on my winblows box on the internal LAN. As of this moment, the Slackware box is just running a caching DNS via BIND and Apache 1.3. Any suggestions would be appreciated and I can post the applicable code if need be. Hoping for simple solution.
 
Old 01-13-2007, 12:55 AM   #2
osdeals
Member
 
Registered: Jul 2006
Distribution: RHEL, CentOS, PuppyLinux, SuSe, Ubuntu, Debian
Posts: 59

Rep: Reputation: 15
Do you have only one IP address from your ISP and are looking to forward traffic for a specific port to the Windows box?
Example: TCP port 8080

Or do you have multiple IP addresses and are looking to do a one-one static NAT to map a particular IP to your windows box?
 
Old 01-13-2007, 01:21 AM   #3
abakali
Member
 
Registered: Dec 2005
Location: karachi
Distribution: RedHat
Posts: 75

Rep: Reputation: 15
is their is any perticular traffic like 25,110,80 if yes
you can set via iptables incomming port forwording to local ip
 
Old 01-13-2007, 02:53 AM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
If you only have one external IP address but you want to host two websites on port 80 (and not on the same machine) then you'll probably need to use mod_proxy and create a reverse proxy. Be very, very careful that you do not accidentally create an open proxy this way!!!
 
Old 01-14-2007, 02:30 AM   #5
he1ium
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I have only 1 IP Address. I host domain1.com on the slackware box that also serves as my network's gateway. I need to host domain2.com on a win2003 box on the internal LAN. Was hoping not to have to use different ports. Need a way for my slackware box to recognize incoming requests for domain2.com and forward them to the win2003 box.
 
  


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
Sub Domains & Multiple Domains (Apache) lugos Linux - Server 1 09-01-2006 10:22 PM
Bind configuration for multiple sub-domains on multiple sites JF1980 Linux - Networking 3 08-31-2006 01:28 PM
sedmail, multiple domains, no user boxes Bake-SaleNet Linux - Networking 0 01-20-2004 02:30 AM
RH 8.0 Multiple domains brif8 Linux - Networking 3 01-27-2003 06:08 PM
Multiple Domains? cic Linux - Networking 2 01-23-2002 06:38 AM

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

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