BlueBox/NAT

I use net-firewall/shorewall for my firewall with the following ACCEPT         loc             $FW     tcp     5038 # AMP -- Asterisk Manager Protocol ACCEPT         all             $FW     udp     5036 # iax ACCEPT         all             $FW     udp     4569 # iax2 ACCEPT         all             $FW     udp     5060 # sip ACCEPT         all             $FW     tcp     5060 # sip Some SIP servers need tcp as well ACCEPT         all             $FW     udp     5061 # sips ACCEPT         all             $FW     tcp     5061 # sips
 * 1) ASTERISK
 * 1) ACCEPT        all             $FW     udp     10000:20000     # rtp
 * 2) ACCEPT        all             $FW     udp     2727 # MGCP media gateway control protocol
 * 3) H323 tcp 522, 1503, 1720, 1731 and 8080