L2TP over IPsec is a VPN technology which is often used to remote access and remote managmenet.
This is a guide to setup L2TP over IPsec in MOXA EDR-G9010
1. Create & assign VLAN
(1) Network Configuration > Layer 2 Switching > VLAN
(2) Settings
(3) Press "+"
(4) VID set to 2, then "CREATE"
(5) Scroll down, edit port
(1) Network Configuratation > Network Interfaces
(2) LAN Page
(3) Edit LAN
(1) Network Configuratation > Network Interfaces
(2) LAN Page
(3) Set VLAN ID to "2"
(4) Set Connection Type to "Static IP"
(5) Set IP Address, Netmask, and Gateway
(1) VPN > IPSec
(2) IPSec Settings
(3) Press "+" to add
(4) Click "Advanced Settings"
(5) Set Status to "Enabled", input Name, set L2TP Tunnel to "Enabled"
(6) In Key Exchange (Phase 1), set IKE Verstion to "IKE1" and set "Pre-shared Key"
(7) Global Settings(1) VPN > L2TP Server
(2) User Name Settings
(6) Set L2TP Server Mode to "Enabled", set Local IP, Offered IP Start / End, then "APPLY"
6. Setup VPN in Windows
(1) Add VPN connection as below
(2) Server name or address: EDR-G9010 WAN IP
(3) VPN type: L2TP/IPsec with pre-shared key
(4) Set Pre-shared key, should be the same as step.4(6)












