[OpenSIPS-Users] Opensisp behind a Firewall and NAT

Ovidiu Sas osas at voipembedded.com
Mon Nov 29 15:56:17 CET 2010


Please do not send private e-mails (keep the mailing list on cc).
Future e-mails will go unanswered.

You can play with the pemissions module to define and check against a
specific network.
http://www.opensips.org/html/docs/modules/1.6.x/permissions.html

Regards,
Ovidiu Sas

On Sun, Nov 28, 2010 at 6:31 PM, Stefano Pisani
<stefano.pisani at omnianet.it> wrote:
> There is a smart way to check an IP against IP/NETMASK to check if it
> belongs or not to that network?
> regars
>
> s
>
> Il 27/11/2010 23:13, Ovidiu Sas ha scritto:
>>
>> You will need to identify the scenario type for each call and then
>> properly craft the INVITE.
>> There's no such thing as "local network" in opensips.
>>
>> Regards,
>> Ovidiu Sas
>>
>> On Fri, Nov 26, 2010 at 7:10 PM, Stefano Pisani
>> <stefano.pisani at omnianet.it>  wrote:
>>>
>>> Hallo,
>>> my architecture needs the Opensips behind a firewall than does static NAT
>>> between the private IP of the opensips and the public ip.
>>> I would use advertise_host to give correct public IP only for the
>>> messages
>>> directed outside and not for those directed inside; in different words,
>>> if
>>> an internal client calls another internal client I do not want to use
>>> advertise_host but If an internal client calls an external client I need
>>> to
>>> use it.
>>> I can't see how to manage different behavior of advertise_host. The is a
>>> way
>>> to specify which of the networks are local?
>>> Thanks.
>>>
>>> s
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>



More information about the Users mailing list