Fedora Linux Support Community & Resources Center
  #1  
Old 16th February 2009, 11:35 AM
grayboots Offline
Registered User
 
Join Date: May 2006
Posts: 44
Static Routes ?

Hi,
I have an old compaq 6500 which hosts my local intranet. It has samba running great and this has our office web server applications on it too. This is known as 'server' and has a fixed ip address reserved in our router. If you type 'http://server you land on the index page of the web application.
I have a second network card attached to my router with a fixed ip. I would like it to host an inbound route that lands on a different page so that people from ouside the local network can not land on my index page, they are routed somewhere else.
At the moment i am doing this through just the one card and routing them in my software but i think this would be better.
Does anyone out there know how this is done. Its been working great for about 5 years and i dont want to break it !!!

Thanks

Grayboots
Reply With Quote
  #2  
Old 16th February 2009, 02:18 PM
SuperSkippy Offline
Registered User
 
Join Date: Jan 2009
Posts: 72
I almost understand you, but not quite.

So your setup is:

Internet------Router---------Local Network (containing "server").

What you want is a configuration where anyone on the local network can get to server, but anyone from outside (the "internet") gets redirected to another IP when they try and access the server, and you'd like to configure the router to make this happen. Right?
Reply With Quote
  #3  
Old 16th February 2009, 03:00 PM
grayboots Offline
Registered User
 
Join Date: May 2006
Posts: 44
Hi , thanks for the reply,
I would like people from outside (internet) to be directed to another page in my webserver , like a customer portal .
Reply With Quote
  #4  
Old 16th February 2009, 03:04 PM
SuperSkippy Offline
Registered User
 
Join Date: Jan 2009
Posts: 72
I'd do this on the web server. If the web server is Apache httpd, you can do this using mod_rewrite. Do a rewrite based on the user's IP address
Reply With Quote
  #5  
Old 16th February 2009, 04:24 PM
grayboots Offline
Registered User
 
Join Date: May 2006
Posts: 44
I had a different idea !

I thought i could get them all to log in. If my first card takes all LAN traffic to my server index page can my second card take everyone outside of the LAN to say ".... /portal/users/index.php ". The router is already sending all inbound traffic to the second card.
Reply With Quote
Reply

Tags
routes, static

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Static routes Flak Pyro Servers & Networking 1 10th April 2007 04:07 PM


Current GMT-time: 08:59 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat