E-Smith SME Server: Part II

In our last column we introduced the E-Smith SME Server, a dedicated Linux firewall/gateway distribution. This time we will look at configuring E-Smith SME Server to allow services on your network to be accessible from the public Internet. (CD images of E-Smith SME Server can be downloaded from www.e-smith.org.)

The Web interface

The advanced features of the E-Smith firewall can be configured from a Web interface. If you have configured your computer to use the DHCP service provided by E-Smith, you can connect to the Web interface by typing http://hostname/server-manager into a browser; replace hostname with the name given to the server during installation. You can also access the Web interface in text mode by selecting item 5 from the main menu of the E-Smith console.

Port forwarding

A dedicated firewall solution such as E-Smith is a great way to block your network from the outside world, but what if you have some servers on your network which you want to be accessible from the public Internet? Port forwarding is a technique that redirects a port from your E-Smith firewall to a port on another machine on your network, thus making the service on the machine behind the firewall accessible from the Internet.

For example, if you have a Web server running on a machine with the IP 192.168.0.25 and this machine is connected to your E-Smith firewall, if a user connects to port 80 (the standard Web server port) on your firewall, E-Smith will magically redirect this request to 192.168.0.25 port 80 and adjust the response from your Web server to make it appear as if it came from the E-Smith firewall. To the user browsing your Web server, this is completely transparent.

Port forwarding can be configured from the main menu of the Web interface to your E-Smith server. To add a forward you will need to know the IP address of the server to which you wish to forward and the port on which the service you wish to make available runs. Click the Add button to add a forward and enter this information in the form. Once added, you will be able to test the port forward by attempting to connect to your firewall on the specified port from the Internet.

A great way to test a port forward quickly is to use the telnet tool under both Linux and Windows. To test a port forward with telnet, type the following at a prompt:

telnet [ip_of_firewall] [port]

If the port is being forwarded, you will see telnet connect; if not, you will eventually receive a connection refused or connection timed out error. It is worth noting that any servers made available to the Internet via port forwarding should be properly secured before a port forward is added.

VPNs with PPTP

A more secure way to grant access to servers located behind your firewall is to use a VPN. This is a bridge between two private networks, for example your home network and your office network, over a third network, in most cases the Internet. Once connected to the VPN from home, you are able to access the office network as if your computer were physically located on the office network.

Current beta versions of E-Smith SME Server 6.0 support PPTP-based VPNs. The final release version of E-Smith SME Server 6.0 (at the time of writing, beta 3 is available) will, hopefully, support much more secure IPSEC-based VPNs.

PPTP connections can be enabled under the Remote Access menu in the Web interface. Set the first entry in this menu to 1 to allow a single user to connect to your VPN at a time. Keep this number as low as possible to prevent unauthorised users connecting to your VPN. Each user of your VPN will require a username and password, which can be added under the Users menu in the Web interface. When a new user is added, set the Allow VPN Access option to Yes if they require VPN access. Do not grant access to your VPN to users who do not need it. In order to connect to your VPN server from another Linux computer you will need to install PPTP Client, which has been included on this month’s cover CD. Extensive documentation on using PPTP Client is available at http://pptpclient.sourceforge.net.

To connect to your VPN server with Windows, add a new network connection and select the VPN connection type. You will need to supply the firewall IP, your username and password to connect. For more information on connecting to a VPN under Windows XP, see Microsoft Technet (http://support.microsoft.com/default.aspx?scid=fh;EN-US;KBJUMP) article 314076. Windows 2000 users should consult Microsoft Technet article 308208.

Join the PC World newsletter!

Error: Please check your email address.

Struggling for Christmas presents this year? Check out our Christmas Gift Guide for some top tech suggestions and more.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Alastair Cousins

PC World

Most Popular Reviews

Follow Us

Best Deals on GoodGearGuide

Shopping.com

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Latest Jobs

Shopping.com

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?