fenglinnet / udp-proxy

Simple multi-homed UDP Proxy

Home Page:http://blog.stuart.shelton.me/archives/1030

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

udp-proxy

I was in need of a way to forward syslog packets on port 514 between networks, and couldn't find an easy way to achieve this - iptables appears to treat all UDP packets on the same port as a single connection for tracking purposes, and so didn't appropriately mangle the packets.

The original source from http://www.brokestream.com/udp_redirect.html has been modified to support sending data to the destination IP address from a different source-ip than the listen-ip, allowing proxying on multi-homed hosts.

About

Simple multi-homed UDP Proxy

http://blog.stuart.shelton.me/archives/1030

License:zlib License


Languages

Language:C 100.0%