ProtoProxy
Configuration

ProtoProxy loads a configuration file at startup. An overview of available commands, and their use, can be found in the sample configuration file below.

Configuration file example
# ProtoProxy Configuration File
# ---------------------------------

# -----------------------------------------------------------------------------------------------
# The 'protocol' keyword creates a custom protocol to use with the 'forward' command.
# The 'bytes' parameter is the bytes that the client sends to the server when connecting.
#
# Multiple groups of bytes can be used. The bytes must be enclosed inside square brackets.
# A RDP client sends [3 0 0 19 14 224] when connecting to the server for the first time,
# and [3 0 0 47 42 224] when reconnecting to a session.
#
# Usage: 'protocol name [bytes]'
# protocol RDP [3 0 0 19 14 224] [3 0 0 47 42 224]
# protocol Monitor [109 111 110 105 116 111 114]
# -----------------------------------------------------------------------------------------------

# -----------------------------------------------------------------------------------------------
# Disable the hard-coded protocols, protocols are enabled by default.
# Use this keyword if you want to define all protocol signatures yourself.
# disable-default-protocols
# -----------------------------------------------------------------------------------------------

# -----------------------------------------------------------------------------------------------
# Start the monitor server on the specified port.
# Use ProtoProxy Monitor to connect to this port.
# Usage: 'monitor [port]'
# monitor 10000
# -----------------------------------------------------------------------------------------------

# -----------------------------------------------------------------------------------------------
# Bind ProtoProxy to port 443.
# Forward SSH and RDP connections on port 443 to 192.168.1.1 port 22 or port 3389.
# -----------------------------------------------------------------------------------------------
bind 443
forward SSH 192.168.1.1 22
forward RDP 192.168.1.1 3389

# -----------------------------------------------------------------------------------------------
# Bind ProtoProxy to port 80.
# Forward OpenVPN connections on port 80 to 192.168.1.2 port 1194.
# -----------------------------------------------------------------------------------------------
bind 80
forward OpenVPN 192.168.1.2 1194

  • Lines beginning with # are treated as comments.
  • Protocol names are case-sensitive.