Before you start, this is a complex task and you need to have in-depth knowledge of the TCP/IP protocol so if you don't own this book already, buy it!
Depending on where the packets take a wrong turn, you will have to: (increasing number means increased difficulty)
Use gufw
's listening report:

to see whether the packets actually arrive to your machine. This is the simplest way of seeing what's going on.
Use sudo tcpdump -i interface
to have an even deeper knowledge what's happening on your machine...
Sniff your network using something like wireshark
to see the packets that actually get transported on the LAN and which are never responded to. The last one needs 2 machines: the "sniffing machine" that sniffs the network that the other machine is connected to. Also, you need to enable a monitor port on your switch (a.k.a. "mirroring port" or "SPAN" port) or use an old-style HUB.
The last one will allow you to follow the entire path of the packet (which is what your question is about)
For further information, read the manuals of the respective tools otherwise you will be like a kid trying to figure out an old-fashioned phone! >:-)