How to make netstat on Linux only show OUTBOUND tcp connections?
If you only want outbound tcp connections, I think you can use
netstat -atn | tr -s ' '| cut -f5 -d ' ' | grep -v '127.0.0.1'
That will show all connections whose destination is not your localhost. You can add your internal ip, say
netstat -atn | tr -s ' '| cut -f5 -d ' ' | grep -v '127.0.0.1\|192.168.0.15'
netstat -nputw
should do the trick. Add c for continuous updating.
Also, this may be more what you're looking for: https://askubuntu.com/questions/252179/how-to-inspect-outgoing-http-requests-of-a-single-application