Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Forwarding

Port forwarding rules applied on WIFI WAN (Station) interface. Can forward to itself or other host.

Hierarchy

  • Forwarding

Index

Constructors

  • Constructor that allows partial initialization. Example: new Forwarding({protocol:Protocol.TCP, dst_port:8888, to_address:"192.168.25.107"})

    Parameters

    Returns Forwarding

Properties

dst_port: number

Destination port number - the port on which the packet arrives at the inbound interface.

protocol: Protocol = Protocol.TCP

IP protocol can be TCP or UDP. TCP is default.

to_address?: string

IP address to which the packet will be forwarded. If omitted the packet won't be forwarded to another device, but to_port must be specified. Example: "192.168.25.105"

to_port?: number

The port to which the packet will be forwarded. If omitted, it will be equal to the dst_port.

Generated using TypeDoc