How to block GRE completely
Objective
Environment
- Palo Alto Networks Firewall
Procedure
Generic Routing Encapsulation (GRE) is a tunneling protocol designed to encapsulate a wide variety of network layer packets inside IP tunneling packets. The original packet is the payload for the final packet. The protocol is used on the Internet to secure virtual private networks.
The Point-to-Point Tunneling Protocol (PPTP) is a method for implementing virtual private networks. PPTP uses a control channel over TCP and a GRE tunnel operating to encapsulate PPP packets
If you will only block GRE the GRE sessions will be allowed by some of the policy below GRE block policy because of the Point-to-Point Tunneling Protocol (PPTP) Traffic logs will show that GRE has been allowed by passing the block rule.
So, to complete block GRE protocol, create a policy blocking the below two applications and clear the existing sessions.