Image: D-Link firewall
D-Link's firewall has a dedicated DMZ port

Hands on: Getting to grips with Network Address Translation

Improve security and avoid the pitfalls of running multiple machines using one IP address

Written by Alan Stevens

No matter what kind of Internet connection you have and regardless of whether you have a fixed or dynamically assigned public IP address, chances are you’re using network address translation (Nat) somewhere in your setup.

Usually implemented on the Internet router, gateway or firewall, Nat technology provides several benefits, including the ability to share a single public IP address between multiple users.

It does this by altering outbound packets sent from Lan devices so they all appear to come from the one shared public IP address. Nat then routes the return traffic back to the appropriate local systems, doing away with the need to assign public addresses to each and every host on your Lan.

Nat also has the effect of ‘hiding’ local IP addresses, giving at least a basic level of security against would-be hackers. But it can also cause problems, especially when you want to host your own public email, web, VPN (virtual private network) and other servers.

The problem in a nutshell

The main problem with Nat stems from the fact that it hides local addresses. This is good in terms of security, but bad if you want to allow remote users to connect to a local web, email or VPN server: the local address simply won’t work and the only publicly accessible address you’re likely to have will be assigned to the Internet router.

To host your own servers, either you have to bypass Nat altogether or find a way of forwarding traffic destined for those systems onto the appropriate ‘hidden’ local addresses.

Where more than one server application is involved, you may need a way of directing different types of traffic to the correct hosts – SMTP, Pop3 and Imap packets to the mail server; HTTP/HTTPS traffic to the web server, encrypted IPSec tunnels to the VPN server and so on.

Most Nat-enabled devices have this functionality built in. But how it’s implemented, what the options involved are called and how you configure them can vary enormously.

The hardware DMZ

Before looking at examples, there is one alternative: to sidestep the issue of Nat altogether. That doesn’t mean turning it off, but using hardware arranged to create a so-called demilitarised zone (DMZ) where local network ports are provided that are on the Internet side of the Nat defences.

Because they fall outside the scope of the Nat technology, anything attached to these ports can be assigned public IP addresses of their own, doing away with the need for any special measures to overcome Nat problems; assuming you’ve been allocated a block of addresses by your ISP (see The right address LINK).

Tags:

reader comments

related articles

Hands on: The Flickr phenomenon

If you haven’t discovered it yet, find out why this online photo site is causing waves 14 Mar 2006

 

Hands on: How to change the Windows startup screen

Customise your startup for XP; plus colour management investigated 28 Mar 2006

Ubuntu tutorial

Download PDFs of the PCW Ubuntu Hands on tutorial 23 Feb 2006

QuickTime flaw adds to Apple's woes

Exploit especially dangerous for Firefox users 27 Nov 2007

related whitepapers

today's top stories

Coding moves with the times

We examine how software development has evolved to better serve the changing needs of business, and speaks to IT leaders who are delivering significant benefits to their organisations by using the latest programming methods 15 Oct 2008

Agile framework simplifies offshore development

Case study: Getronics business application services 15 Oct 2008

Computing launches all-new IT jobs site

Updated Computingcareers.co.uk provides enhanced feature for jobseekers 14 Oct 2008

Q&A: BT Business head of SaaS, Chris Lindsay

BT's head of software-as-a-service explains the benefits of the on-demand delivery model and how the current economic downturn could force firms to re-evaluate how they buy software 14 Oct 2008

WiMax: Threat or opportunity?

We examine the merits of WiMax and its benefits relative to other wireless technologies in our latest video 13 Oct 2008

Advertisement

Newsletter signup

Sign up for our range of FREE newsletters:

Existing User

Newsletter user login:

Jobs

Related jobs

Job of the week

Job alerts

Sign up here

Find your next job

IT Salary Checker

Check salary here

Advertisement

White papers

Search white papers

Top categories

VPN, Extranet and Intranet Solutions

WAN/ LAN Solutions

Network Security

Interoperability-Connectivity

Grid/ Utility Computing

Latest poll

Are you worried about your job prospects in IT over the next 12 months?

Are you worried about your job prospects in IT over the next 12 months?

Will the economic crisis affect your job prospects?

Previous poll results

Latest audio and video articles

Remote workerVideo

WiMax: Threat or opportunity?

We examine the merits of WiMax and its benefits relative to other wireless technologies in our latest video 13 Oct 2008

programming codeVideo

The definitive guide to software development

Five key trends and five best practice tips to help you improve your programming capabilities 09 Oct 2008

Latest in-depth articles

Features

Enter the dragons' den

Getting an innovative IT product off the ground takes cash, commitment and a lot of patience 15 Oct 2008

TimepieceFeatures

Coding moves with the times

We examine how software development has evolved to better serve the changing needs of business, and speaks to IT leaders who are delivering significant benefits to their organisations by using the latest programming methods 15 Oct 2008

Advertisement

Primary Navigation