tftp-hpa server setup in Fedora

I am trying to setup tftp-hpa server in Fedora code 8.
As suggested by the goodle search I have done the following setps..

1. Downloaded the tftp-hpa source code
2. Completed make and make install
3. Created tftp config file in /etc/xinetd.d/tftp
service tftp
{

disable         = no
protocol        = udp
port            = 69
socket_type     = dgram
wait            = yes
user            = nobody
server          = /usr/sbin/in.tftpd
server_args     = -s /tftpboot

}
4. Created dir /fttpboot and provided "777" permission and changed the owner as "nobody" as mentioned in the tftp configuration file. Created a file named hda.txt in that dir.
5. Restarted the xinetd service. (service xinetd restart). Also  tried "chkconfig tftp on"
6. The command "nmap -sU 127.0.0.1" give the follwing...
PORT    STATE         SERVICE
68/udp  open|filtered dhcpc
69/udp  open|filtered tftp
111/udp open|filtered rpcbind
631/udp open|filtered unknown
709/udp open|filtered entrustmanager
733/udp open|filtered unknown
So the tftp is running in port 69.
7. Started the tftp client.
./tftp 127.0.0.1
tftp> get 127.0.0.1 hda.txt
Transfer timed out.


I am getting the timeout error..I dont know how and where oto debug this issue.
Please help me to solve this issue. Many thanks in advance.







shathyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

colinvannCommented:
Hi there,

You have confirmed that the service is running and that the port is listening...

Are you using iptables? - run the following to find out...
      /etc/init.d/iptables status

If you are running iptables, you need to add a rule to allow tftp traffic in, run the following two commands:
      iptables -A INPUT -p udp --dport 69 -j ACCEPT
      /etc/init.d/iptables save

The above rule will only allow the incoming traffic and not the responses to tftp request packets the easiest way to handle this is to make iptables aware of the state of connections.
To set this up run the following two commands:
      iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
      /etc/init.d/iptables save

For connection tracking of tftp traffic you'll have to add the following item to your IPTABLES_MODULES line in /etc/sysconfig/iptables-config:
      ip_conntrack_tftp

Hope this helps,
Colin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.