View Full Version : [ubuntu] forehol blocking samba?

January 3rd, 2009, 07:13 PM
Hey all,

I'm attempting to get firehol, tinyproxy, and dansguardian configured on my laptop. With all three running, it appears to be blocking undesirable web traffic correctly. However, firehol also appears to be blocking samba - nautilus no longer shows the Windows workgroup or shares. However, the shares are accessible directly by IP address (smb://192.168.0.xxx).

If I stop dansguardian and tinyproxy, leaving only firehol running, the shares are still gone. Stop firehol and the shares reappear immediately. So I think the problem is in the firewall.

Here is my firehol.conf:

version 5
iptables -t filter -I OUTPUT -d -p tcp --dport 3128 -m owner ! --uid-owner dansguardian -j DROP

transparent_squid 8080 "root root"

interface any world

protection strong

server samba accept
server ICMP accept
server cups accept
server dns accept
server microsoft_ds accept
server ntp accept
server ssh accept

client all accept

policy drop

I've tried commenting out the iptables and transparent_squid lines, with no effect on samba.

Any ideas?

January 3rd, 2009, 09:22 PM
Found a partial solution - removed all the "server xxx accept" lines and replaced with a single "server all accept". Not ideal, but should do for now.