Linux – the Best Free Linux Gateway

gatewaylinux

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?

Best Answer

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).