What did I do wrong? I installed Samba, but when the firewall is enabled it won't work.

sspade

I am running Linux, and installed Samba for file sharing across the network. When the firewall is enabled, Samba will not function. I need to have a firewall up, I can't imagine that the choice is between using Samba and having a firewall. What am I missing?

Topic: Networking
Answer this Question

Answers

2 total
lsmall
Vote Up (8)

You have to be careful with your firewall for Samba.  If you enable the firewall on the computer that is running Samba, it won't work.  The Linux firewall is supposed to be used between your LAN and internet, but it can keep local users from using Samba.  It is possible, but not all that easy, to configure your firewall so that Samba will be allowed to access only your network.  It is easy to just run Samba on a different computer than the one on which you are running your firewall.  Divide your tasks onto two machines - one for a file server and the other for a firewall.

jimlynch
Vote Up (7)

Hi sspade,

You might want to take a peek at this Samba troubleshooting article. See the section on Samba and firewalls.

Quick HOWTO : Ch12 : Samba Security and Troubleshooting
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch12_:_S...

"Firewall software installed both on your Windows PCs and on the Samba server itself may prevent Samba from functioning. Two popular firewall packages, iptables and ZoneAlarm offer solutions."

Ask a question

Join Now or Sign In to ask a question.
Amazon Web Services has finally received certification under the Federal Risk and Authorization Management Program, which the company said will lower the cost of implementing its cloud services among government organizations and agencies in the U.S.
Vodafone's revenue dropped 4.2 percent for its fiscal year to March 31, because of tough economic conditions, particularly in Southern Europe.
Just a month after a top Google executive said Glass wouldn't be officially released for another year, sources say the computerized eyeglasses actually should ship by the end of this year.
It appears Canada's anti-money laundering regulator will leave Bitcoin exchanges in the country alone for now.
Mobile network builder Nokia Siemens Networks unveiled tools to optimize video performance on mobile devices on Monday, just in time for the CTIA Wireless trade show that begins Tuesday in Las Vegas.
Google will retire its Checkout payment processing tool on Nov. 20, and warned retailers they will need to move to a different payment processing platform.
While Yahoo's acquisition of blogging site Tumblr will make a handful of people very happy, others are not convinced. Here's how to import your posts from Tumblr to WordPress.
The Red Cross is using apps to help warn people about potential weather calamities. One of its more popular efforts is its new Tornado app.
Few phenomena have been so widely discussed yet remain so puzzling as the world of Bitcoins. Businesses galore are now asking themselves whether Bitcoin is something they need to take seriously, even though most have absolutely no idea what it is.
Yahoo has made some radical changes to its Flickr photo sharing service, which now has a more photo-filled interface and comes with a free terabyte of storage so that users can upload images at their original resolution.