[Lilug] port forward by domain?

Kenneth Downs ken at secdat.com
Mon Feb 9 07:52:04 PST 2009


Justin Dearing wrote:
> Ken,
>
> Just set the mx records for all domains to go to the public ip and 
> have your smtp server of choice do the routing.

Of course.  Should have thought of that.

>
> On Fri, Feb 6, 2009 at 3:57 PM, Kenneth Downs <ken at secdat.com 
> <mailto:ken at secdat.com>> wrote:
>
>     Ah, right of course.
>
>     Well for 22 you can just hop, that's not a problem, and for 25 I
>     guess I can put both domains together on the box w/o a big deal.
>
>     Justin Dearing wrote:
>>     Ken,
>>
>>     Impossible for the other protocols.
>>
>>     Multiple domains on a single IP going to different locations
>>     works because apache looks at the domain in the http header
>>     (levels 5-7 of the OSI model) This is why each ssl site needs its
>>     own IP address with apache (or IIS or whatever). Since each
>>     website has its own ssl cert, the http header wont get decrypted
>>     until after it knows what domains to go to and what cert to use.
>>
>>     In the case of apache having one domain on a separate box, have
>>     the main server redirect to that, or just buy a second IP address.
>>
>>     Regards,
>>
>>     Justin Dearing
>>
>>
>>     On Fri, Feb 6, 2009 at 3:42 PM, Kenneth Downs <ken at secdat.com
>>     <mailto:ken at secdat.com>> wrote:
>>
>>         Let's say I've got a single public ip, multiple domains.
>>
>>         All of the domains but one can sit on one box.  Apache can do
>>         virtual hosts, fine.
>>
>>         But one of the domains has to be on a separate box.
>>
>>         I know Apache can do this for port 80, but I'm not sure what
>>         module does it.
>>
>>         But I'd also like to do this for 22 and 25.  Is there a
>>         general tool for linux that does this?
>>
>>         -- 
>>         Kenneth Downs
>>         Secure Data Software, Inc.
>>         www.secdat.com <http://www.secdat.com>  
>>          www.andromeda-project.org <http://www.andromeda-project.org>
>>         631-689-7200   Fax: 631-689-0527
>>         cell: 631-379-0010
>>
>>         _______________________________________________
>>         Lilug mailing list
>>         Lilug at lilug.org <mailto:Lilug at lilug.org>
>>         http://lists.lilug.org/listinfo.cgi/lilug-lilug.org
>>
>>
>>     ------------------------------------------------------------------------
>>     _______________________________________________ Lilug mailing
>>     list Lilug at lilug.org <mailto:Lilug at lilug.org>
>>     http://lists.lilug.org/listinfo.cgi/lilug-lilug.org
>
>
>     -- 
>     Kenneth Downs
>     Secure Data Software, Inc.
>     www.secdat.com <http://www.secdat.com>    www.andromeda-project.org <http://www.andromeda-project.org>
>     631-689-7200   Fax: 631-689-0527
>     cell: 631-379-0010
>         
>
>
>     _______________________________________________
>     Lilug mailing list
>     Lilug at lilug.org <mailto:Lilug at lilug.org>
>     http://lists.lilug.org/listinfo.cgi/lilug-lilug.org
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Lilug mailing list
> Lilug at lilug.org
> http://lists.lilug.org/listinfo.cgi/lilug-lilug.org
>   


-- 
Kenneth Downs
Secure Data Software, Inc.
www.secdat.com    www.andromeda-project.org
631-689-7200   Fax: 631-689-0527
cell: 631-379-0010

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lilug.org/pipermail/lilug-lilug.org/attachments/20090209/d0d3f324/attachment-0003.htm>


More information about the Lilug mailing list