This article provides information on how to process host inbound traffic, when the selective packet processing service is used. Host inbound traffic is any traffic directed to the f/w itself. This includes management traffic, routing protocol packets, and so on.
When selective packet processing service is used the host inbound traffic like ssh,telnet or J-web access to the box is seen to be failing. Is there any recommended way to process the host inbound traffic without completely disabling the selective packet processing service?
The recommended way to process host inbound traffic when the selective packet processing service is used, is to flow-process them. In other words, the firewall filter should be written in such a way that the traffic destined to the firewall itself should just be accepted and the rest of traffic allowed to bypass the flow module. See The following example:
Host (10.1.1.2/24) --- (10.1.1.1/24) ge-0/0/0.0 SRX
interfaces { ge-0/0/0 { unit 0 { family inet { filter { input example_packet_filter; } address 10.1.1.1/24; } } } } firewall { family inet { filter example_packet_filter { term t1 { from { destination-address 10.1.1.1/32; } then { accept; } term t2 { then { packet-mode; accept; } } } } }
firewall { family inet { filter example_packet_filter { term t1 { then { packet-mode; accept; } } } } }
security { flow { tcp-session { no-syn-check; } } }
Session ID: 303, Policy name: self-traffic-policy/1, Timeout: 1800, Valid In: 10.1.1.1/23 --> 10.1.1.2/57221;tcp, If: .local..0, Pkts: 85, Bytes: 7315 Out: 10.1.1.2/57221 --> 10.1.1.1/23;tcp, If: ge-0/0/0.0, Pkts: 0, Bytes: 0