UDP traffic not being allowed out
From some tests I've done it would seem that UDP traffic is not being allowed out from my node. Is this normal? Is there something I can do or configure to allow UDP traffic (on a specific port) out from my node?
I'm a bit of a linux networking n00b so please be patient
Thanks
11 Replies
There's nothing turned on by default that would prohibit UDP traffic that I know of.
I tested on the same scenario on another machine (not a linode) and had no issues, which makes me think there is some issue with the UDP traffic going out from my linode.
Was your test machine on the same LAN as your client, perhaps? If that's the case, maybe your ISP or firewall is filtering? For testing, perhaps you could set up X/VNC on your linode and try to run your client from the same machine to see if UDP packets even make it to localhost.
Since UDP works for me, it's likely your packets are either getting dropped at your server before making it to the (virtual) NIC or in your ISP/client LAN. If you run the test client from your linode and it also fails, the packets are probably not leaving your linode. If it works, and if your other test machine is also remote relative to your current client, perhaps a linode support ticket is in order.
I know that the issue is not my ISP or my Firewall here at my location. I tested the exact same setup to a friend's server, and did not have the issue.
Oh, I also had somebody in a seperate location connect to my linode with the admin client, and he observed the same thing as I did from my location, so everything is pointing to an issue with my linode, but I have no idea what it might be.
Is there a command line utility that I can use to test this? Is there some configuration I need to check on my linode?
@chapterthree:
Is there a command line utility that I can use to test this? Is there some configuration I need to check on my linode?
You can start by running:
$ iptables --flush
Just to make sure that you don't have any iptables rules in there that would be preventing UDP traffic.
root@g [/etc]# iptables --flush
root@g [/etc]# iptables -L
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 run UDP-intensive apps daily on my linode and have never had to do anything special to get them working.
Maybe it would be worth trying another UDP app just to make sure it's not a problem specific to your mail server app.
@anderiv:
Maybe it would be worth trying another UDP app just to make sure it's not a problem specific to your mail server app.
This is exactly what I want to do to help isolate the issue, but I'm clueless as to what tools or programs I can use to test to see if UDP packets are travelling from my linode to me. Any suggestions?
Thanks for all the help
Example:
# nmap -sU -P0 -p <portnum> <hostname or="" ip=""></hostname></portnum>
The -sU says to do UDP only, -P0 disables an initial ping check for host up or down, -p
Good stuff. I use it all the time for TCP or UDP (or both) scans or specific ports to see how things looks for a response if debugging ACLs.