Previous Thread: https://kamailio.org/mailman3/hyperkitty/list/sr-users@lists.kamailio.org/th...
Hello everyone,
Should I use a STUN server, or can I just configure NAT properly?
Here’s my current setup:
arduino Copy Edit Router (NAT device) ↓ Kamailio + RTPengine machine ↓ Virtual machine running Kubernetes ↓ Asterisk container Kamailio and RTPengine are sitting behind the NAT (the router), and they handle SIP and media. Do I need a STUN server in this case, or can I manage everything with NAT configuration alone? And what is the better approach?
Any insights or best practices would be appreciated! Thank you.
Hello,
usually, a STUN server is not needed if your clients behave appropriate. Microsip should be fine, if you don't configured something strange.
Regarding test cfg, the default Kamailio configuration should usually work with the appropriate #!defines set.
Cheers,
Henning
-----Original Message----- From: Fernando Lopes via sr-users sr-users@lists.kamailio.org Sent: Donnerstag, 10. April 2025 15:48 To: sr-users@lists.kamailio.org Cc: Fernando Lopes fernandolopes20003@gmail.com Subject: [SR-Users] STUN Server vs. NAT Configuration with Kamailio + RTPengine Setup
Previous Thread: https://kamailio.org/mailman3/hyperkitty/list/sr- users@lists.kamailio.org/thread/4U545DU5NHHPH23E3H5KVAHZMTVPWOR 4/
Hello everyone,
Should I use a STUN server, or can I just configure NAT properly?
Here’s my current setup:
arduino Copy Edit Router (NAT device) ↓ Kamailio + RTPengine machine ↓ Virtual machine running Kubernetes ↓ Asterisk container Kamailio and RTPengine are sitting behind the NAT (the router), and they handle SIP and media. Do I need a STUN server in this case, or can I manage everything with NAT configuration alone? And what is the better approach?
Any insights or best practices would be appreciated! Thank you. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr- users@lists.kamailio.org 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!