Asterisk & Docker

Home » Asterisk Users » Asterisk & Docker
Asterisk Users No Comments

Given that SIP packets have embedded IP addresses in them and when behind NAT they need to have IP settings to deal with it.

How does one set up Asterisk when it is in a docker container?

E.g.

Docker Container IP <==> Docker Host <==> Gateway <==> Internet

172.17.0.1/16 <==> 192.168.50.1 <==> 192.168.50.254 <==> External Internet IP

It seems to me that we are doing double NAT?