Support Support Downloads Knowledge Base Apex 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

Cannot block traffic destined to a Mapped IP address



Article ID: KB6311 KB Last Updated: 20 Mar 2009Version: 3.0
Cannot block traffic destined to a Mapped IP address

Problem Environment:

  • The MIP is defined on the interface in the untrusted zone and mapped to a private IP on the trusted zone
  • The MIP policy permits all traffic to pass through the firewall
  • Policy has been defined from Untrust to Global for the MIP
  • The deny policy was configured on the top of the policy list from untrust to trust to deny PING


When the packet enters the firewall, the process order by default on the firewall is as follows:

Screen filters
Session lookup
Route lookup (SIBR -> SBR -> DBR)
Policy lookup
Create session

For more information refer to the 'Packet Flow Sequence' in the Concepts & Examples ScreenOS Reference Guide - Volume 2 - Fundamentals
  1. Go to the ScreenOS Documentation link
  2. Click your Release version
  3. Click the Concepts & Examples Reference Guide: Volume 2, Fundamentals
  4. Refer to 'Packet Flow Sequence' section in Chapter 1

The global nature of the MIP is based on the lookup sequence above. Because the MIP/VIP lookup always occurs before all other route lookups, it does not matter which zone it is configured in, it will always miss a policy to "any". The only way to drop the traffic is to invoke the specific MIP addresses in the deny policy with the same from and to zones as the permit policy.

Add the following policy to deny traffic destined to MIP addresses:

fw-> get policy from untrust to global
    ID From     To       Src-address  Dst-address  Service  Action State   STLCB
     9 Untrust  Global   Any          MIP(63.124.~ PING     Deny   enabled --X-X
     7 Untrust  Global   Any          MIP(63.124.~ ANY      Permit enabled --X-X

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