LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   name based routing (https://www.linuxquestions.org/questions/linux-server-73/name-based-routing-629368/)

brianhenson 03-20-2008 12:34 AM

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?

acid_kewpie 03-20-2008 04:20 AM

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.

brianhenson 03-21-2008 02:07 AM

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.

acid_kewpie 03-21-2008 04:11 AM

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


All times are GMT -5. The time now is 03:45 AM.