How to do it...

  1. Begin by enabling and configuring the L2TP server:
    1. Navigate to VPN | L2TP.
    2. Check the Enable L2TP server checkbox. The rest of the settings will appear.
    3. In the Server address edit box, enter the IP address the L2TP server should give to clients as the gateway. It should be an address just outside the range of addresses reserved for the clients. For example, if you plan to use 192.168.1.10 to 192.168.1.60 for client IP addresses, the server address could be 192.168.1.61:

    1. In the Remote address range edit box, enter the starting IP address for the client IP address subnet. Select the correct CIDR in the adjacent drop-down menu.
    2. Select the appropriate number of users in the Number of L2TP users drop-down menu.
    3. In the Primary L2TP DNS server text field, enter 1.1.1.1.
    4. In the Secondary L2TP DNS server text field, enter 1.0.0.1.
    5. When you are done making changes, click on the Save button.
  1. Now we need to add one or more users to the L2TP user list:
    1. Click on the Users tab.
    2. Click on the Add button.
    3. Enter a Username and Password in the appropriate text fields (Password must be entered twice):

    1. You may enter an IP in the IP address text field, in which case the user will be assigned a specific IP address.
    2. Click on the Save button.
    3. Repeat this process for as many users as you wish to add.
  1. Finally, we need to create a pass rule for L2TP, so that incoming connections will not be blocked:
    1. Navigate to Firewall | Rules.
    2. Click on the L2TP VPN tab.
    3. Click on one of the Add buttons to add a rule.
    4. Set the Protocol to any.
    5. Leave the Source and Destination set to any.
    6. Enter a brief description in the Description edit box (for example, L2TP pass rule).
    7. When you are done making changes, click on the Save button.
    8. Click on the Apply Changes button to reload the firewall rules.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.75.236