5.8.9.1. OneToOneMultiNAT methods

MethodDescription
__init__(self, mapping, default_reject) Constructor to initialize a OneToOneMultiNAT instance.

Table 5.73. Method summary

Method __init__(self, mapping, default_reject)

This constructor initializes an instance of the OneToOneMultiNAT class. Arguments must be Subnet instances specifying two non-overlapping IP subnets with the same size.

Arguments of __init__
default_reject (boolean)
Default: TRUE
Enable this parameter to reject all connections outside the specific source range.

mapping (complex)
Default: n/a
List of Subnet pairs in the from, to format.