Unsolved
This post is more than 5 years old
11 Legend
•
20.4K Posts
•
87.4K Points
0
1184
February 22nd, 2008 11:00
Restricting NFS export to specific fsn ?
Hi guys,
does anybody know if there is a way to restrict NFS export to specific FSN interface. I have 3 different networks connected to my NS80 and wanted to make sure NFS exports were only available from specific interface. I know i can lock it down with export permissions but i would rather people not even see those exports from other networks.
Thanks
does anybody know if there is a way to restrict NFS export to specific FSN interface. I have 3 different networks connected to my NS80 and wanted to make sure NFS exports were only available from specific interface. I know i can lock it down with export permissions but i would rather people not even see those exports from other networks.
Thanks
No Events found!


nandas
6 Operator
•
1.5K Posts
1
February 22nd, 2008 12:00
-option vlan= ,[,vlanid>,...]
It specifies that all hosts belonging to the VLAN ID will have access
to the exported file system. Hosts on other VLANs will be denied.
Another option may be with access= [: :...] option with the server_export command - this will restrict which hosts can mount the export. You may use a subnet or netgroup as the client in this definition - thereby restricting to those hosts in the same subnet as your fsn interface.
You may refer to the Celerra Network Server Command Reference Manual for more details.
However, I'll also wait to hear from others, if there is any other tricks.
Have a wonderful weekend.
Thanks,
Sandip
Rainer_EMC
6 Operator
•
8.6K Posts
1
February 22nd, 2008 14:00
export through a specific interface or device.
However, there is an option to define VLAN IDs with
the server_export command from CLI.
-option vlan= ,[,vlanid>,...]
It specifies that all hosts belonging to the VLAN ID
will have access
to the exported file system. Hosts on other VLANs
will be denied.
yes, thats a very usefull option.
Note that in order to use it you have to configure your network interfaces to use tagged VLANs (as well as the switch interfaces the Celerra connects to).
The nice thing is that it doesnt just limit access - it will even prevent clients from other VLAN to see what NFS exports are there via showmount
This option is only available in the CLI - however if you set it once you can then configure other NFS export option in the GUI and it wont change the vlan export.
Technically speaking I think we go one step more than denying access - I think we just drop the NFS request.
Rainer_EMC
6 Operator
•
8.6K Posts
0
February 22nd, 2008 15:00
VLAN tagging is very easy to setup. Chances are that if you have multile subnets on a physical interface you are already using it.
Otherwise any NFS server will give you the list of exported NFS shares when you do a showmount from a client. Thats normal NFS behaviour
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
February 22nd, 2008 15:00
ScotN
76 Posts
0
January 27th, 2009 08:00
[nasadmin@phx-ucs101 ~]$ server_export server_9
server_9 :
export "/dmx9av512" vlan=512
export "/dmx9av45" vlan=45
From a server in vlan45 I can mount dmx9av512.
ScotN
76 Posts
0
January 27th, 2009 13:00
Double checked each one.
The servers all connect through a Firewall Service module in our 6509's Tagging is performed in that module.
Will the version of tcpdump on T5.6.40.3 captrue the vlan tag ? I know older versions did not.
Thanks Rainer.
Scot
Rainer_EMC
6 Operator
•
8.6K Posts
0
January 27th, 2009 13:00
If you are only after not showing exports to clients that arent on the export list there is soon going to be an easy "NFS export hiding" functionality available.
Rainer_EMC
6 Operator
•
8.6K Posts
0
January 27th, 2009 13:00
ScotN
76 Posts
0
January 27th, 2009 15:00
I need to actively deny them from mounting or reading the FS for PCI compliance.
Looks like you can't capture vlan tags from a datamover if you are using fsn or virtual devices.
Cannot start capture; device owned by a virtual nic.
Start capture on virtual nic instead.
If I capture on the virtual device the tags will have already been stripped because it was delivered to that vlan.
Scot
BillStein-Dell
Moderator
•
285 Posts
0
January 28th, 2009 14:00
Each interface (virtual or physical) has its own IP stack. The built-in tcpdump utility captures data from within the IP stack of the interface you select, so you won't get the VLAN tag details since, as you correctly inferred, the tag has already been stripped and the packet passed to the virtual adapter's IP stack.
To see the detail before that happens, you would need to use an external passthrough sniffer or a span port on the switch.
ScotN
76 Posts
0
January 28th, 2009 15:00
I am not having a problem seeing the share the problem is I don't want to see it.
Also I am looking at fsn0 NOT the virtual interface I created for the vlan.
dmx9_fsn0_v512 protocol=IP device=fsn0
inet=#.#.#.# netmask=255.255.255.0 broadcast#.#.#.# UP, ethernet, mtu=1500, vlan=512, macaddr=0:60:16:25:ff:ff
ran ./server_tcpdump server_9 -start fsn0 -w .....
Looked at the packet dump using wireshark on my Fedora 10 laptop.
Display filter Vlan ID is present "vlan.id".