Is it possible to forward packets?

Apr 19, 2013 at 4:31 PM
I want to write a program that will alow me to bypass a firewall.
In order to do that I want to capture sertain packets and forward them to a proxy server by changing their destination address.

Is it possible? If yes, how?
Apr 20, 2013 at 9:59 AM
Hi geniaz1,

Capturing packets that get to you computer is easy using Pcap.Net.
If you want to change their destination address, you can build new packets using the PacketBuilder.
Please see the Pcap.Net tutorial and let me know if you have any specific issues with writing the code to do that.

Apr 20, 2013 at 11:24 AM
And what will happen to the original packets?
If the packets are sent from my computer and there is a firewall that blocks them, it means that the program that sent them will raise an error, isn't it?
Apr 20, 2013 at 11:55 AM
I don't know what program sends the packets and how does it behave.
It also depends on how the Firewall behaves, does it just block the packets or send some reply.