Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Blocking a domain instead of an IP with ufw
Date: Sat, 01 Aug 2015 19:00:33
Message-Id: loom.20150801T205644-453@post.gmane.org
In Reply to: [gentoo-user] Blocking a domain instead of an IP with ufw by Meino.Cramer@gmx.de
1 <Meino.Cramer <at> gmx.de> writes:
2
3
4 > With ufw I want temporary block any access from my Gentoo PC to certain
5 > domains. Since domain names change IP addresses I dont want to block
6 > on base of the IP only.
7
8 Here is a relevant discussion :
9
10 http://unix.stackexchange.com/questions/137904/how-to-do-domain-filtering-in-linux
11
12 In this aforementioned discussion there is a simple script (that I have no
13 experience with) that just might be what you are looking for::
14
15 https://github.com/vmxdev/sidmat/
16
17
18 Good luck finding that solution that is simple and works best for you. Post
19 back, as it is an interesting problem.
20
21 hth,
22 James