EasyManua.ls Logo

Draytek Vigor2120n-plus - Telnet Command: Srv Nat Portmap

Draytek Vigor2120n-plus
572 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...
Vigor2120 Series User’s Guide
487
profiles.
E
E
x
x
a
a
m
m
p
p
l
l
e
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 Start Port End Port
*****************************************************************
1. TCP 23 83
%% Status: Disable
%% Comment:
%% Private IP address: 0.0.0.0
Index Protocal Start Port End Port
*****************************************************************
%% Status: Disable
%% Comment:
%% Private IP address: 0.0.0.0
Index Protocal Start Port End Port
*****************************************************************
>
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
p
p
o
o
r
r
t
t
m
m
a
a
p
p
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
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
Add[idx]
It means to add a new port redirection table with an index
number. Available index number is from 1 to 10.
serv name
It means to type one name as service name.
proto
It means to specify TCP or UDP as the protocol.
pub port
It means to specify which port can be redirected to the
specified Private IP and Port of the internal host.
pri ip
It means to specify the private IP address of the internal host
providing the service.
pri port
It means to specify the private port number of the service
offered by the internal host.
wan1/wan2
It means to specify WAN interface for the port redirection.

Table of Contents

Related product manuals