Asterisk sip permit-deny-mask

Business SIP Provider
Provider Plan Details Monthly Rate *
Nextiva SIP Trunking PBX SIP Trunking
  • Compatible with nearly all PBX systems
  • US-based support
  • No contracts at all
$14.95
Details
Vocalocity Unlimited Extension
  • Unlimited calling and long distance
  • Company Call Record, Voicemail to email transcription
  • No contracts, not setup or installation fees
$24.99
Details
RingCentral SIP RingCentral Office
  • Unlimited calling and faxing
  • No Commitment, No Setup Fees, No Installation
$19.99
Details
Jive Communications Smart PBX
  • Unlimited Use of All Features
  • Free Long-Distance
  • No Contracts or Hidden Fees
$21.95
Details
8x8 8x8 IP Trunking
  • No contract required.
  • Unlimited Calls (9 free countries)
  • Save 50% or more
$29.99
Details
Improcom VoIP Unlimited Business SIP Solution
  • Best overall quality & service
  • Unlimited calling in/out
  • Month to month agreement
$24.95
Details

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=



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! - support@voip-info.org

Page Changes | Comments

 

Featured -

Search:
Loading