You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
404 B
17 lines
404 B
#!/usr/bin/env bash
|
|
|
|
SYSCTLCONFIG=/etc/sysctl.conf
|
|
IPSECCONFIG=/etc/ipsec.conf
|
|
XL2TPDCONFIG=/etc/xl2tpd/xl2tpd.conf
|
|
PPPCONFIG=/etc/ppp/options.xl2tpd
|
|
CHAPSECRETS=/etc/ppp/chap-secrets
|
|
IPTABLES=/etc/iptables.rules
|
|
RCLOCAL=/etc/rc.local
|
|
SECRETSFILE=/etc/ipsec.secrets
|
|
CHECKSERVER=/etc/xl2tpd/checkserver.sh
|
|
|
|
LOCALPREFIX="172.18"
|
|
LOCALIP="$LOCALPREFIX.0.0"
|
|
LOCALMASK="/24"
|
|
|
|
LOCALIPMASK="$LOCALIP$LOCALMASK"
|
|
|