Difference between revisions of "TFTP"
From AlphaBook
(Created page with "== Install == * yum install tftp tftp-server xinetd -y == Configure == * vi /etc/xinetd.d/tftp * server_args = -c -s /var/lib/tftpboot * disable =...") |
|||
Line 6: | Line 6: | ||
* server_args = -c -s /var/lib/tftpboot | * server_args = -c -s /var/lib/tftpboot | ||
* disable = no | * disable = no | ||
+ | |||
+ | == Configure Permission == | ||
+ | * chmod 777 /var/lib/tftpboot | ||
== Configure Service == | == Configure Service == |
Latest revision as of 13:35, 9 January 2019
Contents
Install
- yum install tftp tftp-server xinetd -y
Configure
- vi /etc/xinetd.d/tftp
- server_args = -c -s /var/lib/tftpboot
- disable = no
Configure Permission
- chmod 777 /var/lib/tftpboot
Configure Service
- systemctl enable tftp xinetd
- systemctl restart tftp xinetd
Configure Firewall
- firewall-cmd --permanent --add-service=tftp
- firewall-cmd --reload
- firewall-cmd --list-service
SELinux
- getsebool -a | grep tftp
- setsebool -P tftp_anon_write on
- setsebool -P tftp_home_dir on
- getsebool -a | grep tftp