E
x
a
m
p
l
E
x
a
m
p
> vpn subnet 1 2
>
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 setup VPN for different types.
S
y
n
t
a
x
S
y
n
t
a
x
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
y
n
t
a
x
S
y
n
t
a
x
Parameter
For PPTP Dial-Out
<index>
<name>
<ip>
<usr> <pwd>
<nip> <nmask>
For IPsec Dial-Out
<index>
<name>
<ip>
<key>
<nip> <nmask>
For L2TP Dial-Out
<index>
Vigor3220 Series User's Guide
3 – it means LAN3
4 – it means LAN4.
5 – it means LAN51
6 – it means LAN6.
e
l
e
a
n
d
:
v
p
n
s
e
t
u
p
a
n
d
:
v
p
n
s
e
t
u
p
D
e
s
c
r
i
p
t
i
o
n
D
e
s
c
r
i
p
t
i
o
n
Description
It means the index number of the profile.
It means the name of the profile.
It means the IP address to dial to.
It means the user and the password required for the PPTP
connection.
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
It means the index number of the profile.
It means the name of the profile.
It means the IP address to dial to.
It means the value of IPsec Pre-Shared Key.
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
It means the index number of the profile.
693