Hello everybody! My question is: How do I capture an external IP of a machine I have a transmission with? Or is it not always possible (depending on the structure of internal network). All I was able to find were internal IPs of my machine and another. They're useless. The only thing I need is an external IP. May be I need to adjust capture options?
P.S. Sorry if my question sounds stupid - I'm just a beginner...
asked 31 Jan '11, 17:30
This is a detail that Network Address Translation (NAT) is designed to hide from you. Therefore it won't show up on your computers network interface and in captures.
There are some other options to get it, STUN, maybe even uPNP, but neither have to do with packet capture.
answered 31 Jan '11, 22:20
You will need to capture in front of the NAT device. You could capture on the device with one Wireshark instance, then plug another pc with Wireshark in front of the NAT process. Then you can use the protocol, destination IP address, port and IP Identification field to correllate the two. You can't tell the public address from behind the NAT device because Wireshark just looks at the packets.
answered 01 Feb '11, 18:27