VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
Carsten.Gericke at ili... Guest
|
Posted: Tue Jan 18, 2022 12:30 pm Post subject: [Freeswitch-users] SIP on all interfaces |
|
|
Dear community,
I try to operate freeswitch 1.8 on Google Cloud with a Goggle external load balancer in front of the freeswitch instance.
Freeswitch listens on the private IP address:
netstat -na | grep :5080tcp 0 0 10.210.32.12:5080 0.0.0.0:* LISTEN
But I seeking for ways to have freeswitch listen on everything and it should look like this:
tcp 0 0 0.0.0.0:5080 0.0.0.0:* LISTEN
A similar wish was posted in 2015:
http://lists.freeswitch.org/pipermail/freeswitch-users/2015-October/116478.html
The proposed solutions does not work for my, since I only have this 10.210.32.12 interface but the IP packet arrives with the public IP address from the load balancer.
Hard to believe. But as proof of the situation, it is described here:
https://cloudplatform.googleblog.com/2015/07/Debugging-Health-Checks-in-Load-Balancing-on-Google-Compute-Engine.html
No I try to configure something in freeswitch to listen on 0.0.0.0 instead of the the private IP address.
If this is not working, I may need to try Kamailio (or similar) in front of the freeswitch, that listens on 0.0.0.0
Any advice/guidance?
Best,
Carsten |
|
Back to top |
|
|
Antony.Stone at freesw... Guest
|
Posted: Tue Jan 18, 2022 1:12 pm Post subject: [Freeswitch-users] SIP on all interfaces |
|
|
On Wednesday 12 January 2022 at 12:28:57, ilink wrote:
Quote: | Freeswitch listens on the private IP address:
netstat -na | grep :5080
tcp 0 0 10.210.32.12:5080 0.0.0.0:* LISTEN
|
Quote: | I only have this 10.210.32.12 interface but the IP packet arrives with the
public IP address from the load balancer.
|
Quote: | No I try to configure something in freeswitch to listen on 0.0.0.0 instead
of the the private IP address. If this is not working, I may need to try
Kamailio (or similar) in front of the freeswitch, that listens on 0.0.0.0
Any advice/guidance?
|
Changing FreeSwich to listen on 0.0.0.0 will not make any difference, since you
do not *have* any interface with the public IP address you say the packets are
addressed to, therefore FreeSwitch still won't recognise packets sent to that
address as being for it to process.
What you need to do is apply a Destination NAT firewall rule on incoming
packets so that anything which arrives going to 198.51.100.42 (or whatever
your public IP address is) get redirected to 10.210.32.12 instead.
This does sound like a bizarre networking arrangement for Google to give
people, though.
Antony.
--
What do you get when you cross a joke with a rhetorical question?
Please reply to the list;
please *don't* CC me.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|