EFW Support

Support => EFW SMTP, HTTP, SIP, FTP Proxy Support => Topic started by: blueangelsbr on Tuesday 05 January 2010, 07:40:11 am



Title: ASTERISK - Forwarding Rules
Post by: blueangelsbr on Tuesday 05 January 2010, 07:40:11 am
Hi,

I have an Elastix box behind my Endian 2.3 Community and my server cannot communicate with my VOIP provider now.

It was running fine behind my Linksys router using NAT. I replicated all rules setted in my router to Endian and now its not working.

I have set this rules:

From RED Uplink Main - Target RED - ANY - UDP+TCP : 10000 - 20000    =>    192.168.0.150    Elastix RTP    
From RED Uplink Main - Target RED - ANY - UDP+TCP : 5004 - 5082    =>    192.168.0.150    Elastix SIP
From RED Uplink Main - Target RED - ANY - UDP+TCP : 4569    =>    192.168.0.150    Elastix IAX
From RED Uplink Main - Target RED - ANY - UDP+TCP : 2222 - 2238    =>    192.168.0.150    Elastix Other Ports.

SIP Proxy is disabled and didnt worked when i had configured previously.

Thanks and Waiting for help.


Title: Re: ASTERISK - Forwarding Rules
Post by: salve on Wednesday 06 January 2010, 01:52:32 am
http://www.voip-info.org/wiki/view/Asterisk+firewall+rules


Title: Re: ASTERISK - Forwarding Rules
Post by: blueangelsbr on Wednesday 06 January 2010, 11:13:37 am
Thanks for help, but i have tried it already and its is not working.

Any more ideas?


Title: Re: ASTERISK - Forwarding Rules
Post by: mogyiman on Thursday 07 January 2010, 08:23:01 am
Thanks for help, but i have tried it already and its is not working.

Any more ideas?

If you have just one external IP address, You should define the rules that way :
From Uplink ANY ----> external public IP ---> Translate to ---> Internal IP : port

if You have multiple public addresses, You have to specify Source Nat rules in addition to the above.
From Asterisk box ---> Uplink ANY [ Any service ] ---> NAT to a specific external IP.

Hope this helps..
 


Title: Re: ASTERISK - Forwarding Rules
Post by: mithun on Saturday 16 January 2010, 07:17:07 am
I am also having a strange problem with  Elastix behind Endian 2.3 community edition. My Elastix bx works great without any port forwarding. but i configure remote extensions which needs sip and rtp  ports to be forwarded from my ext IP to my internal Which i did.

Then started the trouble of One way audio on all Outbound calls. the other end does not hear my agent.


Please help


Title: Re: ASTERISK - Forwarding Rules
Post by: mithun on Wednesday 20 January 2010, 07:13:55 am
Any suggestions please..?


Title: Re: ASTERISK - Forwarding Rules
Post by: jamrod on Tuesday 13 April 2010, 06:58:22 pm
I am also having a one way audio problem using Asterisk with EFW2.2.

Any ideas?


Title: Re: ASTERISK - Forwarding Rules
Post by: razametal on Wednesday 14 April 2010, 07:41:02 am
You must need to set into your sip.conf file (on elastix try with /etc/asterisk/sip_general_custom.conf ):

externip =  your.endian,external.ip ; in example: 200.100.200.100
localnet = your.local.network ; in example: 192.168.0.0/24

Save the modifications and reload asterisk.