* Can automount do tcp NFS mounts?
@ 2001-04-27 1:10 Eric Bennett
2001-04-28 4:15 ` Ric Werme
2001-05-02 4:05 ` Jack Patteeuw
0 siblings, 2 replies; 4+ messages in thread
From: Eric Bennett @ 2001-04-27 1:10 UTC (permalink / 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 )
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can automount do tcp NFS mounts?
2001-04-27 1:10 Can automount do tcp NFS mounts? Eric Bennett
@ 2001-04-28 4:15 ` Ric Werme
2001-05-05 3:37 ` Eric Bennett
2001-05-02 4:05 ` Jack Patteeuw
1 sibling, 1 reply; 4+ messages in thread
From: Ric Werme @ 2001-04-28 4:15 UTC (permalink / raw)
Eric Bennett <ericb@pobox.com> writes:
>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
mount uses UDP to to ask the mountd daemon for the file handle to use.
I don't see how this can work unless you're letting quite a bit
through.
>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
Should be in there, but not until some release, but I forget
which. V5.0? V5.0A?
Please report OS and release of both client and
server when you post NFS questions.
--
Ric Werme | werme@nospam.mediaone.net
http://people.ne.mediaone.net/werme | ^^^^^^^ delete
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can automount do tcp NFS mounts?
2001-04-27 1:10 Can automount do tcp NFS mounts? Eric Bennett
2001-04-28 4:15 ` Ric Werme
@ 2001-05-02 4:05 ` Jack Patteeuw
1 sibling, 0 replies; 4+ messages in thread
From: Jack Patteeuw @ 2001-05-02 4:05 UTC (permalink / raw)
Eric Bennett wrote:
>
> 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
automount requires "end to end" authentication. In other words both the
forward (name to address) and reverse (address to name) lookups have to
match. You may be able to trick this into working by adding the names
and address of each machine in each /etc/hosts and then make certain
that /etc/svc.conf looks up hosts in "files" first.
Jack Patteeuw
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can automount do tcp NFS mounts?
2001-04-28 4:15 ` Ric Werme
@ 2001-05-05 3:37 ` Eric Bennett
0 siblings, 0 replies; 4+ messages in thread
From: Eric Bennett @ 2001-05-05 3:37 UTC (permalink / raw)
In article <JtrG6.1820$e85.830321@typhoon.ne.mediaone.net>, Ric Werme
<werme@mediaone.net> wrote:
> Eric Bennett <ericb@pobox.com> writes:
>
>
> >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
>
> mount uses UDP to to ask the mountd daemon for the file handle to use.
> I don't see how this can work unless you're letting quite a bit
> through.
On my server box, mountd is listening for tcp and udp connections on two
separate ports, both of which are registered with the port mapper.
> >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
>
> Should be in there, but not until some release, but I forget
> which. V5.0? V5.0A?
>
> Please report OS and release of both client and
> server when you post NFS questions.
Sorry that I forgot that. We have a machine with 5.1 but all the
machines I was doing this on are running 4.0F. We also have some SGIs
and with them it seems rather hopeless as that automounter seems to
support even fewer options than the Tru64 one.
This isn't critical, as eventually the server will be moved behind the
firewall too; meanwhile, though, it's a minor annoyance to have to mount
everything manually.
--
Eric Bennett ( http://www.pobox.com/~ericb/ )
Cornell University / Chemistry & Chemical Biology
Washington budget estimators are the only professionals whose forecasting skills
are more suspect than television weathermen. -Daniel Gross
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-05-05 3:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-27 1:10 Can automount do tcp NFS mounts? Eric Bennett
2001-04-28 4:15 ` Ric Werme
2001-05-05 3:37 ` Eric Bennett
2001-05-02 4:05 ` Jack Patteeuw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox