Picking a Gateway: Router or Mac OSX Server

I'm planning on implementing Leopard Server at my business in the near term. It will be running on a PowerMac G5, and primarily used for file sharing amongst a team of about 10 employees. I also will use the VPN capabilities to access the network from home, and will take advantage of things like iChat, Wikis, and Print Serving over time.

The documentation describes using the Mac as a gateway through the installation of dual ethernet cards. Alternatively, I could continue to use my linksys router as a gateway. I didn't find much qualitative discussion on how to pick between the options. In general, I'd like some advice on whether to run services such a DCHP, VPN, etc... on the router or the OSX server.

Any suggestions on how to make the decision?

Thanks,
Raja Singh
Red House Studios
Walnut Creek, CA

PowerMac G5, Mac OS X (10.5), Server as Gateway

Posted on Nov 1, 2007 9:10 PM

Reply
8 replies

Nov 2, 2007 12:54 AM in response to Raja Singh

Depending on the router capabilites using it as the gw/(NAT)router, "firewall" is usually what people do. They just forward any public accessible traffic to the server IP.

What is considered a "real" firewall is debateable. Some say if you can't setup rules for outgoing traffic it isn't a real firewall, and if you don't get any notification when there are ongoing attacks and no intrusion detection, packet inspection, "is it really HTML in the port 80 (TCP) traffic" and so on...

VPN, DNS, DHCP is in my opinion better handeled or easier to setup by/in the OS X machine.
Most VPN routers doesn't have L2TP or PPTP and you'll need an other ("expensive") VPN client.

Nov 2, 2007 10:25 AM in response to Raja Singh

Hi

I echo Leif’s suggestions although you could change your router for a ZyXel one which does offer true NAT/SPI Firewall capabilities and has a wealth of logging features and notification if security is a concern. There are others. I am not affiliated with ZyXel in any way.

Ultimately it would depend on the type of broadband connection you have. I prefer to use OSX Server for routing and NAT if its a cable modem broadband service. You would not need to install a gigabit NIC, a standard 10/100 NIC would do. The RTL8139 chipset is supported by 10.3 or above without the need for a driver to be installed and they are cheap. If you have an oldish PC lying around with a 3rd party PCI NIC installed odds are it will be the RTL8139 chipset, use that. You could use this NIC for the WAN connection and the built-in gigabit NIC for the LAN. If the broadband service is down the phone-line then a ZyXel 662H (or HW) Router would be a better bet in my opinion.

As for qualitative discussion on how to pick between the options? These forums are full of such opinions and advice in response to posts such as yours. Ultimately its up to you.

Tony

Nov 2, 2007 10:42 AM in response to Leif Carlsson

Hi Leif -

Thanks for your input - much appreciated. To confirm my understanding:

1- Use the Gateway/Router, plus likely an extra unmanaged switch to get more jacks, as the hub of the network;

2- Connect the OSX Server as a node on the network, just as the other clients. Thus, only one network interface card is required;

3- Use the OSX Server for DCHP, DNS and VPN Services. So other clients will look fo rthe server for an address;

4- Forward all internet traffic, meaning the external requests to the static IP, to a port on the OSX server through the router's routing table.

Is that correct?

Thanks,

Raja

Message was edited by: Raja Singh

Nov 2, 2007 10:51 AM in response to Antonio Rocco

Tony -

The internet connection is a commercial DSL line and the router/gateway/modem is a Netopia Cayman 3346. The modem has four ports built in.

If I understand your reply correctly, you'd recommend adding a second NIC (10/100) to the PowerMac, and connect the DSL modem/gateway to the slower NIC. Then connect the faster Gigabit NIC to a switch (likely 16 or 24 port for my topology), and have the OSX machine run all the network services.

I assume the benefit of using a second NIC is enhanced security? Is the physical separation substantially more secure than simply configuring a static route?

Thanks for your help!

Raja

Nov 2, 2007 2:02 PM in response to Raja Singh

Hi

No. In the scenario I laid out you would disconnect the Netopia Caymen put it to one side and connect the ISP supplied cable modem (RJ45) to the second slower NIC for your WAN connection. That is if your broadband service is provided by ethernet cable. You would then launch Gateway Assistant on the server which will walk you through configuring OSX Server for /NAT and Firewall Services. The Gateway Assistant configures these services simply to begin with so there would have to be further manual configuration later on, some of it would involve the command line. In essence your server would then become the Gateway/Router.

If this sounds like too much work and effort for you then leave things as they are (as Leif has suggested) and work with what you’ve got.

You could connect a cable from the LAN side of your existing router to the second NIC and configure Gateway Assistant from there. You would in effect have two separate IP address ranges (sub-nets). Some people regard this as ugly - double NAT - some people look at this as extra security.

Tony

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Picking a Gateway: Router or Mac OSX Server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.