Draytek Vigor122 User Manual page 140

Adsl2/2+ modem
Hide thumbs Also See for Vigor122:
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 set open port settings for NAT server.
S
S
y
y
n
n
t
t
a
a
x
x
srv nat openport list <[All] | [Profile Index]>
srv nat openport enable<Index>
srv nat openport disable <Index>
srv nat openport comment <Index> <Comment>
srv nat openport dstip <Index> <Destination local IP address>
srv nat openport add <Profile index> <Subitem index> <WAN IP addr> <Pvt IP addr>
<Protocol> <Start port> <End port>
srv nat openport remove <Profile index> [Subitem index]
srv nat openport flush
S
y
n
t
a
x
S
y
n
t
a
x
Parameter
list <[All] | [Profile Index]>
enable <Index>
disable <Index>
comment <Index>
<Comment>
dstip <Index> <Destination
local IP address>
add <Profile index>
<Subitem index> <WAN IP
addr> <Pvt IP addr>
<Protocol> <Start port> <End
port>
Remove <Profile index>
[Subitem index]
flush
E
x
a
m
p
l
E
x
a
m
p
> srv nat openport enable 1
%% Open port profile 1 has enabled.
> srv nat openport comment 1 for_marketing
%% Ok.
132
a
n
d
:
s
r
v
n
a
t
o
p
e
n
a
n
d
:
s
r
v
n
a
t
o
p
e
n
D
e
s
c
r
i
p
t
i
o
n
D
e
s
c
r
i
p
t
i
o
n
Description
Display status information for all of the profiles or specified profile.
Enable the selected index profile.
Index – Range from 1 to 20 (profile index number).
Disable the selected index profile.
Index – Range from 1 to 20 (profile index number).
Index – Range from 1 to 20 (profile index number).
Comment – Type a description for such profile.
It means to specify destination IP address for an open port profile.
Index – Range from 1 to 20.
Destination local IP address – Type the IP address of the destination.
It means to create new open port profile.
Profile index – Range from 1 to 20.
Subitem index – Range form 1 to 10.
Protocol – TCP or UDP.
WAN IP Addr – Type the IP address of the WAN interface.
Private IP Addr – Type the private IP address.
Start port – Type a value as the starting port.
End port – Type a value as the ending port.
It means to remove specified profile.
Profile index – Range from 1 to 20.
Subitem index – Range form 1 to 10.
It means to return to factory settings for all the open ports profiles.
e
l
e
p
o
r
t
p
o
r
t
Vigor122 User's Guide

Advertisement

Table of Contents
loading

Table of Contents