X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/c8993fb7829ad17ea0936aa7cea2fceb8bcc8109..5f07be12f7bebdf0f9105a8302cb9aee3e906415:/pymin/services/ppp/templates/nameX?ds=sidebyside diff --git a/pymin/services/ppp/templates/nameX b/pymin/services/ppp/templates/nameX index 17d3882..0e9716e 100644 --- a/pymin/services/ppp/templates/nameX +++ b/pymin/services/ppp/templates/nameX @@ -1,3 +1,22 @@ +updetach +% if conn.type != 'TUNNEL': +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} +remotename PPTP +require-mppe-128 file /etc/ppp/options.${conn.name} -ipparam ${conn.name} \ No newline at end of file +ipparam ${conn.name} +% endif \ No newline at end of file