Votre partenaire de solution réseaux fiables -

+33175432870
info@draytek.fr
12 rue des Chauffours
95000 Cery

Google map

VPN L2TP over IPsec depuis macOS vers un routeur Vigor
>
>
VPN L2TP over IPsec depuis macOS vers un routeur Vigor

Article sections

    Ce document traite de la configuration d’un routeur Vigor en tant que serveur VPN L2TP over IPsec VPN et la manière de connecter le VPN depuis macOS.

    • DrayOS
    • Linux

    1. Go to VPN and Remote Access >> IPsec General Setup, enter and confirm the Pre-Shared Key, then click OK. 


    2. Go to VPN and Remote Access >> Remote Dial-in User, click on an index available to create a new account:

    • Enable this account,
    • enable “L2TP with IPSec” for Allowed Dial-in Type and select “Must” for IPsec Policy,
    • enter User Name and Password,
    • click OK to save.


    3. If the VPN user is online, you will see VPN connection status at VPN and Remote Access >> Connection Management.

    Connecting VPN from macOS

    1. Go to System Preferences >> Network.

    2. Click + to add a new network and edit the profile as follows:

    • Select VPN for Interface
    • Select “L2TP over IPSec” for VPN Type
    • Enter a Service Name
    • Click Create.

    3. Enter Server Address as the WAN IP of the router and Account Name as the username in the router’s user profile. Then, click Authentication Settings.

    4. Select “Password” for User Authentication and enter the password in the user profile. For Machine Authentication, select “Shared Secret” and enter the pre-shared key set in the router’s IPsec General Setup.

    5. Click Apply, then Connect. And wait for the connection to establish.

    6. When seeing this status, you are connecting to the VPN server successfully.

    We can use Terminal to verify the connection by ping the local IP on the remote network.

    1. Go to User Management >> User Profile, add a profile as follows:

    • enter Username,
    • check Enable,
    • enter Password,
    • select “Enable” for L2TP Dial-in,
    • click Apply.

     2. Go to VPN and Remote Access >> Remote Access Control,

    • make sure Enable L2TP VPN Service is checked,
    • select “L2TP over IPsec” for IPsec Remote Dial-In Service, 
    • click Apply


    3. Go to VPN and Remote Access >> IPsec General Setup, enter a Preshared Key then click Apply.


    4. If the VPN user is online, you will see VPN connection status at VPN and Remote Access >> Connection Management.

    Connecting VPN from macOS

    1. Go to System Preferences >> Network.

    2. Click + to add a new network and edit the profile as follows:

    • Select VPN for Interface
    • Select “L2TP over IPSec” for VPN Type
    • Enter a Service Name
    • Click Create.

    3. Enter Server Address as the WAN IP of the router and Account Name as the username in the router’s user profile. Then, click Authentication Settings.

    4. Select “Password” for User Authentication and enter the password in the user profile. For Machine Authentication, select “Shared Secret” and enter the pre-shared key set in the router’s IPsec General Setup.

    5. Click Apply, then Connect. And wait for the connection to establish.

    6. When seeing this status, you are connecting to the VPN server successfully.

    We can use Terminal to verify the connection by ping the local IP on the remote network.

    Start typing and press Enter to search

    Shopping Cart

    Votre panier est vide.