Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Peter on July 10, 2001, 08:45:25 PM

Title: Routing external IP to internal IP
Post by: Peter on July 10, 2001, 08:45:25 PM
Hello

I have an eSmith running as a gateway on a SDSL-line with static IP-adress, internal and external DNS, mail-, ftp- and web-server.
Its all working fine. 8 people are surfing thrue the gateway. All internal machines have static internal IP-adresses.

Now i have a special problem:

I want to map one specific external IP-adress to another physical machine in the internal network. This is for supplying a physical server for a client.

My question is:
Which configurations i have to do to achieve this.

Thanks in advance for Your help

Peter Gandert
Title: Re: Routing external IP to internal IP
Post by: Graeme Robinson on July 11, 2001, 04:13:54 AM
Peter,
short answer = you can't.
longer answer = you can forward port requests (UDP and TCP) to a machine on the internal net (see the port forwarding HOWTO). So if you know what services are required on the machine it can be done.  Otherwise you are better off bringing the server outside th firewall.
Title: Re: Routing external IP to internal IP
Post by: Harry Harjono on July 11, 2001, 10:30:21 AM
I am still exploring this area of firewall/VPN on linux box. I came across this link http://netfilter.filewatcher.org/ipchains authored by Rusty Russell. It has an example for directing network traffic using ipchains utility. Happy reading. -HH