How is it possible to redirect all the traffic from the client to the raspberry pi (in order to analyse it and block some packets. it's like a firewall) and then send to to the router and vice-versa !

for the two cases: wireless and wire

Besides we don't have access to the router to make change or configuration.

raspberry pi is like a man in the middle but the client knows that

  • Finally after a long research I found that I have to turn My Raspberry Pi into a router ! Sorry guys, but I have to thank Google for his help ! :P
    – user12448
    Mar 14, 2014 at 22:44
  • Ok, and how did you do that? Add an answer to your own question, please, so that we all know how to do it Dec 14, 2015 at 20:05

1 Answer 1


You wouldn't want to do that.

If you want to analyze your traffic, you need to use a tool like Wireshark or TShark to sniff the packets as they go by. It works by setting your pi to Promiscuous Mode so the you see all the traffic, not just the traffic for that address.

  • 1
    ok after using wireshark what can you do ... nothing of course because wireshark can only visualize the packets but not controlling them ! if you see what I mean ...
    – user12448
    Mar 14, 2014 at 22:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.