Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm looking at moving away from using my DIR-825 as a gateway and moving into a Linux box to do it all for me. I've found IPCop, but I'm looking for something with a little more power.

My main goal is basically to be able to point different external domain names to different internal servers.

backup.example.com - 192.168.0.5
home.example.com - 192.168.0.1

I host my DNS on my own dedicated server (windows), so I don't know much about doing the gateway thing in my home (my hosting provider does it all for me).

Do any of you know of any free Linux Distros that can accomplish what I'm looking for?

share|improve this question

3 Answers 3

up vote 3 down vote accepted

It's not Linux, it's FreeBSD, but we swear by pfSense at our work. It won't do hostname-based forwarding though. I haven't seen any gateways except for ISA that support this (and ISA is far, far from FOSS), so you will need multiple external IP addresses to achieve what you want (this will be the same regardless of which gateway you choose though, unless you do a reverse proxy for HTTP requests).

share|improve this answer
    
thanks... I've chosen pfsense. I'm anxious for the 2.0 release... it's a pretty slick setup. –  Chase Florell Apr 17 '10 at 22:36
    
@rock, we've been experimenting with the 2.0 beta release, it's not bad. Definately not production-ready (we're having a few VPN routing issues on our testbed) but when it IS ready it should be a big step up for them (especially with multiple PPPoE) –  Mark Henderson Apr 17 '10 at 22:39

you can try untangle http://untangle.com

share|improve this answer

I believe you can also do this with Apache name based virtual hosts on a Linux server and then a redirect page for each one to an Apache proxy name that will get to the internal host. Kind of a complicated rube-goldberg way of doing it, but meets your specs for name based forwarding.

Your example has different IP addresses. If these are unique external IP addresses that need to be mapped, instead of name based ones, things are much easier. You could use SmoothWall to do it easily with unique IP's.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.