ipfw3 nat to dynamic ip

Bill Yuan bycn82 at gmail.com
Fri Dec 24 18:19:54 PST 2021


Hi,

I fully agree with you. it must be very helpful during the configuration,
especially in your network scenario.

Maybe, you can try to implement a script to do that, update the ipfw3
whenever the IP changes.

Regards,
Bill Yuan

On Sat, 25 Dec 2021 at 04:32, samg <samg at fastmail.com> wrote:

> On Fri, Dec 24, 2021, at 10:05 AM, Edgar Pettijohn wrote:
> > From the manual:
> >
> > [ifX*:net*]
> >                      Matches the IPv4 network of the first IPv4 address
> >                      assigned to the *ifX*.  It is intended to help
> matching the
> >                      IPv4 network of the IPv4 address assigned to the
> *ifX*
> >                      dynamically, e.g. by DHCP.
>
> Thats from the ipfw manual, not the ipfw3 manual. ipfw3 doesn't support
> that syntax in the nat config. Looking at the source, it parses the ip with
> inet_aton, which only accepts ips in the form xxx.xxx[.xxx[.xxx]]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20211225/577cf945/attachment-0003.htm>


More information about the Users mailing list