Two PBXes under one public IP address
I like the way FS does its business by mapping outside ports to inside ports. This makes it easier for any two FS systems (hosted on two different IP addresses) or even an FS + an Asterisk systems (also hosted on two different IP addresses) to happily reside behind a NAT/Firewall router. Am I correct? ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Two-PBXes-under-one-public-IP-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Yes, you can have multiple systems behind NAT, as long as you set everything up right. The only potential caveat (may be not, depending on your setup), is the number of public IP addresses. If you only have one public IP address, and everyone outside is wanting to communicate on port 5060, you can only point that to one of the inside systems. You could however send 5060 to one box, and 5070 to a different box. If you have extra public IP addresses, then this isn't a problem. Freeswitch can bind to specific addresses and ports, but you can also tell it which IP address and port to use when generating SIP messages, so that the outside peers can send the message back again, and direct media to the correct place. -Tim mazilo wrote:
I like the way FS does its business by mapping outside ports to inside ports. This makes it easier for any two FS systems (hosted on two different IP addresses) or even an FS + an Asterisk systems (also hosted on two different IP addresses) to happily reside behind a NAT/Firewall router. Am I correct?
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together.
This is where domains come in... You could have a SIP proxy sitting in front of any number of PBXs redirecting requests based on domain. Alternatively you could have FreeSWITCH do this for you; either as a separate box or all on one with some work in dialplan and a Sofia profile. On Thu, Jul 29, 2010 at 9:44 AM, Tim St. Pierre <fs-list@communicatefreely.net> wrote:
Yes, you can have multiple systems behind NAT, as long as you set everything up right.
The only potential caveat (may be not, depending on your setup), is the number of public IP addresses. If you only have one public IP address, and everyone outside is wanting to communicate on port 5060, you can only point that to one of the inside systems. You could however send 5060 to one box, and 5070 to a different box. If you have extra public IP addresses, then this isn't a problem. Freeswitch can bind to specific addresses and ports, but you can also tell it which IP address and port to use when generating SIP messages, so that the outside peers can send the message back again, and direct media to the correct place.
-Tim
mazilo wrote:
I like the way FS does its business by mapping outside ports to inside ports. This makes it easier for any two FS systems (hosted on two different IP addresses) or even an FS + an Asterisk systems (also hosted on two different IP addresses) to happily reside behind a NAT/Firewall router. Am I correct?
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together.
_______________________________________________ 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 http://www.freeswitch.org
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
participants (3)
-
Kristian Kielhofner
-
mazilo
-
Tim St. Pierre