L2TP Client: Ubiquiti Edgerouter: Difference between revisions

mNo edit summary
L2TP set up in the usual way via the config tree
 
[[File:Edgerouter-L2TP2.png|frameframeless]]
 
Add an SNAT rule so LAN clients can access
 
[[File:Edgerouter-L2TP3.png|frameframeless]]
 
You then need to edit the /etc/ppp/peers/l2tpc1 file and add the line "remotename xl2tpd" so it looks something like this
 
[[File:Edgerouter-L2TP4.png|frameframeless]]
 
Then run "sudo service xl2tpd restart" to re-establish the L2TP, it's important this is done via the cli otherwise EdgeOS overwrites this file and removes the line we just added.