Koozali.org: home of the SME Server

Routing external IP to internal IP

Peter

Routing external IP to internal IP
« 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

Graeme Robinson

Re: Routing external IP to internal IP
« Reply #1 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.

Harry Harjono

Re: Routing external IP to internal IP
« Reply #2 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