... | @@ -25,10 +25,8 @@ yum -y install dhcp syslinux xinetd tftp-server dracut-network |
... | @@ -25,10 +25,8 @@ yum -y install dhcp syslinux xinetd tftp-server dracut-network |
|
# DHCP
|
|
# DHCP
|
|
iptables -I INPUT 1 -s 10.1.1.0/24 -m state --state NEW,RELATED,ESTABLISHED -p udp --dport 67 -j ACCEPT
|
|
iptables -I INPUT 1 -s 10.1.1.0/24 -m state --state NEW,RELATED,ESTABLISHED -p udp --dport 67 -j ACCEPT
|
|
iptables -I INPUT 1 -s 10.1.1.0/24 -m state --state NEW,RELATED,ESTABLISHED -p udp --dport 68 -j ACCEPT
|
|
iptables -I INPUT 1 -s 10.1.1.0/24 -m state --state NEW,RELATED,ESTABLISHED -p udp --dport 68 -j ACCEPT
|
|
|
|
|
|
# TFTP
|
|
# TFTP
|
|
iptables -I INPUT 1 -s 10.1.1.0/24 -m state --state NEW,RELATED,ESTABLISHED -p udp --dport 69 -j ACCEPT
|
|
iptables -I INPUT 1 -s 10.1.1.0/24 -m state --state NEW,RELATED,ESTABLISHED -p udp --dport 69 -j ACCEPT
|
|
|
|
|
|
# NFS
|
|
# NFS
|
|
iptables -I INPUT 1 -s 10.1.1.0/24 -m state --state NEW,RELATED,ESTABLISHED -p udp --dport 111 -j ACCEPT
|
|
iptables -I INPUT 1 -s 10.1.1.0/24 -m state --state NEW,RELATED,ESTABLISHED -p udp --dport 111 -j ACCEPT
|
|
iptables -I INPUT 1 -s 10.1.1.0/24 -m state --state NEW,RELATED,ESTABLISHED -p tcp --dport 111 -j ACCEPT
|
|
iptables -I INPUT 1 -s 10.1.1.0/24 -m state --state NEW,RELATED,ESTABLISHED -p tcp --dport 111 -j ACCEPT
|
... | | ... | |