Subject: Re: rdr on a dynamic IP?
To: IvanK. <email@example.com>
From: Ron Roskens <firstname.lastname@example.org>
Date: 06/01/2002 10:18:39
I use an extra script to update my ipf.conf and ipnat.conf settings from
two template files.
If your using DHCP, check into /etc/dhclient-exit-hooks.
If your using ppp, check out /etc/ppp/ip-up.
On Sat, 1 Jun 2002, IvanK. wrote:
> Date: Sat, 1 Jun 2002 10:43:23 -0400
> From: IvanK. <email@example.com>
> To: firstname.lastname@example.org
> Subject: rdr on a dynamic IP?
> 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?