Vigor2120 Series User’s Guide
516
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
:
:
v
v
p
p
n
n
s
s
e
e
t
t
u
u
p
p
This command allows users to setup VPN for different types.
Command of PPTP Dial-Out
vpn setup <index> <name> pptp_out <ip> <usr> <pwd> <nip> <nmask>
Command of IPSec Dial-Out
vpn setup <index> <name> ipsec_out <ip> <key> <nip> <nmask>
Command of L2Tp Dial-Out
vpn setup <index> <name> l2tp_out <ip> <usr> <pwd> <nip> <nmask>
Command of Dial-In
vpn setup <index> <name> dialin <ip> <usr> <pwd> <key> <nip> <nmask>
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
For PPTP Dial-Out
<index>
It means the index number of the profile.
<name>
It means the name of the profile.
<ip>
It means the IP address to dial to.
<usr> <pwd>
It means the user and the password required for the PPTP
connection.
<nip> <nmask>
It means the remote network IP and the mask.
e.g.,
vpn setup 1 name1 pptp_out 1.2.3.4 vigor 1234 192.168.1.0
255.255.255.0
For IPsec Dial-Out
<index>
It means the index number of the profile.
<name>
It means the name of the profile.
<ip>
It means the IP address to dial to.
<key>
It means the value of IPsec Pre-Shared Key.
<nip> <nmask>
It means the remote network IP and the mask.
e.g.,
vpn setup 1 name1 ipsec_out 1.2.3.4 1234 192.168.1.0
255.255.255.0
For L2TP Dial-Out
<index>
It means the index number of the profile.
<name>
It means the name of the profile.
<ip>
It means the IP address to dial to.
<usr> <pwd>
It means the user and the password required for the L2TP
connection.
<nip> <nmask>
It means the remote network IP and the mask.