]> git.llucax.com Git - software/pymin.git/blob - pymin/services/ppp/templates/nameX
Improve ProcessManager to manage registerable named services.
[software/pymin.git] / pymin / services / ppp / templates / nameX
1 updetach
2 % if conn.type != 'TUNNEL':
3 user ${conn.username}
4 file /etc/ppp/options.${conn.name}
5 ipparam ${conn.name}
6 # pppoe has a lower mtu/mru
7 mtu 1492
8 mru 1492
9 # switch off all compressions (this is a must)
10 nopcomp
11 # this is recommended
12 novjccomp
13 noccp
14 noauth
15 % else:
16 pty "pptp ${conn.server} --nolaunchpppd"
17 name ${conn.username}
18 remotename PPTP
19 require-mppe-128
20 file /etc/ppp/options.${conn.name}
21 ipparam ${conn.name}
22 % endif