Why are UDP messages from outside the network received but not delivered?
Posted
by
Warren Pena
on Server Fault
See other posts from Server Fault
or by Warren Pena
Published on 2011-01-13T00:46:46Z
Indexed on
2011/01/13
0:55 UTC
Read the original article
Hit count: 648
I have an Ubuntu Server 10.04 application I've developed that receives messages over a UDP port. The ultimate purpose of this application is to receive messages sent from workers' 3G modems out in the field.
If use netcat on either another ubuntu Server or my Vista laptop (both on the same LAN as my test machine) to send a message, the message arrives correctly and appears in my application. However, if I go out to my car and use its 3G modem to send a message from the same Vista laptop, it doesn't work. If I run tcpdump -A, I see the message arrive correctly, but it's never delivered to my application. Clearly, the OS is the one making the choice not to deliver the messages (else they wouldn't appear in tcpdump nor would my app receive them when coming from local machines). I have not installed any firewall software on this machine, nor am I aware of anything installed by default that would block the traffic.
sudo iptables --list returns
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
I'm not too familiar with iptables, but it looks to me like that's telling it to not do anything.
What could be going on that's preventing my messages from being delivered?
© Server Fault or respective owner