Black Box Version 1.0 Network Card User Manual


 
Command format: addpatin <pppoa|pppoe|wanip> <port>/<udp|tcp> <serverip>
Parameter:
Wanip: Real IP address
Port The server port number, to which the
access is allowed
Udp|tcp Packet transmission protocols
Serverip The local server address
8.3.8.2 Delpatin command
The delpatin command deletes the addpatin command.
> pat> delpatin all
> pat>
Command format: delpatin <all>|<number>
Parameter:
all: Deletes all the connections.
Number: The virtual connection number, displayed by
the show command.
8.3.8.3 Setpat command
The setpat command enables and disables real IP address translation in LANs. The access list
function will be added later.
> pat> setpat pppoa enable
> pat>
Command format: setpat <pppoa|pppoe|wanip> <e>nable|<d>isable
Parameter:
Wanip: Real IP address.
<e>nable|<d>isable Enables/disables the PAT function.
8.3.8.4 Show command
The show command displays the PAT configuration.
> pat> show
PAT enabled interface:
Interface IP address
IPoA 210.62.2.195
PPPoA ???.???.???.???
PAT incoming table
Version: 1.0 Page. 69 of 95