Skip to content

Instantly share code, notes, and snippets.

@zoonderkins
Last active October 17, 2023 04:22
Show Gist options
  • Save zoonderkins/5ac034f6b9125291bb6ee27d1ccfcb0c to your computer and use it in GitHub Desktop.
Save zoonderkins/5ac034f6b9125291bb6ee27d1ccfcb0c to your computer and use it in GitHub Desktop.
check incoming and outgoing udp traffic

Check incoming and outgoing UDP traffic

# Outgoing
nc -v -u www.google.com 443

# Incoming
nc -v -u 1.1.1.1 443

Verify with TCPDUMP

Sometimes that nc -vu command is not enough to verify UDP 443 port unless it will return some information back You can verify it with tcpdump, e.g. Run tcpdump on the website's server.

tcpdump -vv udp port 443 -X

Run nc command from any client server.

nc -vu YOUR_DOMAIN 443

and you should see some output on server if there's any UDP port 443 traffic in and out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment