VMware Communities
alexwallis
Contributor
Contributor

mounting cifs share through firewall on host.

Hi,

I am running eset smart security for my firewall on my xp pro host.

I can't mount cifs shares unless I turn off this firewall completely which obviously leaves me exposed to risk.

So I am wondering, what do I need to tell my firewall to allow through in order to let my cifs shares mount folders on the host?

also, could someone please tell me how do I allow my ordinary linux user to mount cifs shares? As at the moment I have to keep switching to super user in terminal whenever I want to mount a folder which is quite annoying.

Many thanks for any help,

Alex.

Reply
0 Kudos
1 Reply
AWo
Immortal
Immortal

So I am wondering, what do I need to tell my firewall to allow through in order to let my cifs shares mount folders on the host?

Should be

- UDP/137

- UDP/138

- TCP/139

- TCP/445

also, could someone please tell me how do I allow my ordinary linux user to mount cifs shares? As at the moment I have to keep

>switching to super user in terminal whenever I want to mount a folder which is quite annoying.

1. Make an enrty in the "/etc/fstab" for that mount and add "users" as an option:

//192.168.1.1/myshare /mnt/cifs cifs ....,users,.... 0 0

2. Change the security on "/usr/mount.cifs" with "chmod u+s ./mount.cifs"


AWo

VCP 3 & 4

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
Reply
0 Kudos