Hi there,
I installed Ubuntu 8.10 on a machine last week and all is going well with my home network and Internet connection. I have a directory on a networked XP machine which I have set to share so accessing those windows files is pretty routine in Uubuntu . I just go to ->Places->Network on my top panel and I see my "Windows Network" icon in the browser and click, then click on MSHOME and my shared XP directory icon comes up and I can access those files. All very straightforward. Being security conscious I decided to enable the UFW firewall on my Ubuntu box. Initially I set all rules to deny and then enabled the firewall with the intention of fine tuning as desired.
Code:
$ sudo ufw default deny
$ sudo ufw enable
I added rules to allow ssh (port 22) and vnc (port 5900). All very straightforward. I could ssh and vnc from my XP machine to Ubuntu. Unfortunately, with the firewall enabled I no longer had access to my XP shared directory from my Ubuntu box. There is definitely a firewall rules issue because when I disabled UFW I could access my XP shared directory with no problems. So which ports need to be allowed in UFW rules for me to browse my XP share ? 137, 138, 139 and 445 ?
****UPDATE*****
With the firewall ENABLED I fire up a terminal on command line and when I run the command :
Code:
$ smbclient -L //***.***.***.***
I get a listing showing my XP details and the name of directory which is shared. I can login to the xp share on command line by issuing the smbclient command :
Code:
$ smbclient //***.***.***.***/xpshare
.................
smb: \>
At the smb prompt I can "ls" and "get" files. So I am now even more confused as to why when using command line I can get into my xp share and when using "network browsing" gui I cannot ??!!
Cheers,
uc
Bookmarks