Welcome, Guest. Please login or register.
Did you miss your activation email?
Tuesday 26 November 2024, 10:04:16 am

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  ASTERISK - Forwarding Rules
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: ASTERISK - Forwarding Rules  (Read 31758 times)
blueangelsbr
Jr. Member
*
Offline Offline

Posts: 3


« 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.
Logged
salve
Jr. Member
*
Offline Offline

Posts: 5


« Reply #1 on: Wednesday 06 January 2010, 01:52:32 am »

http://www.voip-info.org/wiki/view/Asterisk+firewall+rules
Logged
blueangelsbr
Jr. Member
*
Offline Offline

Posts: 3


« Reply #2 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?
Logged
mogyiman
Jr. Member
*
Offline Offline

Posts: 6


« Reply #3 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..
 
Logged
mithun
Full Member
***
Offline Offline

Posts: 11


« Reply #4 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
Logged
mithun
Full Member
***
Offline Offline

Posts: 11


« Reply #5 on: Wednesday 20 January 2010, 07:13:55 am »

Any suggestions please..?
Logged
jamrod
Jr. Member
*
Offline Offline

Posts: 2


« Reply #6 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?
Logged
razametal
Full Member
***
Offline Offline

Posts: 15


« Reply #7 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.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.125 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com