Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

Why is the GTP IMSI and APN filter not working?



Article ID: KB9633 KB Last Updated: 24 Jun 2010Version: 3.0

In a GTP inspection object it is possible to create a filter on IMSI (International Mobile Station Identity) and APN (Access Point Name) in order to restrict GPRS access through the firewall. The filter applies to 'create pdp request' messages that are inspected by the GTP object.

An IMSI comprises three elements: the Mobile Country Code (MCC), the Mobile Network Code (MNC), and the Mobile Subscriber Identification Number (MSIN). The MCC and MNC combined constitute the IMSI prefix and identify the mobile subscriber’s home network, or Public Land Mobile Network (PLMN).

The IMSI and APN filter does not have an implicit deny.


Because this type of filter does not have an implicit deny, the following line must be added if a deny statement is necessary at the end of the filter:
set apn "*" drop

A filter can for example look like this:

set mcc-mnc 12345 apn "*" pass
set apn "*" drop

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search