FLT_NATS - NAT source (source behind NAT)
FLB_NATB - NAT branch (usrloc destination behind NAT)
As Alex mentioned, there are different ways to do NAT handling. Some people prefer the manual approach as done in the kamailio default configuration, some (more) people nowadays just to it in all cases and not differentiate that much anymore.
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com
> -----Original Message-----
> From: Benoit Panizzon via sr-users
sr-users@lists.kamailio.org
> Sent: Montag, 29. April 2024 12:13
> To: sr-users@lists.kamailio.org
> Cc: Benoit Panizzon
benoit.panizzon@imp.ch
> Subject: [SR-Users] Understanding NAT Flags
>
> Hi Gang
>
> Somehow I don't get my head around NAT Flags and the nathelper module
>
https://www.kamailio.org/docs/modules/5.7.x/modules/nathelper.html
>
> In the examples I found, there is: FLT_NATS and FLB_NATB
>
> If I got it right, FLB_NATB is a branch flag, which shall indicate that the device is
> 'B'ehind NAT, right?
>
> It is being set, when FLT_NATS is set:
>
> if(isflagset(FLT_NATS)) {
> setbflag(FLB_NATB);
> }
>
> But when should FLT_NATS be set and what is it's meaning? The examples I
> found don't tell me this.
>
> Mit freundlichen Grüssen
>
> -Benoît Panizzon-
> --
> I m p r o W a r e A G - Leiter Commerce Kunden
> ______________________________________________________
>
> Zurlindenstrasse 29 Tel +41 61 826 93 00
> CH-4133 Pratteln Fax +41 61 826 93 01
> Schweiz Web
http://www.imp.ch
> ______________________________________________________
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe
> send an email to sr-users-leave@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the
> sender!
> Edit mailing list options or unsubscribe: