This is our old Q&A Site. Please post any new questions and answers at


Can I use Wire Shark to block certain web sites?

I want to use it in an office environment and block certain sites that are not work related.


asked 10 Oct '11, 02:43

Jani%20Louw%20Fourie's gravatar image

Jani Louw Fo...
accept rate: 0%

No, you can't. Think of Wireshark as a passive diagnostic tool, just like a doctor uses a stethoscope to listen to a patients body. It's doesn't affect it, it just listens.

What you need is to force your surfers to use a filtering proxy, meaning that they can't surf directly anymore but need to ask a web proxy for whatever they want. On that proxy, you can then filter content.

Take a look at Squid for example:

permanent link

answered 10 Oct '11, 02:49

Jasper's gravatar image

Jasper ♦♦
accept rate: 18%

Hi Jasper

Thank you for your help!

(10 Oct '11, 04:45) Jani Louw Fo...

You can use Wireshark to create ACL entries.
Go to:
- Tools
- Firewall ACL Rules

This allows you to create command-line ACL rules for many different firewall products, including Cisco IOS, Linux Netfilter (iptables), OpenBSD pf and Windows Firewall (via netsh). Rules for MAC addresses, IPv4 addresses, TCP and UDP ports, and IPv4+port combinations are supported.

(10 Oct '11, 11:47) joke
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 10 Oct '11, 02:43

question was seen: 3,676 times

last updated: 10 Oct '11, 12:04

p​o​w​e​r​e​d by O​S​Q​A