Closed pedro-nonfree closed 4 years ago
I met this error upgrading my computer to Ubuntu 20.04, I tried compile from master and met the same problem. For now I just manually patch to disable the the max retries check. Everything seems to work despite the error.
I'm going to close this, as we are not experiencing problems anymore, I think we finally adjusted configuration in a better way
this is no longer for mikrotik, but we find it very good config in general
but yea, let me put here the configs in a fast way
/etc/xl2tpd/xl2tpd.conf
; general note: see debug output in /var/log/syslog
[global]
port = 1701
debug avp = no ; enable for debug
[lac exo]
lns = ip_l2tp_server_here
redial = yes
redial timeout = 5
autodial = yes
ppp debug = no ; enable for debug
pppoptfile = /etc/ppp/options.xl2tpd
/etc/ppp/chap-secrets
"targetuser" * "targetpwd" *
/etc/ppp/options.xl2tpd
# optional parameter only available through a custom patch from suse and copied in debian (thanks pespin) https://comp.protocols.ppp.narkive.com/E29wCWqW/unrecognizecd-option-replacedefaultroute
#replacedefaultroute
# "noauth" option is mandatory for accelppp (if not says "peer refused to authenticate")
# -> src https://serverfault.com/questions/418830/pppoe-connection-generic-error-rp-pppoe-child-pppd-process-terminated/419003#419003
noauth
# l2tp user
name "targetuser"
defaultroute
persist
maxfail 0
# Don't wait for LCP term responses; exit immediately when killed.
lcp-max-terminate 0
noproxyarp
mtu 1420
mru 1420
here is a more permanent link http://web.archive.org/web/20200822181242/https://gitlab.com/guifi-exo/wiki/-/blob/master/howto/l2tp-client-configuration/README.md
I would not like to interfere with #136 as it looks is useful for some people.
build
log
This is what I try move all traffic through the tunnel
configs
/etc/xl2tpd/xl2tpd.conf
/etc/ppp/options
extra details