OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: sreerajklm on September 22, 2017, 10:17:15 am

Title: website blocking
Post by: sreerajklm on September 22, 2017, 10:17:15 am
i am installed a opnsense.

How to block all website and one is allow.
How to block internet in all ips and how to allow internet in one ip.
How to block https websites.

Please help me.

Title: Re: website blocking
Post by: NilsS on September 22, 2017, 10:25:25 am
It seems more that you only want to allow that specific website.
blocking is default

Firewall -> Alias -> view [ add Alias ]
[ Type ]    Hosts
[ Name ]  ALLOWED_HOSTS
[ Aliases ]
    your.website.com

Firewall -> rules -> LAN
remove all rules that allow all traffic
make a rule to allow DNS traffic to your DNS Server
make a rule to allow HTTP traffic to alias ALLOWED_HOSTS
Title: Re: website blocking
Post by: sreerajklm on September 22, 2017, 02:11:50 pm
Thank you for your replay.

i can't understand this quote.  can you pls give me to detailed solution 
Title: Re: website blocking
Post by: franco on September 22, 2017, 07:56:33 pm
We have a detailed doc for this :)

https://docs.opnsense.org/manual/how-tos/proxywebfilter.html


Cheers,
Franco