OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • website blocking
« previous next »
  • Print
Pages: [1]

Author Topic: website blocking  (Read 8957 times)

sreerajklm

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
website blocking
« 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.

Logged

NilsS

  • Full Member
  • ***
  • Posts: 174
  • Karma: 18
    • View Profile
Re: website blocking
« Reply #1 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
Logged

sreerajklm

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: website blocking
« Reply #2 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 
« Last Edit: September 22, 2017, 02:24:29 pm by sreerajklm »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13945
  • Karma: 1208
    • View Profile
Re: website blocking
« Reply #3 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • website blocking
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2