Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Eric Bennett <ericb@pobox.com>
Subject: Can automount do tcp NFS mounts?
Date: Thu, 26 Apr 2001 21:10:16 -0400	[thread overview]
Message-ID: <3AE8C6F8.6D296E6E@pobox.com> (raw)


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 )


             reply	other threads:[~2001-04-27  1:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-27  1:10 Eric Bennett [this message]
2001-04-28  4:15 ` Can automount do tcp NFS mounts? Ric Werme
2001-05-05  3:37   ` Eric Bennett
2001-05-02  4:05 ` Jack Patteeuw
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox