> Date: Fri, 3 Jul 2009 10:02:42 -0500 > From: "[email protected]" <[email protected]> > Subject: Re: [OpenSIPS-Users] Is opensips a front end to asterisk? > To: users <[email protected]> > Message-ID: <20097310242.197...@leena> > Content-Type: text/plain; charset="us-ascii" > > > I recommend that you don't try to run OpenSIPS on a NAT'd server. I tried > > recently and have been > > regretting it ever since. It is not designed to be behind NAT, although it > > is great for handling UA's that are. > > Bit confused about this. Our asterisk machines have always been behind a > firewall and on NAT IPs. > My thought was to use opensips at it's own location, sending the traffic to > at least two separate > locations for load balancing and redundancy. I'm not sure how I could avoid > using NAT?
Asterisk works fine behind NAT, but OpenSIPS does not. Asterisk has a parameter, externip, you can set that tells it what its external IP address. I am not aware of an equivalent in OpenSIPS. You would avoid NAT by having multiple static IP addresses assigned to a DMZ or even directly connecting the OpenSIPS server to the Internet and using iptables to block unwanted connections. I'd be interested to hear from other users/developers of OpenSIPS on this subject. John _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
