Router:Linux - Debian - With L2TP Fallback: Difference between revisions
(Created page with "DSL lines are not perfect, and line resyncs are guaranteed to happen at the most inconvenient moment. Fortunately AAISP provide L2TP for subscriber...") |
(Added notes on security ssh) |
||
= Prerequsites =
* a Linux
* a ADSL or FTTC modem, or a fibre ONT (for FTTP) (as appropriate for your connection)
* an alternative path router of some type. In my case I am using a Huawei B315 4G router (With ethernet)
/sbin/ip -6 route del default dev ppp-aaisp-l2tp scope link
fi
=== Security ===
Your linux router will get the line /32 address, and sshd will listen on 0.0.0.0, hence will accept ssh connections from the internet. You'll find very quickly /var/log/auth.log fills with automated password attempts. I recommend altering /etc/ssh/sshd_config - either restrict it to binding on the internal IP only
ListenAddress 192.168.0.1
ListenAddress 2001:db8:0::1
or configure for ssh key authentication with no password fallback.
=== Finishing off ===
|