helow
my goal is to install via kickstart a CentOS 7 NFS server but I fail to set the firewall rules at installation time. In my kickstart file I set:
# Firewall configuration # ssh and NFS # Ports 111 and 875 are for rquotad firewall --enabled --ssh --service=nfs --port=111:tcp,111:upd,875:tcp,875:upd
On the installed server, /root/anaconda-ks.cfg contains: # Firewall configuration firewall --enabled --port=111:tcp,111:upd,875:tcp,875:upd --service=ssh,nfs
But after install "firewall-cmd --list-all" returns:
public (active) target: default icmp-block-inversion: no interfaces: p4p1 sources: services: ssh dhcpv6-client ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules:
An idea about my mistake ?
Thanks
Patrick
Damned! I do not know how many time I check this line without finding my error! Thanks Mark :-)
Mark Milhollan wrote:
On Fri, 21 Sep 2018, Patrick Begou wrote:
firewall --enabled --ssh --service=nfs --port=111:tcp,111:upd,875:tcp,875:upd
udp not upd.
/mark _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos