TFTP

安装TFTP软件包

yum install tftp-server tftp -y

编辑配置文件开启TFTP服务

vim /etc/xinetd.d/tftp
# 在RHEL 7系统中,TFTP服务是使用xinetd服务程序来管理的


disable			= no
# 修改参数disable为no

重启服务,并配置防火墙

systemctl restart xinetd

systemctl enable xinetd

firewall-cmd --permanent --add-port=69/udp

firewall-cmd --reload

创建测试文件

连接测试

在客户端上连接先清空iptables

访问测试

Last updated