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: Linux: Difference between revisions

Content deleted Content added
TomJepp (talk | contribs)
No edit summary
TomJepp (talk | contribs)
Formatting clean up
 
Line 47: Line 47:
<li>Install xl2tpd and pppd on your Linux router.</li>
<li>Install xl2tpd and pppd on your Linux router.</li>
<li>Edit <code>/etc/xl2tpd/xl2tpd.conf</code> to contain the following (adjust to suit):<br />
<li>Edit <code>/etc/xl2tpd/xl2tpd.conf</code> to contain the following (adjust to suit):<br />
<pre>
<code>[lac aaisp]<br />
[lac aaisp]
lns = l2tp.aaisp.net.uk<br />
lns = l2tp.aaisp.net.uk
require authentication = no<br />
require authentication = no
pppoptfile = /etc/ppp/options.aaisp<br />
pppoptfile = /etc/ppp/options.aaisp
;redial = yes<br />
;redial timeout = 15<br />
;redial = yes
;max redials = 9999<br />
;redial timeout = 15
;max redials = 9999
;autodial = yes</code></li>
;autodial = yes
</pre>
<li>Create <code>/etc/ppp/options.aaisp</code> containing the following (obviously change the name and password to match your L2TP login details):<br />
<li>Create <code>/etc/ppp/options.aaisp</code> containing the following (obviously change the name and password to match your L2TP login details):<br />
<pre>
<code>+ipv6<br />
+ipv6
ipv6cp-use-ipaddr<br />
ipv6cp-use-ipaddr
name xyz@a.X<br />
name xyz@a.X
password Your_xyz@A.X_password<br />
password Your_xyz@A.X_password
noauth</code></li>
noauth
</pre></li>
<li>Create the xl2tpd control file:<br />
<li>Create the xl2tpd control file:<br />
<code>mkdir -p /var/run/xl2tpd<br />
<code>mkdir -p /var/run/xl2tpd<br />