Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

L2TP Client: Debian: Difference between revisions

fix syntaxhighlight
(syntax)
(fix syntaxhighlight)
 
===Introduction===
 
 
I recently moved [https://libreboot.org/ ]libreboot.org hosting to a much faster network than what it had before, but the new ISP doesn't assign static IPv4 or IPv6 subnets on the line, and it has all kinds of restrictions, though speed, uptime and latency are all excellent. I decided therefore to set up a tunnel connection using a&a's [https://www.aa.net.uk/broadband/l2tp-service/ L2TP tunnel service]. It's just like a regular VPN service, but specifically intended for people like me who need fixed IPs to host servers on. It's really very good, and my old hosting was done via one of their handline (VDSL) connections, but I decided I needed something faster via their L2TP service instead.
Place the following contents:
 
<syntaxhighlight lang=conf>
[lac aaisp]
lns = 90.155.53.19
NOTE: the <tt>name</tt> and <tt>password</tt> entries are your A&A login details for L2TP.
 
<syntaxhighlight lang=conf>
+ipv6
ipv6cp-use-ipaddr
The routes must be deleted, when the line goes down:
 
<syntaxhighlight lang=bahsbash>
#!/bin/bash
/bin/logger $1 is down
editor
698

edits