![KeeNetic Lite KN-1310 Command Reference Manual Download Page 179](http://html1.mh-extra.com/html/keenetic/lite-kn-1310/lite-kn-1310_command-reference-manual_3863741179.webp)
(config)>
no ip static
[ [
tcp
|
udp
] ( ‹
interface
› | ( ‹
address
› ‹
mask
›) ) ( (
‹
port
›
through
‹
end-port
› ‹
to-address
›) | ( ‹
port
› ‹
to-address
› [‹
to-port
›])
| ‹
to-address
› ) ]
Arguments
Description
Value
Argument
protocol
protocol.
tcp
protocol.
udp
Input interface name (full name or alias).
Interface
name
interface
TBD
TBD
comment
Along with mask
mask
sets the range of
destination IP-addresses that are to be
translated.
IP-address
address
Translation range mask. There are two
ways to enter the mask: the canonical form
IP-mask
mask
(for example,
255.255.255.0
) and the
form of prefix bit length (for example,
/24
).
TCP/UDP port number for which a
translation request comes. If one is not
Integer
port
specified, all incoming requests will be
translated.
The end of the range of ports.
Integer
end-port
The destination address after translation.
IP-address
to-address
TCP/UDP port number after translation. If
one is not specified, the destination port
remains the same.
Integer
to-port
Example
Let there be a router between the “local” network
172.16.1.0/24
private
) and “global” network
10.0.0.0/16
(
public
). It is
required that all requests coming to the “global” interface of this router on
port
80
to be broadcast to the “local” server with the address
172.16.1.33
.
The sequence of commands to implement the required schema might look
like this:
interface Home
ip address 172.16.1.1/24
!
interface Internet
ip address 10.0.0.1/16
ip global 1
!
ip nat Home
ip static tcp Internet 80 172.16.1.33 80
Keenetic Lite (KN-1310) — Command Reference Guide
179
Chapter 3 Command Reference
Summary of Contents for Lite KN-1310
Page 2: ......
Page 6: ...Command Reference Guide Keenetic Lite KN 1310 6 Contents Overview...
Page 18: ...Command Reference Guide Keenetic Lite KN 1310 18 Table of Contents...
Page 20: ...Command Reference Guide Keenetic Lite KN 1310 20 Chapter 1 Product Overview...
Page 26: ...Command Reference Guide Keenetic Lite KN 1310 26 Chapter 2 Introduction to the CLI...
Page 314: ...Command Reference Guide Keenetic Lite KN 1310 314 Appendix C SNMP MIB...