L2TP VPN Configuration for Edgerouter Lite

L2TP VPN Configuration

set vpn l2tp remote-access client-ip-pool start 192.168.10.140
set vpn l2tp remote-access client-ip-pool stop 192.168.10.149
set vpn l2tp remote-access ipsec-settings authentication mode pre-shared-secret
set vpn l2tp remote-access ipsec-settings authentication pre-shared-secret “Secret”
set vpn l2tp remote-access authentication mode local
set vpn l2tp remote-access authentication local-users username test password test
set vpn l2tp remote-access mtu 1492
set vpn l2tp remote-access dns-servers server-1 192.168.10.1
set vpn l2tp remote-access dns-servers server-2 8.8.8.8
set vpn ipsec ipsec-interfaces interface eth0
set vpn ipsec nat-traversal enable
set vpn ipsec nat-networks allowed-network 0.0.0.0/0

Add a Comment

Your email address will not be published. Required fields are marked *