TP-Link, Reliably Smart
- Whole-Home Wi-Fi
- Modems/ Gateways
- Network Expansion
- Smart Home
- Mobile Wi-Fi
- JetStream Switches
- Auranet Businesss Wi-Fi
- Pharos Wireless Broadband
- SafeStream Router
Setting up Site-to-Site IPsec VPN on TP-Link RouterUser Application RequirementUpdated 05-25-2016 02:26:40 AMThis Article Applies to:TL-R600VPN , TL-ER6120 , TL-ER604WTL-R600VPN , TL-ER6120 , TL-ER604W , TL-ER6020
To setup an IPsec VPN tunnel on TP-Link routers you need to perform the following steps:
NOTE: We use TL-ER6120 and TL-R600VPN in this example, the way to configure IPsec VPN on TL-WR842ND is the same as that on TL-R600VPNConnecting the devices togetherBefore setup a VPN tunnel, you need to ensure that the two routers are connected to the Internet. After ensuring that there is an active Internet connection on each router, you need to verify the VPN settings of the two routers, please follow the instruction below.Verify the settings needed for IPsec VPN on routerTo verify the settings needed on the two routers, please login the router’s management webpage.Router A’s Status page:Router B’s Status page:Configuring IPsec VPN settings on TL-ER6120 (Router A)Step 1 : On the management webpage, click on VPN then IKE Proposal.Under IKE Proposal, enter Proposal Name whatever you like, select Authentication, Encryption and DH Group, we use MD5, 3DES, DH2 in this example.Step 2 : Click on Add.Step 3 : Click on IKE Policy, enter Policy Name whatever you like, select Exchange Mode, in this example we use Main, select IP Address as ID Type.Step 4 : Under IKE Proposal 1, we use test1 in this example. Enter Pre-shared Key and SA Lifetime you want, DPD is disabled.Step 5 : Click on Add.Step 6 : Click on IPsec on the left menu, then IPsec Proposal. Select Security Protocol, ESP Authentication and ESP Encryption you want to enable on VPN tunnel. Here we use ESP, MD5 and 3DES for example.Step 7 : Click on Add.Step 8 : Click on IPsec Policy, enter Policy Name whatever you like, the Mode should be LAN-to-LAN. Enter Local Subnet and Remote Subnet.Step 9 : Select WAN you use and type in Remote Gateway. In this example, the Remote Gateway is Router B’s WAN IP address, 184.108.40.206.Step 10 : Look for Policy Mode and select IKE.Step 11 : Under IKE Policy, we select test1 which is used.Step 12 : Under IPsec Proposal, we use ipsec1 in this example.Step 13 : Look for PFS, we set NONE here, under SA Lifetime, enter “28800” or the period you want.Step 14 : Look for Status then select ActivateStep 15 : Click on Add.Step 16 : Select Enable then click on Save.Configuring IPsec VPN settings on TL-R600VPN (Router B)Step 1 : Go to IPsec VPN -> IKE, click on Add NewStep 2 : Enter Policy Name whatever you like, here we use test2. Exchange Mode, select Main.Step 3 : Authentication Algorithm and Encryption Algorithm are the same with Router A, we use MD5 and 3DES in this example.Step 4 : DH Group, select DH2, the same with Router A.Step 5 : Enter Pre-share Key and SA Lifetime, make sure that they are the same with Router A.Step 6 : Click on Save.Step 7 : Click on IPsec on left side, click on Add New.Step 8 : Enter Policy Name, we use ipsec2 in this example.Step 9 : Enter Local Subnet and Remote Subnet, and then enter Remote Gateway, it’s Router A’s WAN IP address, 220.127.116.11.Step 10 : Look for Exchange mode, please select IKE, and Security Protocol, we use ESP here.Step 11 : Authentication Algorithm and Encryption Algorithm are the same with Router A, we use MD5 and 3DES in this example.Step 12 : IKE Security Policy, we use test2 in this example.Step 13 : Look for PFS, we set NONE here, under Lifetime, enter “28800” or the period you want.Step 14 : Look for Status then select Enable.Step 15 : Click on Save.Step 16 : Enable IPsec and then click on Save.Checking IPsec SARouter A:Router B:Get to know more details of each function and configuration please go to Download Center to download the manual of your product.Is this faq useful?
- Connecting the devices together
- Verify the settings needed for IPsec VPN on router
- Configuring IPsec VPN settings on TL-ER6120 (Router A)
- Configuring IPsec VPN settings on TL-R600VPN (Router B)
- Checking IPsec SA
Your feedback helps improve this site.Any other feedback?How can we improve it?Thank you
We appreciate your feedback.
Click here to contact TP-Link technical support.