Deny internet traffic for a specific subnet

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Deny internet traffic for a specific subnet

L1 Bithead

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?

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

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

2 REPLIES 2

Cyber Elite
Cyber Elite

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.

 

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...

  • 1 accepted solution
  • 6692 Views
  • 2 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!