View Single Post
Old 2nd November 2016
Amithapr Amithapr is offline
Fdisk Soldier
 
Join Date: Dec 2015
Posts: 69
Default

Quote:
Originally Posted by junkym View Post
My first thought is to add these lines towards the bottom of the file:
Code:
# BLOCK IT ALL ON INTERNAL NIC
block on $int_if all

# REDIRECT http, https LAN TRAFFIC TO PROXY SERVER
pass in on $int_if proto tcp from $lan to any port { http https } \
rdr-to $proxy

# LET http, https OUT FROM PROXY SERVER
pass out on $proxy proto tcp to any port { http https }
Hi Junkym,

I tried these rules on my live firewall. All the http and https traffic had been blocked due to the above rules. I couldn't browse the internet via proxy as well.

Thanks.
Reply With Quote