Created
September 14, 2016 02:15
-
-
Save phantomtypist/e5aaf5cb2b9637ef61f4a7413dde6e43 to your computer and use it in GitHub Desktop.
Example L2TP config for Ubiquiti EdgeRouter/USG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
l2tp { | |
remote-access { | |
authentication { | |
local-users { | |
username TheUserName { | |
password ThePassword | |
} | |
} | |
mode local | |
require mschap-v2 | |
} | |
client-ip-pool { | |
start 192.168.1.141 | |
stop 192.168.1.150 | |
} | |
dhcp-interface eth0 | |
dns-servers { | |
server-1 192.168.1.2 | |
server-2 192.168.1.3 | |
} | |
ipsec-settings { | |
authentication { | |
mode pre-shared-secret | |
pre-shared-secret TheSecretKey | |
} | |
ike-lifetime 3600 | |
} | |
mtu 1024 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment