]> git.llucax.com Git - software/pymin.git/blob - pymin/services/ppp/templates/nameX
Move Device and Address to services.util and add ppp peer IPs.
[software/pymin.git] / pymin / services / ppp / templates / nameX
1 updetach
2 % if conn.type != 'TUNNEL':
3 name ${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 % else:
15 pty "pptp ${conn.server} --nolaunchpppd"
16 name ${conn.username}
17 remotename PPTP
18 require-mppe-128
19 file /etc/ppp/options.${conn.name}
20 ipparam ${conn.name}
21 % endif