Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I turn off Guarddog, I can see the Samba server and its shares.
When I have Guarddog on, I can't see the Samba server and its shares.
When Guarddog is on, /var/log/messages shows occasional messages:
kernel: DROPPED IN=eth0 OUT= MAC= SRC=(me) DST=192.168.0.255 LEN=127 etc.
I think I need to configure Guarddog to let my SMB queries out or back in or something...
Could someone please clue me in - how to adjust Guarddog to allow me to see the Samba server(s) on the network and access their shares?
In the Guarddog configuration menu, select the protocol tab, then "local network" and then select the Microsoft SMB box, then save and exit. If that still doesn't help, you may need to add the local broadcast address to the local zone.
Thank you, Capt_Caveman! It's working slick as ... can be.
K -> Internet -> Connection -> Smb4K browses the workgroup just fine.
For those who will be setting up Guarddog 2.4.0, it's
Protocol tab
Local zone
expand Network group (in the Network Protocol window)
Microsoft SMB over TCP ... should be checked
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
I have a computer running debian sarge, and I used Guarddog to set up the firewall. However, I can't get my laptop to connect using Samba, or my other linux box to print using CUPS.
They work correctly when I disable the firewall. I have tried the above suggestions, but it still does not work.
Guldo, is the utente user currently logged on when attempting this? When connecting to a Win2K or XP machine using Samba you have to connect as the currently logged-on Win user.
IBall, if you're still having problems connecting after allowing SMB protocol (port 445), make sure NetBIOS is also allowed for local zone. That opens ports 138 and 139. Those also are required for successful Samba connections. Be sure all three are closed for the internet zone! CUPS requires port 631 to be open. Check on that. I'm not quite sure which brach you'll find it under and I'm not at a Linux box right now. You may have to create an entry for it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.