/forwarder

Lightweight UDP forwarder and UDP over ICMP

Primary LanguageRust

Forwarder

Lightweight udp forwarder, Forward udp packets via udp, icmp sockets to another port or host
Mostly used it to combat DPI

Usage

Simply forwarding single local port to another:

forwarder -l 0.0.0.0:1001 -r 127.0.0.1:1002

Forwarding udp and encrypting packets via xor encryption:

forwarder -l 0.0.0.0:1001 -r 127.0.0.1:1050 -p some_secret

now, packets delivered to port 1050 are also encrypted via a secret so you need also another forwarder to decrypt packets and forwarder it to actual port (1002):

forwarder -l 127.0.0.1:1050 -r 127.0.0.1:1002 -p some_secret

Screenshot_2024-01-19_1705682795

Forwarding udp packets via icmp:

forwarder -l 0.0.0.0:1001/udp -r 127.0.0.1:1050/icmp
forwarder -l 127.0.0.1:1050/icmp -r 127.0.0.1:1002/udp

Screenshot_2024-01-19_1705683004