tftp配置

来源:互联网 发布:mac qq截屏 编辑:程序博客网 时间:2024/06/08 02:32

redhat2.4  内核滴。

 

#setup

 

关闭防火墙  选择firewall configuration

 

打开TFTP服务 选择system services  取消ipchains iptables 打开 tftp

 

#vi /etc/xinetd.d/tftp

 

service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
# disable = yes //默认是关闭的,这里注释掉。
per_source = 11
cps = 100 2
flags = IPv4
}

 

测试自己连接自己

 

#chmod 766 tftpboot

 

#service xinetd restart

 

在TFTPBOOT下建立一个文件

 

#tftp

 

#connect IP

 

#get XXX

 

显示连接信息

 

成功。。。

 

原创粉丝点击