by regfixit » Sun Sep 28, 2008 9:48 am
I assume you are running 3cx on a PC behind the WAG325N and have already set it up to connect to your ISP via the ADSL connection.
First thing I had to do was assign the PC on which I am running 3cx a static IP address (my previous Netgear router had feature callled DHCP address reservation where you could use DHCP but ensure that a given device always received the same IP address, but the Linksys doesn't have this). By default the Linksys has DHCP assigned starting from address 192.168.1.100 so for example give your PC static IP address 192.168.1.10.
Then you have to set up the WAG325N to forward the correct ports to your static IP address PC.
Log in to router admin page and go to the tab "Applications and gaming", then click on "port range forwarding" and create the following entries:
applicaiton start end protocol IP address Enable
SIP 5060 5060 Both 192.168.1.10 X
RTP 9000 9015 Both 192.168.1.10 X
STUN 3478 3478 Both 192.168.1.10 X
In your 3cx General settings I am assuming you have "Ports to use for external calls" = 9000 - 9015 and STUN server options set up to use 3478.
I think probably in the above firewall settings you could have the SIP protocol as TCP only and the RTP as UDP but setting to both covers all bases.
Make sure you are not also running Windows Firewall or any other 3rd party firewall on your PC, or if you are that you open the same ports as above.