Wednesday, 25 June 2014

Blocking a website for all client IPFire gateway

Via ssh log into ipfire and run the following command to block a website for all clients using that gateway.

# iptables -I FORWARD  -m string --string "example.com" --algo bm --from 1 --to 600 -j REJECT
P.S. I just created this post for me to remember it.

No comments:

Post a Comment