Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Mauricio Tavares
September 25, 2006, 12:21 pm
rate this thread
setup NIS such that ypserv, ypxfrd, and yppasswd will use fixed ports? I
remember that one of the differences between linux and solaris was that
in linux you could specify the ports for those services. Am I correct?
Now, here is an even easier question: how to setup the firewall at the
host to pass those ports? I have made it work but simpyl turning the
firewall off but that is really really not what I am looking to do.
(if you need to email me, use this address =)
Re: Ports for NIS?
Haven't tried it, but I believe the commands in question can all
take --port <number>
With regards to iptables (not sure what "firewall" you are using)...
I think you need something like:
iptables -I INPUT -i <interface> -p udp --dport <number> --sport \
<number> -j ACCEPT
(not totally sure about having both dport and sport... not sure
exactly how the connections are done for yp stuff.. replace
<number> and <interface> with the values for your yp port
number and network interface)
- » Cloud Ace Technologies is offering Implementation Services on Cloud Computing, Cloud Serv...
- — Newest thread in » Linux Security