[OpenAFS] OpenAFS Fileserver Behind NAT
Derrick Brashear
shadow@gmail.com
Wed, 22 Apr 2009 08:23:08 -0400
On Wed, Apr 22, 2009 at 6:32 AM, Ken Elkabany <Ken@elkabany.com> wrote:
> Hello,
>
> I am running OpenAFS 1.4.7 servers on Debian 5.0. I had initially been
> having trouble accessing my OpenAFS Fileserver that was behind a NAT.
> The VLDB was reporting the local IP of the fileserver to machines
> outside the NAT group, resulting in connection failures. Adding both
> the internal and external IPs to the NetInfo file did not seem to
> yield any results or alter the server's behavior in any way (anyone
> know why?).
sure. the external IP doesn't appear on any interface on the machine,
so it won't get advertised solely because it's in that file.
nor is vos changeaddr correct, because, no, the server doesn't have
that address.
undo vos changeaddr; then, instead, modify the NetInfo file so the
external address is prefixed with
"f "
e.g.
f 10.0.0.1
if the external address were 10.0.0.1; and restart the fileserver.
>The solution that did work was to use the command "vos
> changeaddr -oldaddr internalip -newaddr externalip". However, now all
> of our OpenAFS clients are using the external ip, even though we would
> prefer those within the NAT group to be using the internal ip. Any
> suggestions?
>
> Also, any explanations as to why 1. No sysid file is being created
> would be appreciated, and 2. "vos listaddrs" returns blank?
see if it's still true after the server is correctly configured.
--
Derrick