R3721-F3210-F3171-HP High-End Firewalls VPN Configuration Guide-6PW101

251
Ste
p
Command
Remarks
4. Authorize the user to use the
PPP service.
service-type ppp N/A
5. Return to system view.
quit N/A
6. Create an ISP domain and
enter its view.
domain isp-name N/A
7. Configure the domain to use
local
authentication/authorization/
accounting for its PPP users.
authentication ppp local
authorization ppp local
accounting ppp local
Optional.
Local
authentication/authorization/acc
ounting is used by default.
NOTE:
For successful user authentication, configure PPP on the LAC's corresponding interface, for example, the
asynchronous serial interface that connects with users. For PPP configuration information, see
Networ
k
Management Configuration Guide
.
Configure the authentication type of PPP users as PAP, CHAP, or MS-CHAP on the user access interfaces.
For information about AAA configuration commands and remote AAA authentication method
configuration, see
Access Control Configuration Guide
.
Configuring an LAC to establish an L2TP tunnel
To establish an L2TP tunnel in LAC-auto-initiated mode, you need to create a virtual PPP user on the LAC.
LAC performs PPP authentication for the virtual PPP user, that is, LAC is both the side that performs PPP
authenticator and the side that is authenticated by PPP.
To configure an LAC to establish an L2TP tunnel, you must:
Create a virtual template interface and configure an IP address for the interface.
In virtual template interface view, configure the side that performs PPP authentication: use the ppp
authentication-mode command to specify the authentication method that the LAC uses to
authenticate the virtual PPP user.
In virtual template interface view, configure the side that is authenticated by PPP: use the ppp pap
command or the ppp chap command to specify the PPP authentication method supported by the
virtual PPP user, and the username and password of the virtual PPP user. The authentication method
to be used by the LAC and that supported by the virtual PPP user must be consistent.
Configure AAA authentication for VPN users on the LAC. The configured username and password
for AAA authentication must be the same as those of the virtual PPP user configured on the virtual
template interface.
Trigger the LAC to establish an L2TP tunnel.
To trigger an LAC to establish an L2TP tunnel:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a virtual template
interface and enter its view.
interface virtual-template
virtual-template-number
By default, no virtual template
interface exists.