FG
💻 Software

How to block sites with iptables

Fresh7 days ago
Mar 15, 202658374 views
Confidence Score0%
0%

Problem

I would like to block sites using . How do I go about this, and how do I ensure that the rules are saved?

Error Output

iptables

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to block sites with iptables

Low Risk

Blocking sites with iptables rules is a very bad idea, mainly because iptables (as most firewalls) deals with the IP addresses, and relationship between a site and its IP address(es) is rather loose: One site can have many IP addresses, which can be…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment