L2TP Client: OpenWRT: Difference between revisions

(→‎top: clean up)
mNo edit summary
 
luci-proto-ppp - git-15.090.50849-576e235-1
 
You'll first need to create a static route for ALL the IPs for <code>l2tp.aa.net.uk</code> via your bulk interface (usually <code>wan</code>) in <code>/etc/config/network</code> -
 
config route
option interface 'wan'
option target '90.155.53.19'
 
'''And do the same for any other IP addresses that l2tp.aa.net.uk resolves to. Note that IPs may be added with or without warning.'''
 
Then add the tunnel to <code>/etc/config/network</code> - note that even though we enable it, the interface won't get an IPv6 address. Fear not, we can fix that in a minute.