don't forget localhost host alias in blocked state
This commit is contained in:
parent
36001254bf
commit
0c6ad1dfe8
|
@ -190,6 +190,11 @@ in
|
||||||
wantedBy = [ ];
|
wantedBy = [ ];
|
||||||
script = ''
|
script = ''
|
||||||
ln -sf ${pkgs.writeText "blockedHosts" ''
|
ln -sf ${pkgs.writeText "blockedHosts" ''
|
||||||
|
127.0.0.1 localhost
|
||||||
|
::1 localhost
|
||||||
|
127.0.0.2 ${config.networking.hostName}
|
||||||
|
::1 ${config.networking.hostName}
|
||||||
|
|
||||||
::1 twitter.com
|
::1 twitter.com
|
||||||
127.0.0.1 twitter.com
|
127.0.0.1 twitter.com
|
||||||
::1 api.twitter.com
|
::1 api.twitter.com
|
||||||
|
|
Loading…
Reference in a new issue