Deny internet traffic for a specific subnet

Reply
Highlighted
L1 Bithead

Deny internet traffic for a specific subnet

Hello, is it possible with palo alto firewall to deny internet traffic for a specific subnet?

let's say I have this subnet: 10.100.30.0/24

I want 10.100.30.0/24 to not reach the internet.

What should I do?

Tags (1)

Accepted Solutions
Highlighted
Cyber Elite

Re: Deny internet traffic for a specific subnet

Hello,

Just make sure to put in a deny policy prior to your allow internet policy.

The PAN just like every other FW reads top down left to right for policies, once it matches the action in the policy is taken, e.g. allow or deny.

 

i.e. 

 

'deny internet for subnet' source IP 10.100.30.0/24 destination zone untrust action deny

'allow internet' source zone trust destination zone untrust action allow

 

That is highly simplified and follow best practices on URL and threat filtering including ssl decryption.

 

Hope that helps.

 

View solution in original post


All Replies
Highlighted
Cyber Elite

Re: Deny internet traffic for a specific subnet

Hello,

Just make sure to put in a deny policy prior to your allow internet policy.

The PAN just like every other FW reads top down left to right for policies, once it matches the action in the policy is taken, e.g. allow or deny.

 

i.e. 

 

'deny internet for subnet' source IP 10.100.30.0/24 destination zone untrust action deny

'allow internet' source zone trust destination zone untrust action allow

 

That is highly simplified and follow best practices on URL and threat filtering including ssl decryption.

 

Hope that helps.

 

View solution in original post

Highlighted
Cyber Elite

Re: Deny internet traffic for a specific subnet

Some general help about setting up basic security policies you can find here: https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-admin/getting-started/set-up-a-basic-security-po...

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!