Samba question - please help, I'm really out of ideas
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
If the firewall is the usual Red Hat iptables stuff created by lokkit, you can add something like this to the file /etc/sysconfig/iptables to let samba through:
# samba and the swat web-based samba configurator
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 139 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 137:138 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --sport 137:138 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 901 -j ACCEPT
You might be better off with a stronger firewalling system like Shorewall (or an external firewall, that can protect all your systems) though.
Well, I simply disabled Lokkit and it worked. Thing is I don't really need a firewall on linux (I think), because it connects through the internet using a WindowsXP machine, which is already firewalled with ZoneAlarm.
ZoneAlarm is good software; you should be OK as long as your Windows box doesn't get any Email worms. Even if you do get swen (or whatever) ZoneAlarm should pick up the outgoing SMTP and warn you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.