]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/ppp/templates/nameX
Merge or3st3s@azazel:/home/luca/repos/pymin
[software/pymin.git] / pymin / services / ppp / templates / nameX
index 17d38828c4966b10efedb18862e844790dd25a76..10524ff0ca90e6994d1172ae678456e503a6bff2 100644 (file)
@@ -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