[SR-Users] Kamailio behind NAT or With Public IP - Which one is highly recommended

Henning Westerholt hw at kamailio.org
Tue Feb 26 22:27:09 CET 2019


Am Dienstag, 26. Februar 2019, 06:09:08 CET schrieb Pintu Lohar:
> Which one among the below option is highly recommended for setting up
> Kamailio (for production)
>   1.  Kamailio behind NAT *or*
>    2. Setting up Kamailio using public IP?
> 
>  are there any disadvantages if we setup Kamailio behind NAT and use
> advertise option in listen parameters?
> 
> We have tested both the options, and both the options work great for us( a.
> Kamailio behind NAT with advertising in listen parameters b.Kamailio setup
> with public IP).  So wondering which one is best and highly recommended?
> 
> Some extra info :
> 1. We use TLS
> 2. Using coturn for media

Hello Pintu,

generally speaking, if you have the choice between a network setup with NAT 
and without NAT (everything else equal) - my recommendation would to choose 
the one without NAT. It will be easier to debug in case of problems on your 
side or the client side.

Best regards,

Henning

-- 
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
Kamailio security assessment - https://skalatan.de/de/assessment



More information about the sr-users mailing list