TFTP

From AlphaBook
Revision as of 14:14, 8 January 2019 by Admin (talk | contribs) (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 =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Install

  • yum install tftp tftp-server xinetd -y

Configure

  • vi /etc/xinetd.d/tftp
  • server_args = -c -s /var/lib/tftpboot
  • disable = no

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