simple file sharing firewall settings??

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Level 1
Level 1
Posts: 4
Joined: Fri Jul 10, 2009 9:46 am

simple file sharing firewall settings??

Postby comfy » Thu Jul 16, 2009 5:12 pm


I liked Linux Mint so much that I installed it on my desktop (wiped windows :D ) aswell as my Laptop.

Sorry for the n00bish question, but I'm having a little trouble getting the simple file sharing between the two to work with the firewall enabled. Basically if both machines have the firewall disabled I can share files. When enabled it doesnt work (obviously). So can anyone tell me what settings I need to enter into the firewall so that I can have it enabled on both machines. Both computers are connected to a wireless router. I'm guessing i need to just open some ports but do not know which ones.

Thanks for any help.

User avatar
Level 7
Level 7
Posts: 1880
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: simple file sharing firewall settings??

Postby lagagnon » Thu Jul 16, 2009 11:49 pm

I'm not an expert in these matters but you need to allow the Samba ports as you have assumed correctly. There is a small bash script using iptables here: ... leshooting

Return to “Newbie Questions”