Index: head/sbin/ipfw/nat.c =================================================================== --- head/sbin/ipfw/nat.c +++ head/sbin/ipfw/nat.c @@ -163,9 +163,9 @@ } } if (sin == NULL) - errx(1, "%s: cannot get interface address", ifn); - - n->ip = sin->sin_addr; + n->ip.s_addr = htonl(INADDR_ANY); + else + n->ip = sin->sin_addr; strncpy(n->if_name, ifn, IF_NAMESIZE); free(buf);