X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/180412078618672ce9966eef6a38b1db8e343c34..3c717546f26524f438aeadc7776b57579400f7cb:/pymin/services/ppp/templates/nameX?ds=inline diff --git a/pymin/services/ppp/templates/nameX b/pymin/services/ppp/templates/nameX index 10524ff..ee70cf1 100644 --- a/pymin/services/ppp/templates/nameX +++ b/pymin/services/ppp/templates/nameX @@ -1,7 +1,16 @@ +updetach % if conn.type != 'TUNNEL': name ${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 % else: pty "pptp ${conn.server} --nolaunchpppd" name ${conn.username}