• >Home
    • Main Page
  • >Quick Links
    • Main Page
    • Asterisk
    • VOIP PBX and Servers
    • Open Source VOIP Software
    • VOIP Service Providers
    • VOIP Phones
    • What is VOIP?
    • VOIP Event Calendar
    • PBX
    • Internet Speed Test
    • About Voip-info.org
  • >Business VOIP
    • Business Voip Providers
    • IP PBX
    • Asterisk Based PBX
    • Hosted PBX
    • Virtual PBX
    • VOIP Billing
    • PBX Phone System
    • SBCs / Softswitch
    • VOIP Hardware
    • VOIP Fax
    • VOIP Job Postings
  • >Residential VOIP
    • Residential Voip Providers
    • Internet Phone
  • >SIP
    • Sip Providers
    • About Sip
    • SIP Trunking
  • >Call Center Software
    • Automatic Call Distributor
    • IVR
    • Predictive Dialer
  • >Wholesale VOIP
    • Call Termination
    • Call Origination
    • Bulk SMS
  • >Forums
    • List Forums
    • Asterisk
    • FreeSWITCH
    • GrandStream
    • Polycom Phones
    • VOIP Questions and Help
    • Hardware For Sale
    • Minutes For Sale or Wanted
    • Zycoo Tech

  • View
  • Discussion (0)
  • History

Asterisk sip permit-deny-mask

IP address mask for SIP traffic


In a user/peer definition in sip.conf, you may limit SIP traffic to and from this peer to a certain IP or network

Syntax

permit=<ipaddress>/<network mask>
deny=<ipaddress>/<network mask>

Order Matters! - The last matching rule is the one used. If no rule matches, then the connection is permitted.

Examples:

deny=192.168.40.38/255.255.255.255
Denies traffic from this IP address

permit=192.168.40.0/255.255.255.0
Allows traffic from this network

deny=0.0.0.0/0.0.0.0
permit=216.207.245.47/255.255.255.255
Deny every address except for the only one allowed.

You may have multiple rules for masking traffic. Rules are processed from the first to the last.

See also

  • sip.conf: insecure=


  • Asterisk | Asterisk SIP Channels

Created by: oej, Last modification: Sun 05 of Aug, 2007 (19:17 UTC) by JustRumours


Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+

spacer Page Changes | spacer Comments

 

Featured -

Search:
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.