15
How to use VPN L2TP over IPsec Server/Client on TW-EAV510 AC Note: 1. Please make sure that both LAN side networks are in different subnet. 2. Just some OS support L2TP Tunnel authentication, like Android OS. Enable VPN L2TP over IPsec Function Go to WAN -> VPN -> L2TP/IPSec, Enable VPN function. Then you can start setup L2TP/IPSec Server and L2TP/IPSec Client you will see the page as below: Note: Both Server and Client must use the same tunnel authentication secret key otherwise the connection cannot be established.

20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

HowtouseVPNL2TPoverIPsec

Server/ClientonTW-EAV510ACNote: 1. PleasemakesurethatbothLANsidenetworksareindifferentsubnet.2. JustsomeOSsupportL2TPTunnelauthentication,likeAndroidOS.

EnableVPNL2TPoverIPsecFunctionGotoWAN->VPN->L2TP/IPSec,EnableVPNfunction.ThenyoucanstartsetupL2TP/IPSecServerandL2TP/IPSecClientyouwillseethepageasbelow:

Note:BothServerandClientmustusethesametunnelauthenticationsecretkeyotherwisetheconnectioncannotbeestablished.

Page 2: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

SetupL2TP/IPSecServer

AuthenticationType:Accordingtouserrequirementcanset4types,Auto/PAP/CHAP/MS-CHAPV2. EncryptionMode:OnlyworkonMS-CHAPV2Authenticationmode,youcanchooseNONE/MPPE. TunnelAuthentication:MakeitcheckedtoenableL2TPtunnelauthentication.(Optional) SecretKey:ClientneedthiskeytoconnectserverifserverenableTunnelAuthenticationSetupL2TPaccountforL2TPServer AssignedtoPeerIPAddressstartfrom:EntertheIPthatwillbeassignedtoremoteclient.PleaseavoidthispoolsameofDHCPServerPool.

LocalIPAddress:DefaultsettingsisrouterLAN’sIP,donotchangeifnotnecessary.IPSecPSK:Setuppasswordforservercertificationclient

Note:PleasepressApplybuttonifanychange.

SetupL2TP/IPSecaccount

Name:Thenameforuserprofile.Account:Enable/Disablethisaccount.Username:Thenamewillbeusedforauthentication.Password:Thepasswordwillbeusedforauthentication.PeerIP:OptionalsettingforLANtoLAN,Entertheremotenetwork’sIPaddress. PeerSubnetMask:OptionalsettingforLANtoLAN,Entertheremotenetwork’snetmask.

ClickAddbuttontoaddnewuser.Recommendupto4useraccountsforbothPPTPandL2TP/IPSec.

Page 3: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

Remove/Edituser

MakeRemovecheckboxcheckedandclickDeleteSelectedbuttontoremoveuserorclickSavebuttontoenabledisableofuser.

SetupL2TP/IPSecClientfromRemoteAccess

Name:ThenameforL2TP/IPSecClientprofile.ServerIPAddress:PleaseinputVPNServerWANIPordomain.Username:Thenamewillbeusedforauthentication.Password:Thepasswordwillbeusedforauthentication.TunnelAuthentication:MakeitcheckedtoenableL2TPtunnelauthentication.(Optional).SecretKey:IfserverenableTunnelAuthenticationandsetupSecretKey,clientneedinputthekey.AuthenticationType:EnterthetypeofVPNserverauthentication.EncryptionMode:EntertheModeofVPNserverauthentication.DefaultGateway:Ifcheckboxchecked,VPNclientroutergatewaywillsettoVPNserverrouter.PeerIP:OptionalsettingforLANtoLAN,Entertheremotenetwork’sIPaddress. PeerSubnetMask:OptionalsettingforLANtoLAN,Entertheremotenetwork’snetmask.IPSecPSK:InputserversetupIPSecpassword.ClickAddbuttontoaddanewL2TP/IPSecClientconnection.

Note:BothServerandClientmustusethesametunnelauthenticationsecretkeyotherwisetheconnectioncannotbeestablished.

Page 4: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

Remove/DisconnectClient

MakeRemovecheckboxcheckedandclickDeleteSelectedbuttontoremoveClientorclickConnectbuttontoconnectVPNclient.

Example1TW-EAV510ACinbelowpicleftsideisactivatedasL2TP/IPSecServerandTW-EAV510ACinbelowpicrightsideisactivatedasL2TP/IPSecClient.

RemoteAccessTW-EAV510(L2TP/IPSecServer)1. GotoWAN->VPN->L2TP/IPSec,enableVPNfunction.2. SetupL2TP/IPSecServerandpressApplybutton.3. Addnewuseraccount,don’tneedinputPeerIP/PeerSubnetMask.

Page 5: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

ClickAddbuttontosavechanges.TW-EAV510AC(L2TP/IPSecClient)1. GotoWAN->VPN->L2TP/IPSec,enableVPNfunction,SettingL2TP/IPSecClientasbelow.

ClickAddbuttontosaveaccountsettings.2. AfterclickAddbutton,L2TP/IPSecClientTablewouldaddoneconnection,ifsetupallcorrectlyVPN

