X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/c8993fb7829ad17ea0936aa7cea2fceb8bcc8109..908f8f27227d1b8f50b48be3a19da2ee1b013f41:/pymin/services/ppp/templates/nameX?ds=sidebyside diff --git a/pymin/services/ppp/templates/nameX b/pymin/services/ppp/templates/nameX index 17d3882..10524ff 100644 --- a/pymin/services/ppp/templates/nameX +++ b/pymin/services/ppp/templates/nameX @@ -1,3 +1,12 @@ +% if conn.type != 'TUNNEL': name ${conn.username} file /etc/ppp/options.${conn.name} -ipparam ${conn.name} \ No newline at end of file +ipparam ${conn.name} +% else: +pty "pptp ${conn.server} --nolaunchpppd" +name ${conn.username} +remotename PPTP +require-mppe-128 +file /etc/ppp/options.${conn.name} +ipparam ${conn.name} +% endif \ No newline at end of file