Thread: NIS+ behind NAT
View Single Post

   
  #2 (permalink)  
Old 01-16-2008, 09:56 AM
Peter Tribble
 
Posts: n/a
Default Re: NIS+ behind NAT

In article <1130340775.513244.272370@g49g2000cwa.googlegroups .com>,
"Albert" <sfaerax@gmail.com> writes:
> Hi,
> this is my question: is it possible to use NIS+ if:

....
> NIS+MasterServer has:
> - REAL_IP
> - NATTED_IP
>
> Clients on NET_B have
> - REAL_IP
> - NATTED_IP

....
> With a packet snoop on NIS+Master and on NIS+Client I can see packets
> going between two hosts... (because in the first part of communication
> they use natted IPs)
> ...but in the second part of communication I can see that NIS+Client
> sends packets to REAL_IP of NIS+Master!!!
>
> Where does NIS+Client get NIS+Master REAL_IP ???


Try:

niscat -o `domainname`

and look at the universal addresses - they're probably the real IP
address.

Could you add the natted IP addresses to the hosts table as addresses for
the servers and try something like 'nisupdkeys -a'? I have no idea
whether this will work, mind you, but I suspect it's the area to look.

--
-Peter Tribble
L.I.S., University of Hertfordshire - http://www.herts.ac.uk/
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
Reply With Quote