Routers also define source address and port of the server-side connection. This is the IP address that Zorp uses to connect the server. The server sees that the connection originates from this address. The following two parameters determine the source address used in the server-side connection:
forge_addr
: If set to TRUE
, Zorp uses the client's source address
as the source of the server-side connection. Otherwise, Zorp uses the IP address of the interface connected to
the server.
forge_port
: This parameter defines the source port that Zorp
uses in the server-side connection. Specify a port number as an integer value, or use one of the
following options:
Name | Description |
---|---|
Z_PORT_ANY | Selected a random port between 1024
and 65535 . This is the default behavior of every router.
|
Z_PORT_GROUP | Select a random port in the same group as the port used by
the client. The following groups are defined:
0-513 , 514-1024 ,
1025- .
|
Z_PORT_EXACT | Use the same port as the client. |
Z_PORT_RANDOM | Select a random port using a cryptographically secure function. |
Table 5.86. Options defining the source port of the server-side connection
Published on June 04, 2020
© 2007-2019 BalaSys
Send your comments to support@balasys.hu