PDA

View Full Version : [ubuntu] Connect two Ubuntu PCs - firewall settings



arst06d
January 20th, 2011, 10:18 AM
Hi
I've searched but cannot find an answer, so would appreciate some help.

I have a desktop and a laptop, both running Ubuntu 10.10.

On the desktop I have 2 USB attached external drives with some folders I have shared via SAMBA.

SAMBA is also installed on the laptop, and I have shared my home folder.

I have also edited the smb.conf file on both to specify the same workgroup name, and rebooted each to take effect.

However I am also running the ufw firewall with its' gui on both machines and, in order to see the shared folders I have to disable the firewall.

What ports do I specifically have to open to allow access between the machines when the firewall is enabled?

Many thanks in advance.