cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Firewall vs entry in Hosts file ????

TenOC
Nomad
Nomad
What is the difference (that is better) between having an entry in the "hosts" file, or a "rule" in a firewall application when trying to block inbound traffic from a known website or company.
Please give me enough troubles, uncertainty, problems, obstacles and STRESS so that I do not become arrogant, proud, and smug in my own abilities, and enough blessings and good times that I realize that someone else is in charge of my life.

Travel Photos
17 REPLIES 17

wa8yxm
Explorer III
Explorer III
I would say both actually (Belt and suspenders protection) the firewall blocks the site from SENDING stuff to you. the hosts file prevents your computer from REQUESTING stuff by re-directing to local-host. (So you get a 404) But the firewall blocks the remote from sending to you even if you did not request.
Home was where I park it. but alas the.
2005 Damon Intruder 377 Alas declared a total loss
after a semi "nicked" it. Still have the radios
Kenwood TS-2000, ICOM ID-5100, ID-51A+2, ID-880 REF030C most times

fj12ryder
Explorer III
Explorer III
Yeah, using the "hosts file" was an old trick from waaaaay back. I think it was of use with Windows 98.
Howard and Peggy

"Don't Panic"

pconroy328
Explorer
Explorer
Frankly using 'hosts' was a new one to me and I've been aware of / etc / hosts for 30 years. ๐Ÿ™‚ Never would have occurred to me to try that.

I'd always block a domain at the firewall, router level. Seems to me you've got more flexibility; easier to wildcard, easier to manage, no reboot etc.