Subject: rdr on a dynamic IP?
To: None <tech-net@netbsd.org>
From: IvanK. <chepati@yahoo.com>
List: tech-net
Date: 06/01/2002 10:43:23
Hi I need to redirect http traffic on port 80 of a dynamically assigned IP to
an internal server. The ipf documentations says the syntax is:
rdr ne0 ExternalIP/mask port 80 -> InternalIP port 80 tcp
rdr ne0 ExternalIP/mask port 80 -> InternalIP port 80 udp
The problem is that ExternalIP is, as I mentioned, dynamic and I have no way
of knowing what it is. PF allows you to use an interface and the translation
from interface to ip is done at run time. This however doesn't seem to be
the case with ipf.
Anyone can help me?
Thanks,
chepati