Re: SIP with NAT traversal and STUN using NPF

Emmanuel Nyarko <[email protected]> Tue, 16 Jun 2026 08:48:19 -0400
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>

> On Jun 16, 2026, at 3:48=E2=80=AFAM, Martin Husemann =
<[email protected]> wrote:
>=20
> On Mon, Jun 15, 2026 at 06:04:00PM -0400, Greg Troxel wrote:
>> So in the end, did the STUN and NAT work as I was describing, and =
this
>> was just having NAT set up correctly, instead of some odd not-right =
NAT?
>=20
> I still think NPF is missing the dynamic symmetric UDP mapping option,
> but it is not required for my use case (will investigate this closer,
> I may be totaly wrong on this, or if not it would be a good feature
> to add, but needs better/other testing).

Looked at it again and I agree it is something that should be looked =
into.

map dynamic $localnet -> $your_external should be able to just work
for your voip and not need mutliple NAT entries. I am currently =
investigating it
in code and testing for tcp and maybe can see where the issue is for=20
UDP and get it work.

Emmanuel