X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/4e09cd1385fda2eb5bb3967ea8ce9f17916f3c7f..5d2a72486a8ef72659df813e1c0feed41da3a667:/pymin/services/ppp/templates/nameX?ds=sidebyside diff --git a/pymin/services/ppp/templates/nameX b/pymin/services/ppp/templates/nameX index 10524ff..0e9716e 100644 --- a/pymin/services/ppp/templates/nameX +++ b/pymin/services/ppp/templates/nameX @@ -1,7 +1,17 @@ +updetach % if conn.type != 'TUNNEL': -name ${conn.username} +user ${conn.username} file /etc/ppp/options.${conn.name} ipparam ${conn.name} +# pppoe has a lower mtu/mru +mtu 1492 +mru 1492 +# switch off all compressions (this is a must) +nopcomp +# this is recommended +novjccomp +noccp +noauth % else: pty "pptp ${conn.server} --nolaunchpppd" name ${conn.username}