[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

NAT



Could anyone give me a working NAT setup? I'm not sure if what I want to do
is possible at all:

INTERNET --- Debian Router --- FTP-Server

Let's say the route gets IP number 1.1.1.1 on the external site and
192.168.100.1 on the internal one. The ftp of course gets an private
address, says 192.168.100.2. But since it has to have contact to the outside
it also needs a official address, let's say 1.1.1.2. Now I'd like to route
all packets over the router. Thus I tried to add a nat rule but I cannot get
this going. If I translate an internal number, say 192.168.100.3 to the ftp
server all is well.

Michael

-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!


Reply to: