Home Products Support Etc. Not logged in
Login / Create Account

UDP Bridge
  •  Overview
  •  History
  •  Documentation

UDP Bridge man page, converted using manServer.


udpbridge - UDP transparent proxy


Configuration File


udpbridge [-q] [-f <config file>] <internet interface/ip>


udpbridge is a transparent proxy for UDP traffic, designed to use the transparent proxy support of the Linux 2.2.x series kernels. It provides two-way proxying of UDP packets, to avoid the port number mangling that occurs with Linux IP masquerading.

On startup, the proxy reads ports and local IP addresses from its configuration file. The internet IP address is also read either directly from the command line, or from the specified network interface. It then begins listening on the specified ports. When a UDP packet comes into the proxy from the local IP address associated with the port it arrived on, the packet is forwarded to its destination using the internet IP address. If a packet comes from any other address, it is forwarded to the specified local IP address.


-q Suppresses messages displayed during proxy startup.
-f config_file
  Determines the file that udpbridge uses for configuration. The default is /etc/udpbridge.conf.


udpbridge uses a configuration file (/etc/udpbridge.conf by default) to determine the ports to be proxied, and the local IP addresses to which incoming packets are forwarded. Any line whose first character is a ’#’ is considered a comment line. Empty lines are ignored.

Each non-empty, non-comment line of the file consists of a port number and IP address, separated by space and/or tab characters.


/etc/udpbridge.conf Default configuration file


udpbridge is free; anyone may redistribute copies of it to anyone under the terms stated in the GNU General Public License, a copy of which accompanies each copy of udpbridge.
Top of page

© 2001-2018, LLC. All rights reserved.
Privacy Policy
Valid HTML 4.01 Transitional Valid CSS!