Page 746 / 794 Scroll up to view Page 741 - 745
Vigor2860 Series User’s Guide
732
% Enable Mobile OTP mode!>
> vpn dinset 1 pin_secret
1234
e759bb6f0e94c7ab4fe6
> vpn dinset 1
Dial-in profile index 1
Profile Name: ???
Status: Active
Mobile OTP: Enabled
PIN: 1234
Secret: e759bb6f0e94c7ab4fe6
Idle Timeout: 300 sec
Telnet Command: vpn subnet
This command allows users to specify a subnet selection for the specified remote dial-in VPN
profile.
vpn subnet
[index] [1/2/3/4/5/6]
Syntax Description
Parameter
Description
<index>
It means the index number of the VPN profile.
<1/2/3/4/5/6>
1 – it means LAN1
2 – it means LAN2.
3 – it means LAN3
4 – it means LAN4.
5 – it means LAN51
6 – it means LAN6.
Example
> vpn subnet 1 2
>
Page 747 / 794
Vigor2860 Series User’s Guide
733
Telnet Command: vpn setup
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>
Syntax Description
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
Page 748 / 794
Vigor2860 Series User’s Guide
734
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.
e.g.,,
vpn setup 1 name1 l2tp_out 1.2.3.4 vigor 1234
192.168.1.0 255.255.255.0
For Dial-In
<index>
It means the index number of the profile.
<name>
It means the name of the profile.
<ip>
It means the IP address allowed to dial in.
<usr> <pwd>
It means the user and the password required for the
PPTP/L2TP connection.
<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 dialin 1.2.3.4 vigor 1234 abc
192.168.1.0 255.255.255.0
Example
> vpn setup 1 name1 dialin 1.2.3.4 vigor 1234 abc 192.168.1.0
255.255.255.0
% Profile Change Log ...
% Profile Index : 1
% Profile Name : name1
% Username : vigor
% Password : 1234
Page 749 / 794
Vigor2860 Series User’s Guide
735
% Pre-share Key : abc
% Call Direction : Dial-In
% Type of Server :
ISDN PPTP IPSec L2TP
% Dial from : 1.2.3.4
% Remote NEtwork IP : 192.168.1.0
% Remote NEtwork Mask : 255.255.255.0
>
Telnet Command: vpn option
This command allows users to configure
settings for LAN to LAN profile.
vpn option
<index> <cmd1>=<param1> [<cmd2>=<para2> | ... ]
Syntax Description
Parameter
Description
<index>
It means the index number of the profile.
Available index numbers:
1 ~ 32
For Common Settings
<index>
It means the index number of the profile.
pname
It means the name of the profile.
ena
It means to enable or disable the profile.
on – Enable
off - Disable
thr
It means the way that VPN connection passes through.
Available settings are wlf, wlo, w2f, and w2o.
w1f – WAN1 First.
w1o – WAN1 Only.
w2f – WAN2 First.
w2o – WAN2 Only.
nnpkt
It means the NetBios Naming Packet.
on – Enable the function to pass the packet.
off – Disable the function to block the packet.
Page 750 / 794
Vigor2860 Series User’s Guide
736
dir
It means the call direction. Available settings are b, o
and i.
b – Both
o – Dial-Out
i – Dial-In.
idle=[value]
It means Always on and Idle Time out.
Available values include:
-1 – it means always on for dial-out.
0 – it means always on for dial-in.
Other numbers (e.g., idle=200, idle=300, idle=500)
mean the router will be idle after the interval (seconds)
configured here.
palive
It means to enable PING to keep alive.
-1 – disable the function.
1,2,3,4 – Enable the function and PING IP 1.2.3.4 to
keep alive.
For Dial-Out Settings
ctype
It means “Type of Server I am calling”.
“ctype=t” means PPTP.
“ctype=s” means IPSec.
“ctype= l” means L2TP(IPSec Policy None).
“ctype= l1” means L2TP(IPSec Policy Nice to Have).
“ctype= l2” means L2TP(IPSec Policy Must).
dialto
It means Server IP/Host Name for VPN. (such
as draytek.com or 123.45.67.89).
ltype
It means Link Type.
“ltype=0” means “Disable”.
“ltype=1” means “64kbps”.
“ltype=2” means “128kbps”.
“ltype=3” means “BOD”.
oname
It means Dial-Out Username.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top