EasyManua.ls Logo

Draytek Vigor2925 Series - Telnet Command: Srv Nat Addrmapping

Draytek Vigor2925 Series
781 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Vigor2925 Series User’s Guide
676
T
T
e
e
l
l
n
n
e
e
t
t
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
s
s
r
r
v
v
n
n
a
a
t
t
a
a
d
d
d
d
r
r
m
m
a
a
p
p
p
p
i
i
n
n
g
g
This command allows users to map specific private IP to specific WAN IP alias.
srv nat addrmapping n [-<command> <parameter> | ... ]
S
S
y
y
n
n
t
t
a
a
x
x
D
D
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
Parameter Description
n
It means the number of the address mapping rule profile.
n = 1 to 10
[<command>
<parameter>|…]
The available commands with parameters are listed below.
[…] means that you can type in several commands in one
line.
-e <enable>
It means to enable or disable the address mapping rule
profile.
0: disable
1:enable
-l <ip>
It means private IP address (LAN IP).
-w <idx>
It means to specify the public IP.
1: WAN1 Default,
2: WAN1 Alias 1, ...
-p <protocol>
Specify the transport layer protocol.
Avaialbe values are TCP, UDP and ALL.
m <masklen>
It means the lenght of the mask address. Avaialbe values are
16, 24-32.
-v
It means to view current settings.
E
E
x
x
a
a
m
m
p
p
l
l
e
e
> srv nat addrmapping 1 -e 1 -l 192.168.1.90 -p TCP -m 16
> srv nat addrmapping -v
--------------current NAT address map settings----------
#rule-set 1
------------------------
enable: 1
protocol: TCP
public IP: #1: 208.228.145.2
private IP: 192.168.1.90
mask: /16
#rule-set 2
------------------------
enable: 0
protocol: all
public IP: #1: 192.168.1.90
private IP: 0.0.0.0
mask: /32

Table of Contents

Related product manuals