LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-17-2004, 11:10 AM   #1
rosscopeeko
Member
 
Registered: Aug 2003
Location: Ipswich, UK
Distribution: mandrake 10.0
Posts: 79

Rep: Reputation: 15
seeing nfs shares problem (firewall)


have set up nfs shares on a pc. I can see them when the firewall (guarddog) is disabled, but not when it is enabled.

have typed rpcinfo -p and got the stuff below, which i added and unblocked the ports below. but still no joy - I think i've missed a few ports - can anyone tell me the next stage.

cheers,

ross


program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 916 status
100024 1 tcp 919 status
391002 2 tcp 1024 sgi_fam
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 1024 nlockmgr
100021 3 udp 1024 nlockmgr
100021 4 udp 1024 nlockmgr
100021 1 tcp 1025 nlockmgr
100021 3 tcp 1025 nlockmgr
100021 4 tcp 1025 nlockmgr
100005 1 udp 674 mountd
100005 1 tcp 677 mountd
100005 2 udp 674 mountd
100005 2 tcp 677 mountd
100005 3 udp 674 mountd
100005 3 tcp 677 mountd
 
Old 03-17-2004, 11:51 AM   #2
Thulemanden
Member
 
Registered: Sep 2003
Location: Copenhagen, Denmark
Distribution: PC-BSD, PCLOS, MeeGo, Win 7
Posts: 189

Rep: Reputation: 30
wow

gee, I don't know.

I just ticked the box under Network file system - Sun Microsystems under File Transfer and had it working. Maybe you can do the same?
 
Old 03-17-2004, 03:10 PM   #3
rosscopeeko
Member
 
Registered: Aug 2003
Location: Ipswich, UK
Distribution: mandrake 10.0
Posts: 79

Original Poster
Rep: Reputation: 15
nope that was ticked. but something is blocking it - i can't even see nfs shares on my own box (which i can with the firewall disabled).

any ideas??
 
Old 03-17-2004, 03:46 PM   #4
skunkburner
Member
 
Registered: Mar 2004
Distribution: Fedora Core 17 & 18, Debian Wheezy
Posts: 137

Rep: Reputation: 16
If you disable your firewall, connect to the nfs share, then run "netstat -atu" it will tell you what connections are being made to your box. (see below). So you'll be able to see what ports/protocols your firewall wants to let through if you have missed any.

user@linux-box]$ netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:32768 *:* LISTEN
tcp 0 0 localhost.local:32769 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:x11 *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:https *:* LISTEN
tcp 0 0 xxx.xxx.xxx.xxx:36126 xxx.xxx.xxx.xxx:ssh ESTABLISHED
tcp 0 0 xxx.xxx.xxx.xxx:37214 xxx.xxx.xxx.xxx:ssh ESTABLISHED
udp 0 0 *:32768 *:*
udp 0 0 *:bootpc *:*
udp 0 0 *:845 *:*
udp 0 0 *:sunrpc *:*

another possibility is your firewall is blocking incoming connections. (turn the firewall level to medium on red hat)

hope this helps

Last edited by skunkburner; 03-17-2004 at 03:52 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS shares automounting mjuhannus Linux - Networking 1 03-06-2005 06:15 AM
Mounting NFS Shares ... UID Problem Riddick Linux - Software 1 01-06-2005 09:48 AM
NFS - Shares (File Caching Problem) smaida Linux - Networking 4 04-24-2004 12:39 AM
How do you mount NFS shares? Thaidog Linux - Newbie 1 04-04-2004 09:48 PM
NFS-shares: Problem with locales/charset. Clemente Linux - Networking 1 01-19-2004 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration