ProxyForwarding Structure/Class

[C]

struct FlowSshC_ProxyForwarding
{
  wchar_t const* m_listInterface;
  unsigned int m_listPort;
  wchar_t const* m_bindPublicAddressIP4;
  wchar_t const* m_bindPublicAddressIP6;
  wchar_t const* m_bindListInterfaceIP4;
  wchar_t const* m_bindListInterfaceIP6;
};

[C++]

struct ProxyForwarding
{
  std::wstring m_listInterface;
  unsigned int m_listPort;
  std::wstring m_bindPublicAddressIP4;
  std::wstring m_bindPublicAddressIP6;
  std::wstring m_bindListInterfaceIP4;
  std::wstring m_bindListInterfaceIP6;
};

[C#]

public ref struct ProxyForwarding
{
  public string ListInterface;
  public uint ListPort;
  public string BindPublicAddressIP4;
  public string BindPublicAddressIP6;
  public string BindListInterfaceIP4;
  public string BindListInterfaceIP6;
}

Members

  • ListInterface: IPv4 or IPv6 listening interface on which the client will accept incoming TCP connections for proxy forwarding. If 127.0.0.1 is specified, this means the local loopback interface, and only programs running on the client machine will be able to connect. In this case, the application program must be configured to use 127.0.0.1 or "localhost" as the connection host. If 0.0.0.0 is specified, connections will be accepted from programs on all machines that have a route to the client computer. Finally, it is possible to specify any of the IP addresses belonging to the client computer: in this case, connections will be accepted only through the network interface which owns the specified IP address.
  • ListPort: Port number on which the client will listen for incoming TCP connections from application programs for proxy forwarding.
  • BindPublicAddressIP4/IP6: Optional; may be set to null. Used with SOCKSv4 and SOCKSv5 BIND requests (i.e. server-to-client port forwarding requested by the application). This address will be returned to the client-side application that sends the BIND request, which may communicate it to its server-side counter-party, which will use it to initiate a server-to-client connection. If not provided, FlowSsh will attempt to use the address of the SSH server to which the session is connected.
  • BindListInterfaceIP4/IP6: Optional; may be set to null. Used with SOCKSv4 and SOCKSv5 BIND requests (i.e. server-to-client port forwarding requested by the application). This address will be sent to the SSH server to request server-to-client forwarding. If not provided, FlowSsh will use 0.0.0.0 by default for IPv4, and :: for IPv6.

Remarks

Contains settings to enable dynamic proxy forwarding. Used with [Client]EnableProxyForwarding.