Operation Manual

Vigor122 User’s Guide
133
> srv nat openport dstip 1 192.168.1.99
%% Ok.
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.
S
S
y
y
n
n
t
t
a
a
x
x
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.
del [idx] It means to remove the selected port redirection setting.
disable [idx] It means to inactivate the selected port redirection setting.
enable [idx] It means to activate the selected port redirection setting.
flush It means to clear all the port mapping settings.
table It means to display Port Redirection Configuration Table.
E
E
x
x
a
a
m
m
p
p
l
l
e
e
> srv nat portmap add 1 game tcp 80 192.168.1.11 100 wan1
> srv nat portmap table
NAT Port Redirection Configuration Table:
Index Service Name Protocol Public Port Private IP Private
Port ifno
1 game 6 80 192.168.1.11 100
-1
2 0 0 0 -2
3 0 0 0 -2
4 0 0 0 -2
5 0 0 0 -2