[OpenSIPS-Users] OpenSips and firewall

Muhammad Shahzad shaheryarkh at gmail.com
Wed Jun 5 15:53:18 CEST 2013


Change your opensips.cfg to something like this,

disable_tls=no
listen=tls:10.78.90.71:5061
listen=tls:89.216.xx.xx:5061

and remove alias and port settings.

Thank you.




On Wed, Jun 5, 2013 at 1:15 PM, ivan smiljkovic <demjurg at gmail.com> wrote:

> @*Muhammad Shahzad*
>
> *adress od my server is 10.78.90.71 and public address is 89.216.xx.xx*
> *
> *
> *cfg:*
> *
> *
> *listen=tls.10.78.90.71:5061*
> *alias=10.78.90.71*
> *alias=89.216.xx.xx*
> *
> *
> *disable_tls=no*
> *port=5061*
>
>
> On Tue, Jun 4, 2013 at 10:59 AM, ivan smiljkovic <demjurg at gmail.com>wrote:
>
>> Hi,
>> I configured and started Opensips server in my local network. Everything
>> was ok, TLS, Mikey key exchange between clients and calls.
>> But, now, clients are on 3g network (internet) and OpenSips is behind
>> firewall. Firewall is configured to bypass: staticIP:5061 to
>> openSipsIP:5061.
>>
>> I can register clients but cannot start ringing and start call.
>> I dont have idea where to start with solving this problem. Here is
>> difference in log between working local network and not working internet
>> solution:
>>
>> May 31 12:10:44 [2461] DBG:tm:_reply_light: reply sent out.
>> buf=0x7f93d5fb72c0: SIP/2.0 1..., shmem=0x7f93c2c39c18: SIP/2.0 1
>> May 31 12:10:44 [2461] DBG:tm:_reply_light: finished
>> new branch at sip:1004 at 10.245.199.188:38809;transport=tcp
>> May 31 12:10:44 [2461] DBG:core:mk_proxy: doing DNS lookup...
>> May 31 12:10:44 [2461] DBG:core:get_send_socket: force_send_socket of
>> different proto (2)!
>> May 31 12:10:44 [2461] WARNING:core:get_send_socket: protocol/port
>> mismatch
>> May 31 12:10:44 [2461] DBG:core:parse_headers: flags=2000
>> May 31 12:10:44 [2461] DBG:core:build_req_buf_from_sip_req: id added:
>> <;i=84>, rcv proto=3
>> May 31 12:10:44 [2461] DBG:core:tcp_send: no open tcp connection found,
>> opening new one
>> May 31 12:10:44 [2461] DBG:core:probe_max_sock_buff: getsockopt: snd is
>> initially 16384
>> May 31 12:10:44 [2461] DBG:core:probe_max_sock_buff: trying : 32768
>>
>> Difference is DBG:core:tcp_send: no open tcp connection found, opening
>> new one and down.
>>
>> What to do, where is solution for this problem?
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Mit freundlichen Grüßen
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130605/956f5259/attachment-0001.htm>


More information about the Users mailing list