Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

/etc/hosts.deny ignored?

Got problems with your B2 or B3? Share and get helped!
Post Reply
tiddler
Posts: 32
Joined: 07 Apr 2009, 03:23

/etc/hosts.deny ignored?

Post by tiddler »

Hi there.

I've recently installed Squid on my bubba2.
I now want to restrict access to it.
I know I can do that via squid.conf, but I'd like additional restrictions.

I have this in my hosts.allow:
ALL: 192.168.

And have this in my hosts.deny:
ALL:ALL

However, anyone can still connect to my squid proxy outwith my local network (192.168.x.x).

Any ideas what the problem is?

Many thanks.
tiddler
Posts: 32
Joined: 07 Apr 2009, 03:23

Re: /etc/hosts.deny ignored?

Post by tiddler »

https://www.centos.org/modules/newbb/vi ... c_id=23085

Looks like /etc/hosts.deny can't be used with squid.

Unless anyone else has thoughts?

Perhaps I should try using iptables...
Post Reply