Click here to contact us now! Click here to contact us now!

TrixBox behind a Nat Firewall Setup Guide

Back to voip setup guides directory

  1. Be sure the LAN/Private address is statically assigned to the Trixbox server.
  2. Check the following ports on your firewall:
    • UDP Port 5060 is for SIP communication.
    • UDP Port 5060-5082 range, SIP communications.
    • TCP Port 5060 is for SIP but thought to be rarely used.
    • UDP Port 10000 - 20000 is for RTP - the media stream, voice/video channel.
  3. Check etc/hosts file, put the same name as you gave the Trixbox server in the hosts file under the address 127.0.0.1 - ie.:
    127.0.0.1 localhost asterisk.localhost mytrixbox.mytrixbox.com (name of your server)
  4. Trixbox setup:

    If your trixbox is behind a Nat firewall you must also edit the sip_nat.conf file. Go to Trixbox home page, then select administrator mode. Select from Asterisk -> Config Edit, click on sip_nat.conf and insert the following lines:
    Externip = your_external_ip_address
    localnet = internal.network.address_of_your machine/255.255.255.0
    Then click on update and after restart the machine!


Back to top of this page Back to voip setup guides directory