Packet capture

Okay, so I’ve spent days googling how to do this, and I haven’t been able to figure it out. So what I’m trying to do is have computer A simply sniff out and resend packets that were sent from computer B to the internet. I have access to both of the computers and they’re both on the same wireless network. I’ve done this before but I cannot remember how I did it… I used three programs, one was the packet sniffer on computer A, sockscap on computer B, and some other program that I cannot remember the name of… If anybody has any idea how to do this, or just advice, please let me know! Thank you!!!

EDIT: Ok so I found the packet sniffer I used, it’s called WPE. All I’m missing now is the middle program that somehow allows WPE to “find” and resend packets from computer B.