Telnet Command: Srv Nat Portmap - Draytek Vigor2120n-plus User Manual

Broadband vigor2120 series
Hide thumbs Also See for Vigor2120n-plus:
Table of Contents

Advertisement

E
x
a
m
p
l
e
E
x
a
m
p
l
e
> srv nat openport 1 1 -a 1 -c games -i 192.168.1.100 -w 1 -p TCP -s
23 -e 83
> srv nat openport -v
%% Status: Enable
%% Comment: games
%% Private IP address: 192.168.1.100
Index
Protocal
*****************************************************************
1.
TCP
%% Status: Disable
%% Comment:
%% Private IP address: 0.0.0.0
Index
Protocal
*****************************************************************
%% Status: Disable
%% Comment:
%% Private IP address: 0.0.0.0
Index
Protocal
*****************************************************************
>
T
e
l
n
e
t
C
o
m
m
a
n
d
T
e
l
n
e
t
C
o
m
m
a
n
d
This command allows users to set port redirection table for NAT server.
srv nat portmap add [idx][serv name][proto][pub port][pri ip][pri port][wan1/wan2]
srv nat portmap del [idx]
srv nat portmap disable [idx]
srv nat portmap enable [idx] [proto]
srv nat portmap flush
srv nat portmap table
S
y
n
t
a
x
D
e
S
y
n
t
a
x
D
e
Parameter
Add[idx]
serv name
proto
pub port
pri ip
pri port
wan1/wan2
profiles.
Start Port
23
Start Port
Start Port
:
s
r
v
n
a
t
p
o
r
t
m
a
:
s
r
v
n
a
t
p
o
r
t
m
a
s
c
r
i
p
t
i
o
n
s
c
r
i
p
t
i
o
n
Description
It means to add a new port redirection table with an index
number. Available index number is from 1 to 10.
It means to type one name as service name.
It means to specify TCP or UDP as the protocol.
It means to specify which port can be redirected to the
specified Private IP and Port of the internal host.
It means to specify the private IP address of the internal host
providing the service.
It means to specify the private port number of the service
offered by the internal host.
It means to specify WAN interface for the port redirection.
End Port
83
End Port
End Port
p
p
487
Vigor2120 Series User's Guide

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Vigor2120n-plus and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Vigor2120

Table of Contents