tcpdump Generator
tcpdump is a utility commonly installed / available to many Linux distributions to quickly gather a network trace / packet capture. In short, it's the wireshark of linux to gathering packet captures. tcpdump is very versatile with many switches to granularly capture what you need to dubug network traffic; with options to output results via console, file, or wireshark pcap.

This utility is to help generate a tcpdump command using some of the more common switches / filters offered by the tcpdump. This utility is not encompassing of all options tcpdump offers; a complete list of options can be found via its manual: https://www.tcpdump.org/manpages/tcpdump.1.html

Note: Host, Source Host, and Destination Host can take multiple entries. Separate your entries with a comma, space, or semicolon.
Note 2: When you specify a source (src) or destination (dst) flags, tcpdump will only filter in that direction. If you are looking to capture full TCP handshake, make sure you use "host" vs "src host" or "dst host" to see both request and response flow.

Host [any direction] (host):
Can be IP address or hostname
Port [any direction] (port):
Source host (src host):
Can be IP address or hostname
Source port (src port):
Destination host (dst host):
Can be IP address or hostname
Destination port (dst port):
Export to filename:
Limit packet count to x packets (-c):
Listen on specific interface (-i):
Export in wireshark format (-w):
Make sure you specify a filename with this option.
Disable DNS resolution of IP addresses (-n):
Print link-level header on each dump line (mac addresses) to console (-e):
Quick print (print less protocol info to console) (-q):
How verbose do you want to log to console?
What time format do you want to log to console?

Here is your tcpdump generated command: