LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-20-2008, 12:34 AM   #1
brianhenson
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 0
name based routing


Is there a way to create a name based routing system. To expand on this say you have 1 public IP and 5 servers that need to be to be acessed from the internet. say client xyz wants the site site.com the server forwards the traffic to the ip serving the site. While user2 needs to ssh to server site2.com which is on a different server. I know the website portion can be done using virtual hosts in apache in conjunction with mod_proxy but how could it be done for other services? Anyone got any ideas on this one?
 
Old 03-20-2008, 04:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it can't. ssh and other network services like it have no concept of hostnames on the wire. you enter site2.com it does a dns resolution. from that point on the network level only references IP addresses and port numbers, nothing about the original hostname itself. you'd be looking at port multiplexing or an ssh gateway.
 
Old 03-21-2008, 02:07 AM   #3
brianhenson
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Do you know any free proxy software for pop and/or Imap? I have configured the postfix server to relay the mail to internal domains but don't know how to get it off unless it has direct access to the imap/pop server.
 
Old 03-21-2008, 04:11 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
http://www.imapproxy.org/ among others. i think nginx might be useful too.
 
  


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
Routing based on Content?? Roddles Linux - Networking 6 01-09-2007 09:29 PM
Routing to a server based on subdomain jantman Linux - Networking 13 12-04-2006 10:08 AM
Port based routing neos Linux - Networking 1 09-21-2005 01:15 PM
help with policy based routing GaijinPunch Linux - Networking 4 06-19-2005 06:35 PM
question on flow-based routing cainiao Linux - Networking 1 08-20-2004 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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