L2TP Client: Linux: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
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> |
|||
[lac aaisp] |
|||
lns = l2tp.aaisp.net.uk |
lns = l2tp.aaisp.net.uk |
||
require authentication = no |
require authentication = no |
||
pppoptfile = /etc/ppp/options.aaisp |
pppoptfile = /etc/ppp/options.aaisp |
||
;redial = yes<br /> |
|||
;redial |
;redial = yes |
||
; |
;redial timeout = 15 |
||
;max redials = 9999 |
|||
;autodial = yes |
;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 |
ipv6cp-use-ipaddr |
||
name xyz@a.X |
name xyz@a.X |
||
password Your_xyz@A.X_password |
password Your_xyz@A.X_password |
||
| ⚫ | |||
noauth |
|||
| ⚫ | |||
<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 /> |
||