L2TP over IPsec VPN Server

Опубликовано: 04 Октябрь 2024
на канале: Quik Tech Solutions L.L.C
89,717
1.4k

This video demonstrates a couple of ways to set up an L2TP over IPsec VPN Server on an Edge Router.

Channel Support:
Buy Tony A Coffee - https://www.buymeacoffee.com/quiktech
Patreon -   / quiktechsolutionsllc  
PayPal - http://paypal.me/quiktechsolutionsllc

Here are the steps discussed in this video:

STEP 1: Setting WAN Interface and internal network
set vpn ipsec ipsec-interfaces interface eth0
set vpn ipsec nat-networks allowed-network 192.168.1.1/24
set vpn ipsec nat-traversal enable

STEP 2: Setting Authentication Mode and Create Users
set vpn l2tp remote-access authentication mode local
set vpn l2tp remote-access authentication local-users username xxxx password xxxx

STEP 3: Setting Client IP Pool
set vpn l2tp remote-access client-ip-pool start 192.168.1.xxx
set vpn l2tp remote-access client-ip-pool stop 192.168.1.xxx

STEP 4: Setting Client DNS Servers
set vpn l2tp remote-access dns-servers server-1 8.8.8.8
set vpn l2tp remote-access dns-servers server-2 4.2.2.2

STEP 5: Setting Pre-shared Secret
set vpn l2tp remote-access ipsec-settings authentication mode pre-shared-secret
set vpn l2tp remote-access ipsec-settings authentication pre-shared-secret xxxxxxx
set vpn l2tp remote-access ipsec-settings ike-lifetime 3600

STEP 6: Setting Outside Access
For Static: set vpn l2tp remote-access outside-address xxx.xxx.xxx.xx

For DHCP: set vpn l2tp remote-access dhcp-interface eth0

For Dynamic DNS w/PPPOE: set vpn l2tp remote-access outside-address 0.0.0.0

STEP 7: Save Settings
commit; save; exit

To learn more about EdgeRouters and Ubiquiti products - http://www.ubnt.com

Please share this video -    • L2TP over IPsec VPN Server  
Amazon Affiliate Links:
EdgeRouter X - http://amzn.to/2kTFTUI

EdgeRouter X SFP - http://amzn.to/2C6cDpe

EdgeRouter Lite - http://amzn.to/2zImOKo

Ubiquiti Cloud Key - http://amzn.to/2CRIXIo

Unifi 8-Port 60W Switch - http://amzn.to/2CTmLO5

UAP-AP-Lite - http://amzn.to/2C4OAXP

Disclaimers:
I participate in the Amazon Affiliate Program. When purchasing using my Amazon Affiliate links, your price doesn't change. You pay the same, but I do get a small percentage of the sale in commission. This helps the channel to continue creating content.

All images used in this video are my own. The music Yeah Yeah is from the YouTube's free music library. Yeah Yeah by Audionautix is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Artist: http://audionautix.com/.

About Tony:
I am a retired educator of 32 years. I started out as an instrumental music teacher and evolved into technology support. After many years of providing technology support to teachers and students, the last ten years of my career, I was in a leadership position of Technology Coordinator and also Supervisor of Technology. My passion has always been helping people. I hope to continue helping people in my youtube community.

That being said, I have no association with Ubiquiti Networks, the makers of the Edge Router, nor am I being paid to make this video. I purchased my own Edge Router for use on my own home network.

Contact Tony at:
[email protected]

Follow me on:
Twitter @quiktechreview
Facebook @quiktechsolutionsllc

Hope you enjoyed this video.

Regards!!