HomeReseller BenefitsReseller ToolsReseller SolutionsInternational RatesProductsHelpReseller LoginLearn More
Clique aqui para visitor nosso site em Português Contact Us Español
World Leader in Turn-Key VoIP Solutions VarPhonex helps you start your own VoIP Business for just $199
Help

 

Welcome
Common Topics
Knowledgebase
Configuration Guides
Glossary
Contact Us

 


Learn More

Sample Asterisk Firewall Rules

IPTables

This is an example on how to configure a Linux IPTables firewall for Asterisk:

# SIP on UDP port 5060. Other SIP servers may need TCP port 5060 as well
iptables -A INPUT -p udp -m udp --dport 5004:5082 -j ACCEPT
# IAX2- the IAX protocol
iptables -A INPUT -p udp -m udp --dport 4569 -j ACCEPT
# IAX - most have switched to IAX v2, or ought to
iptables -A INPUT -p udp -m udp --dport 5036 -j ACCEPT
# RTP - the media stream
iptables -A INPUT -p udp -m udp --dport 10000:20000 -j ACCEPT
# MGCP - if you use media gateway control protocol in your configuration
iptables -A INPUT -p udp -m udp --dport 2727 -j ACCEPT



More security

BEWARE: these rules can open the firewall completely. Test them.

# iptables -A INPUT -p tcp --syn -m limit --limit 1/s -j ACCEPT
# iptables -A INPUT -p tcp --syn -j DROP

 

 

Notice regarding support:

In an effort to provide the best possible support, we offer the following options to Trixbox/Asterisk users:

  1. Unlimited, free use of our knowledgebase.
  2. Configuration guides that can assist most customers with the most common Trixbox/Asterisk configurations.
  3. Asterisk configuration support – two hours maximum for $75.  This includes the following:
    • Setting up the SIP trunk
    • Inbound route settings
    • Outbound route settings
    • Two hour limit per instance (if more time is needed to fix the problem, an additional two hours of support must be purchased)
    • All instances are done using TeamViewer so that client can follow-along as changes are being done.

These are the only support options that we provide at this time.

 

 

   Copyright 2003 - 2011 VarPhonex.com WebPhone  |  SIP Termination  |  SIP Trunking  |  Join Now  |  Learn More  |  Site Map
Custom Solutions  |  Blog   |   Careers   |  About VarPhonex   |  News  |  e911  |  Legal

VarPhonex offers the industry leading VoIP Reseller Program.  We let you sell VoIP in your brand name including Internet phone service, SIP termination, SIP Trunking, International DID numbers and unlimited VoIP plans.  We also offer prepaid phone service using our voice over IP system and an analog telephone adapter, softphone, PBX, Asterisk, Trixbox or other VoIP device which can use a SIP Trunk.  VarPhonex white label VoIP solutions are designed so you can private label our home phone service, business phone service, call shops service and phone service for cyber cafes.  VarPhonex is proud to support Internet telephony equipment including Sipura, Linksys, Cisco, Digium, Grandstream and more.  We offer low cost A to Z rates and provide International VoIP termination along with DID phone numbers for private label resale.
Partner Solutions | About Us | Custom Shopping Cart | Support | Reseller Login | Request Pricing | IP Phones and Devices
Free Phone
| Internet Telephony Devices | Calling Plans | Web Phone | Pay as you go calling | VoIP Phone Card | RingByName