connectionshouldbeconnected.YoucanalsoclickDisconnectbuttontodisconnecttheVPNconnection.

3. GotoStatus->Device,youcancheckL2TP/IPSecConfigurationonpagebelow,WhenStatus

showsup,youcanaccesstoremotenetworknow.BelowisDeviceInfoforreference.

Page 6: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

LANtoLANTW-EAV510(L2TP/IPSecServer)1. GotoWAN->VPN->L2TP/IPSec,enableVPNfunction.2. SetupL2TP/IPSecServerandpressApplybutton.3. Addnewuseraccount,enterremotenetwork’sIPaddressforPeerIP/PeerSubnetMask.

4. AfterpressAddbutton,L2TP/IPSecServerTablewouldaddaccountasbelow.

TW-EAV510AC(L2TPClient)1. GotoWAN->VPN->L2TP/IPSec,enabletheL2TP/IPSecVPN,SettingVPNClientasbelow.ForLAN

toLAN,youneedtoenterpeernetworkinformation.

Page 7: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

ClickAddbuttontosaveaccountsettings.2. AfterclickAddbutton,L2TP/IPSecClientTablewouldaddoneconnection,ifsetupallcorrectlyVPN

connectionshouldbeconnected.YoucanalsoclickDisconnectbuttontodisconnecttheVPNconnection.

3. GotoStatus->Device,youcancheckL2TP/IPSecConfigurationonpagebelow,WhenStatus

showsup,youcanaccesstoremotenetworknow.BelowisDeviceInfoforreference.

Example2TW-EAV510ACinbelowpicleftsideisactivatedasL2TP/IPSecServerandusedevicesinrightsideconnecttoit.

Page 8: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

RemoteAccessTW-EAV510(L2TPoverIPsecServer)1. GotoWAN->VPN->L2TP/IPSec,enabletheVPNfunction.2. SetupL2TP/IPSecServerandpressApplybutton.3. Addnewuseraccount,don’tneedinputPeerIP/PeerSubnetMask.4. It’snotnecessarytosetupTunnelAuthentication,ifuseTunnelAuthentication,somedevicesmaynotconnecttoserver.

WithTunnelAuthentication(OnlyAndroiddevicesupportenablethisfunction.)

Page 9: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

iOSDevices

1. LunchSettings->VPN->AddVPNConfiguration

2. Typechoose->L2TP3. InputDescription:nameofthisconfiguration,Server:L2TP/IPsecserverrouterWANIP.,

Account:L2TP/IPsecserveraccount,Password:L2TP/IPsecserveraccountpassword,Secret:L2TP/IPsecserverIPsecPSK,thenpressDoneinup-rightcorner.

Page 10: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

4. SlideStatusbuttonfromlefttorightandwaitdeviceconnecttoserver5. AfterconnectedVPNserversuccessfully,StatuswoulddisplayConnectedandstatusbarwould

showVPNicon.

Page 11: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

AndroidDevices1. LunchSettings->Wireless&networks->More1 ->VPN->AddVPNprofile

2. ChooseTypetoL2TP/IPSecPSK3. InputName:nameofthisconfiguration,Serveraddress:L2TP/IPsecserverrouterWANIP.,

L2TPsecret:SecretkeyofTunnelAuthenticationforServerrouter2,IPSecpre-sharedkey:L2TP/IPsecserverIPsecPSK,thenpressSavebutton

4. PressjustcreateVPNprofile,devicewouldnoticetoinputUsername/Password,Inputcorrect

accountandpressConnect,waitdeviceconnecttoVPNserver.

1 SomeAndroiddevicesmighthavenotMoreoption,butMostdevicesVPNsettingisinWireless&networks.2 Notnecessaryneed,dependsonServer.

Page 12: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

5. AfterconnectedVPNserversuccessfully,ProfilewoulddisplayConnectedandstatusbarwouldshowVPNicon(Likeaskey,dependsoneachAndroidOS.).

Windows10device

1. LunchControlPanel->NetworkandInternet->NetworkandSharingCenter2. PressSetupanewconnectionornetwork->Connecttoaworkplace->UsemyInternet

connection(VPN)->InputInternetaddress:L2TP/IPsecserverrouterWANIP.ThenPressCreate.

Page 13: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

3. GotoControlPanel->NetworkandInternet->NetworkConnections,FindVPNConnectionjust

create,rightclickonthemousechooseproperties.

4. ChooseSecurity->TypeofVPNchangetoLayer2TunnelingProtocolwithIPsec(L2TP/IPsec)5. EnableAllowtheseprotocolsandcheckedauthenticationtype.6. PressAdvancedsettings->chooseUsepresharedkeyforauthenticationandinputL2TP/IPsec

serverIPsecPSKkey.

Page 14: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

7. ChooseSettings->VPN,pressConnectandinputaccount/password,waitPCconnecttoVPN

server.

Page 15: 20180104 How to setup VPN L2TP over IPsec to setup VPN... · would show VPN icon (Like as key, depends on each Android OS.). Windows 10 device 1. Lunch Control Panel -> Network and

8. AfterconnectedtoVPNserver,VPNConnectionwouldshowConnected,nowyouconnectVPN

serversuccessfully.