Telnet Command: Srv Nat Addrmapping - Draytek VIGOR2925 SERIES User Manual

Hide thumbs Also See for VIGOR2925 SERIES:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents