Hello,
I am trying to configure NIS with static ports to use it with firewalld on a server under openSUSE Leap 15.1 (with the latest updates as of today, 2020.04.23). So, I followed the instructions given in https://doc.opensuse.org/documentati...wall-firewalld, "17.4.2 Accessing Services Listening on Dynamic Ports", and set the variables as follows:
YPSERV_ARGS and YPPASSWDD_ARGS were not present in ypserv, so I had to add them manually.
After restarting the server, I used `rpcinfo -p` to see the ports. Unfortunately, it only works for ypbind (port 24500 -> OK), but neither for ypserv (port 701 -> not OK) nor for yppasswdd (port 720 -> not OK). It seems that the settings of the YPSERV_ARGS and YPPASSWDD_ARGS variables are ignored.
Any help would be greatly appreciated. Thanks in advance!
I am trying to configure NIS with static ports to use it with firewalld on a server under openSUSE Leap 15.1 (with the latest updates as of today, 2020.04.23). So, I followed the instructions given in https://doc.opensuse.org/documentati...wall-firewalld, "17.4.2 Accessing Services Listening on Dynamic Ports", and set the variables as follows:
/etc/sysconfig/ypbind | YPBIND_OPTIONS | -p 24500 |
/etc/sysconfig/ypserv | YPXFRD_ARGS | -p 24501 |
YPSERV_ARGS | -p 24502 | |
YPPASSWDD_ARGS | --port 24503 |
YPSERV_ARGS and YPPASSWDD_ARGS were not present in ypserv, so I had to add them manually.
After restarting the server, I used `rpcinfo -p` to see the ports. Unfortunately, it only works for ypbind (port 24500 -> OK), but neither for ypserv (port 701 -> not OK) nor for yppasswdd (port 720 -> not OK). It seems that the settings of the YPSERV_ARGS and YPPASSWDD_ARGS variables are ignored.
Any help would be greatly appreciated. Thanks in advance!