Networking Forums

Networking Forums > Computer Networking > Linux Networking > Can't access TFTP on a server

Reply
Thread Tools Display Modes

Can't access TFTP on a server

 
 
Vicky
Guest
Posts: n/a

 
      10-13-2004, 11:01 AM
Hello,

There is a computer connected to a network.
There are a few processes running on the computer:
- telnet,
- my own application which listen on such port (UDP),
- TFTPd.

I can connect to the computer from home via internet to:
- telnet,
- my own application.

I can't receive/send any file from/to TFTPd. TFTPd works fine
in local network. But when I connect the computer to WAN,
TFTPd doesn't work (telnet and my own application work).

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:22:A2:00:00:01
inet addr:192.168.0.190 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3202 errors:0 dropped:0 overruns:0 frame:0
TX packets:1516 errors:0 dropped:0 overruns:0 carrier:0
collisions:1 txqueuelen:100
RX bytes:300354 (293.3 Kb) TX bytes:171188 (167.1 Kb)
Interrupt:3 Base address:0x300

# /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0


What is wrong?

Thanks in advance,
Vicky.


 
Reply With Quote
 
 
 
 
Vicky
Guest
Posts: n/a

 
      10-13-2004, 12:32 PM
Problem solved: ShuttleTFTP can't access servers
not in local network. Linux's and BSD's TFTP clients
work very well.

Vicky.


 
Reply With Quote
 
Vicky
Guest
Posts: n/a

 
      10-13-2004, 01:25 PM
> Problem solved:

Not at all. Help still wanted.

Vicky.


 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      10-13-2004, 10:52 PM
In article <ckj1vk$d27$(E-Mail Removed)>, Vicky wrote:

>I can connect to the computer from home via internet to:
> - telnet,
> - my own application.
>
>I can't receive/send any file from/to TFTPd. TFTPd works fine
>in local network. But when I connect the computer to WAN,
>TFTPd doesn't work (telnet and my own application work).


On the server, run tcpdump while attempting to connect from home.
Most administrators with any sense of security do not allow tftp
through a firewall - as it has been so widely exploited for data
theft. However if your admin is stupid enough to allow telnet from
outside, anything might be permitted. You could also use something
like tcptraceroute (http://michael.toren.net/code/tcptraceroute/)
to investigate where the packets are going astray.

Old guy

 
Reply With Quote
 
Antoine EMERIT
Guest
Posts: n/a

 
      10-14-2004, 07:35 PM
"Vicky" <(E-Mail Removed)> wrote
news:ckj1vk$d27$(E-Mail Removed):
> I can't receive/send any file from/to TFTPd. TFTPd works fine
> in local network. But when I connect the computer to WAN,
> TFTPd doesn't work (telnet and my own application work).


Do you have a router between your server and your internet connexion ? (it
seems yes with your prvate ip).

Is there any iptables or firewall rules (filter/forwarding) ? (iptables -L)

What is your tftp client ?


Regards
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tftp server problem bulli Linux Networking 3 07-02-2008 06:59 AM
Which DHCP/DNS/TFTP Server Gerry Linux Networking 0 09-27-2005 03:50 PM
TFTP server not receiving a file which sent on user defined port from windows client GS Linux Networking 1 07-13-2005 05:13 PM
tftp server zero-ed files sizes ? Linux Networking 0 06-20-2005 05:41 PM
tftp server on linux Mike Wing Linux Networking 2 08-07-2003 11:30 PM



1 2 3 4 5 6 7 8 9 10 11