From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,efa0b13c1c91def5,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-04-26 18:10:33 PST Path: newsfeed.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!not-for-mail From: Eric Bennett Newsgroups: comp.unix.tru64 Subject: Can automount do tcp NFS mounts? Date: Thu, 26 Apr 2001 21:10:16 -0400 Organization: Cornell University Sender: verified_for_usenet@cornell.edu (emb22 on arginine.chem.cornell.edu) Message-ID: <3AE8C6F8.6D296E6E@pobox.com> NNTP-Posting-Host: arginine.chem.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news01.cit.cornell.edu 988333827 2723 128.253.86.74 (27 Apr 2001 01:10:27 GMT) X-Complaints-To: usenet@news01.cit.cornell.edu NNTP-Posting-Date: 27 Apr 2001 01:10:27 GMT X-Mailer: Mozilla 4.75 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en Xref: newsfeed.google.com comp.unix.tru64:2137 I have some machines behind a masquerading firewall, and I want them to be able to NFS-mount machines on the other (public) side of the firewall (NOT the reverse, I am NOT trying to have machines on the public side of the firewall access an NFS server on the private side). I can get this to work manually if I use TCP-based NFS: mount -o proto=tcp host:/filesystem /localmountpoint I would prefer to use the automounter to do this, but I cannot figure out how to get the automounter to do TCP-based mounts (UDP is not working, which I assume is because its connectionless nature doesn't allow the masquerading software to know where to send incoming data). All the arguments I have tried putting in the automount maps are rejected. For example, from the daemon.log system log: automount[1667]: WARNING: option "proto" ignored for pro-home in /etc/auto.home The mount man page says that "-o tcp" is a different syntax for "-o proto=tcp" so I tried that too, but automount rejects that, and several other variations I tried as well. For example, the following line in an indirect map: pro-home -ro,tcp pro:/HOME It is happy with "-ro" by itself, but "-ro,tcp" produces a complaint about "tcp" being an ignored option. Similarly for "-ro,proto=tcp": WARNING: option "proto" ignored for pro-home in /etc/auto.home I ran strings on the automount program and the output included most of the other well known NFS mounting options but not anything that looks like it has to do with tcp mounting, so I suspect I'm out of luck, but I would love to hear otherwise. :-) -- Eric Bennett ( ericb@pobox.com ; http://www.pobox.com/~ericb )