rbrimhall
06-24-2003, 09:08 PM
I'm having a hard time trying to solve this. I've been to the samba site and the shorewall site to try and uncover answers but most of the solutions don't seem to fix my problem (probably b/c I'm not doing it right I'm sure). Anyways, for those in the know: I have a DSL Modem connected to the Net, a 5-port hub that connects two computers and the modem. I've got samba configured correctly that I can access files from linux and win xp when no firewall but with shorewall on I get the "no master browser running..." comment. I know this is a firewall issue. I've followed the procedures recommended on the shorewall faq as well as some that I have found here in th forums. essentially I have added the following to my shorewall
ACCEPT net fw ICMP Any 8
ACCEPT fw loc UDP Any 137:139
ACCEPT fw loc TCP Any 137,139
ACCEPT fw loc UDP 1024: 137
ACCEPT loc fw UDP Any 137:139
ACCEPT loc fw TCP Any 137,139
ACCEPT loc fw UDP 137 1024:
ACCEPT fw loc TCP Any 138
ACCEPT fw loc UDP Any 138
ACCEPT loc fw TCP Any 138
ACCEPT loc fw UDP Any 138
This should open up the samba ports within my LAN, right? But samba does not work... I've also added this to my samba file:
bind interfaces only = yes
interfaces = 127.0.0.1 192.168.1.96
hosts allow = 127.0.0.1
hosts deny = 0.0.0.0 192.168.1 EXCEPT <192.168.1.96>
I'm actually not sure what my windows box ip is but this is what it gives me when I double click on the network connection... assisgned by DHCP though...
should I uncomment this in sb.conf:
Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
; local master = no
Sorry for the long post and for posing a question that has been beaten to death so to speak but my resources seem to be running thin at this point. Any help welcomed...
ACCEPT net fw ICMP Any 8
ACCEPT fw loc UDP Any 137:139
ACCEPT fw loc TCP Any 137,139
ACCEPT fw loc UDP 1024: 137
ACCEPT loc fw UDP Any 137:139
ACCEPT loc fw TCP Any 137,139
ACCEPT loc fw UDP 137 1024:
ACCEPT fw loc TCP Any 138
ACCEPT fw loc UDP Any 138
ACCEPT loc fw TCP Any 138
ACCEPT loc fw UDP Any 138
This should open up the samba ports within my LAN, right? But samba does not work... I've also added this to my samba file:
bind interfaces only = yes
interfaces = 127.0.0.1 192.168.1.96
hosts allow = 127.0.0.1
hosts deny = 0.0.0.0 192.168.1 EXCEPT <192.168.1.96>
I'm actually not sure what my windows box ip is but this is what it gives me when I double click on the network connection... assisgned by DHCP though...
should I uncomment this in sb.conf:
Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
; local master = no
Sorry for the long post and for posing a question that has been beaten to death so to speak but my resources seem to be running thin at this point. Any help welcomed...