|
Configuring a Network Access ServerThe following example describes how to configure a network access server (NAS) to use VPN tunneling to connect to a VPN home gateway (HG). Note: The HG device is a non-Shiva device. To indicate that you want to use VPN tunneling, you append @nickname to your user name, where nickname is the nickname a system administrator configured for a VPN Home Gateway (HG). The PPP client after dialing to the Network Access Server (NAS) prompts the user for a user name and password. If the user enters a user name in the format username@nickname such as abc@gateway1, the NAS knows that user abc wants to use VPN tunneling and wants to connect to the HG known locally as gateway1. If you want remote users to use this method to access VPN tunneling, you must configure the tunnel parameters in the section [L2FhomeGateway:*](for example, [L2FHomeGateway:gateway1]) in the configuration file on the NAS. Example for Configuring a NASTo configure a NAS to use VPN tunneling to connect to a VPN Home Gateway: [PhoneGroup1] [L2FHomeGateway:gateway1] [Users] Description of Phone Group Section[PhoneGroup1] indicates that you are configuring a phone group and assigning this group the unique number 1. PhoneGroupName=L2F_calls_for_gateway1 indicates that this phone group is named L2F_calls_for_gateway1. L2FEnabled=1 enables L2F VPN tunneling on phone group 1. PPPSPAPEnabled=0 disables the SPAP protocol for phone group 1. Note: You must disable the PPPSPAPEnabled parameter on the NAS since the L2F HG does not support SPAP. PPPDefaultAuthProto=0xc223 specifies that CHAP is the authenticating protocol used in the first LCP configuration request. MTU=1500 indicates that 1500 bytes is the largest unit of data that can be received by PPP on this interface. Note: The maximum PPP MTU supported by the HG is 1500 bytes. MultilinkSendShortSequence=0 disables the use of short sequence numbers on the transmit PPP multilink. Note: You must disable the MultilinkSendShortSequence parameter on the NAS when the L2F HG does not support this functionality. MultilinkRecvShortSequence=0 disables the use of short sequence numbers on the receive PPP multilink. Note: You must disable the MultilinkRecvShortSequence parameter on the NAS when the L2F HG does not support this functionality. MultilinkEndpointIdentifier = 0x23456789 specifies the value of the endpoint discriminator that will override the system's MAC address. This value is sent in LCP configure request packets. Description of L2FHomeGateway Section[L2FHomeGateway: gateway1] specifies that gateway1 is the nickname assigned to a L2F HG. When a call is made to a phone group (PhoneGroup1) and the username provided when prompted by the PPP client is of the form abc@gateway1, the call is tunneled to the L2F HG described by this configuration section. Enabled=1 enables L2F on this home gateway. Protocol=IP specifies that IP is the L2F protocol that operates between the NAS and the HG. IPAddress=10.38.0.250 specifies that 10.38.0.250 is the IP address of the HG. NetworkAccessServerName=NetServer1 specifies that NetServer1 is the name used when the NAS has to authenticate itself to the HG. NetworkAccessServerTextPassword=NetServPass specifies that NetServPass is the clear-text password associated with the Network Access Server named NetServer1. The NAS uses this password when it authenticates itself to the HG. Description of Users Section[Users] is the section for configuring parameters for users or home gateways. ShivaHG=/l2f/ppwd=ShivaHGPass specifies that ShivaHG is the name that the HG uses when it authenticates itself to the NAS. /l2f indicates that this user entry is associated with L2F tunnel peer ShivaHG to authenticate itself as an endpoint of an L2F VPN tunnel. /ppwd=ShivaHGPass indicates that ShivaHGPass is the password that ShivaHG uses when authenticating itself to the NAS. Related Information |