Closed adgarciaar closed 5 years ago
This works for us in mitmproxy. Are you using pydivert.Layer.NETWORK_FORWARD
?
Thank you very much @mhils, it's working
how do i do this transparently meaning that if the destination mac address is not my pc's mac address will i be able to still see the traffic using this method? do i have to enable promiscuous mode on my NIC? and if so will the packets be part of inbound or forwarding chain? tnx
I'm trying to use a PC as a gateway that filters the communication between two other PCs, Unfortunately, pydivert can't capture packets that travel between the two machines to communicate, but it can capture packets that travel from one of the two machines to the PC gateway. I know the limitation because I'm using Wireshark at the same time. This on Windows 10.
Thanks for your help.
Cheers,
Adrian.