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} % endif