# INATRedirectEvent Interface Reference

Notification when NAT redirect rule added or removed. More...

Inheritance diagram for INATRedirectEvent:

List of all members.

## Public Attributes
readonly attribute unsigned long | slot
| Adapter which NAT attached to.
readonly attribute boolean | remove
| Whether rule remove or add.
readonly attribute wstring | name
| Name of the rule.
readonly attribute NATProtocol | proto
| Protocol (TCP or UDP) of the redirect rule.
readonly attribute wstring | hostIp
| Host ip address to bind socket on.
readonly attribute long | hostPort
| Host port to bind socket on.
readonly attribute wstring | guestIp
| Guest ip address to redirect to.
readonly attribute long | guestPort
| Guest port to redirect to.

## Detailed Description

Notification when NAT redirect rule added or removed.

Interface ID:
  `{57DE97D7-3CBB-42A0-888F-610D5832D16B}`

## Member Data Documentation

readonly attribute unsigned long INATRedirectEvent::slot

Adapter which NAT attached to.

readonly attribute boolean INATRedirectEvent::remove

Whether rule remove or add.

readonly attribute wstring INATRedirectEvent::name

Name of the rule.

readonly attribute NATProtocol INATRedirectEvent::proto

Protocol (TCP or UDP) of the redirect rule.

readonly attribute wstring INATRedirectEvent::hostIp

Host ip address to bind socket on.

readonly attribute long INATRedirectEvent::hostPort

Host port to bind socket on.

readonly attribute wstring INATRedirectEvent::guestIp

Guest ip address to redirect to.

readonly attribute long INATRedirectEvent::guestPort

Guest port to redirect to.